Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPI release? #183

Open
rly opened this issue Jan 17, 2025 · 0 comments
Open

PyPI release? #183

rly opened this issue Jan 17, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@rly
Copy link

rly commented Jan 17, 2025

Is your feature request related to a problem? Please describe.
I am using oaklib in a project and import oaklib results in:

tests/unit/test_term_set.py:17: in <module>
    import oaklib  # noqa: F401
../../../miniconda3/envs/temp2/lib/python3.12/site-packages/oaklib/__init__.py:11: in <module>
    from oaklib.selector import get_adapter, get_implementation_from_shorthand  # noqa:F401
../../../miniconda3/envs/temp2/lib/python3.12/site-packages/oaklib/selector.py:16: in <module>
    from oaklib.implementations import GildaImplementation
../../../miniconda3/envs/temp2/lib/python3.12/site-packages/oaklib/implementations/__init__.py:20: in <module>
    from oaklib.implementations.ncbi.ncbi_gene_implementation import NCBIGeneImplementation
../../../miniconda3/envs/temp2/lib/python3.12/site-packages/oaklib/implementations/ncbi/ncbi_gene_implementation.py:14: in <module>
    from oaklib.implementations.ncbi.eutils_implementation import EUtilsImplementation
../../../miniconda3/envs/temp2/lib/python3.12/site-packages/oaklib/implementations/ncbi/eutils_implementation.py:9: in <module>
    from eutils import Client
../../../miniconda3/envs/temp2/lib/python3.12/site-packages/eutils/__init__.py:4: in <module>
    import pkg_resources
../../../miniconda3/envs/temp2/lib/python3.12/site-packages/pkg_resources/__init__.py:98: in <module>
    warnings.warn(
E   DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html

This was fixed in #176 in April but has not yet been released. The last release of eutils, 0.6.0, was in 2019. There have been a few commits to this repo since then such as merging #176. Could you release a new version of eutils soon?

This is not a big deal, but we would like to not raise warnings in our library or its dependencies that may confuse end-users if possible. Thanks!

@rly rly added the enhancement New feature or request label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant