Skip to content

Suppress FutureWarnings from user output #214

@danyeaw

Description

@danyeaw

We are getting some FutureWarnings from the packaging library:

~/Downloads [1]$ conda pypi install a2ml                                                                                                   (/tmp/test2) 
Inspecting pypi and conda dependencies
PYPI index channels:
 - https://pypi.org/simple/
Conda channels:
 - file:///Users/dyeaw/Library/Application%20Support/conda-pypi
 - defaults
Converting required pypi packages: | /Users/dyeaw/miniconda3/lib/python3.13/site-packages/unearth/evaluator.py:223: FutureWarning: .* suffix can only be used with `==` or `!=` operators
  self.check_requires_python(link)                                                                                                                    failed

CondaPypiError: No wheel file available for liac-arff ==2.4.0. Only source distributions are available. conda-pypi requires wheel files for conversion.

We should suppress the warning so that it isn't visible to the user. This package also has an error that there is no wheel for one of its dependencies that of course does need to be displayed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions