Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove namespace warning #106

Open
holtgrewe opened this issue May 4, 2023 · 3 comments
Open

Remove namespace warning #106

holtgrewe opened this issue May 4, 2023 · 3 comments
Milestone

Comments

@holtgrewe
Copy link
Contributor

The following namespace warning occurs when running tests. One probably has to migrate to "new style namespaces". The matplotlib library has a similar issue albeit not resolved this yet.

============================================================================================================================== warnings summary ===============================================================================================================================
../../../../opt/miniconda3/envs/seqrepo/lib/python3.8/site-packages/pkg_resources/__init__.py:121
../../../../opt/miniconda3/envs/seqrepo/lib/python3.8/site-packages/pkg_resources/__init__.py:121
  /opt/miniconda3/envs/seqrepo/lib/python3.8/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
    warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

../../../../opt/miniconda3/envs/seqrepo/lib/python3.8/site-packages/biocommons/__init__.py:3
../../../../opt/miniconda3/envs/seqrepo/lib/python3.8/site-packages/biocommons/__init__.py:3
  /opt/miniconda3/envs/seqrepo/lib/python3.8/site-packages/biocommons/__init__.py:3: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('biocommons')`.
  Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
    pkg_resources.declare_namespace(__name__)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale Issue is stale and subject to automatic closing label Sep 18, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2023
@reece reece added stale closed Issue was closed automatically due to inactivity and removed stale closed Issue was closed automatically due to inactivity labels Nov 27, 2023
@reece reece added this to the 0.7 milestone Nov 27, 2023
@reece reece reopened this Nov 27, 2023
@reece reece removed the stale Issue is stale and subject to automatic closing label Nov 27, 2023
@jsstevenson jsstevenson added the bug Something isn't working label Jun 4, 2024
@jsstevenson
Copy link
Contributor

I believe this was fixed in #149. I'm going to remove the bug label which will allow stalebot to close this issue automatically after a while, but we can restore it if I'm wrong.

@jsstevenson jsstevenson removed the bug Something isn't working label Jul 25, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants