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

refactor code to avoid deprecated pkg_resources #954

Open
pvbouwel opened this issue Nov 29, 2024 · 0 comments
Open

refactor code to avoid deprecated pkg_resources #954

pvbouwel opened this issue Nov 29, 2024 · 0 comments

Comments

@pvbouwel
Copy link
Contributor

pkg_resources is used in multiple places:

  • openeogeotrellis/backend.py
  • openeogeotrellis/integrations/kubernetes.py

It is however deprecated so it would be better to move away from it. This can be done via a backwards compatible change.
Details on a possible migration path are available at https://importlib-resources.readthedocs.io/en/latest/migration.html#pkg-resources-resource-filename

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants