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

importlib-metadata dependency error #669

Closed
nailend opened this issue Feb 22, 2022 · 1 comment
Closed

importlib-metadata dependency error #669

nailend opened this issue Feb 22, 2022 · 1 comment
Assignees
Labels
🐛 bug Something isn't working

Comments

@nailend
Copy link
Contributor

nailend commented Feb 22, 2022

I just ran into a pip package dependency conflict and couldn't start airflow using the current CI-branch:

pkg_resources.DistributionNotFound: The 'importlib-metadata~=2.0; python_version < "3.9"' distribution was not found and is required by apache-airflow

I downgraded to importlib-metadata==2

Found existing installation: importlib-metadata 4.11.1
    Uninstalling importlib-metadata-4.11.1:
      Successfully uninstalled importlib-metadata-4.11.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
sphinx 4.4.0 requires importlib-metadata>=4.4; python_version < "3.10", but you have importlib-metadata 2.0.0 which is incompatible.
Successfully installed importlib-metadata-2.0.0

Which will probably end up in errors with sphinx but airflow starts again.

@nailend nailend added the 🐛 bug Something isn't working label Feb 22, 2022
@gnn gnn mentioned this issue Mar 9, 2022
6 tasks
@gnn gnn assigned gnn and nailend and unassigned gnn Mar 9, 2022
@gnn
Copy link
Collaborator

gnn commented Mar 9, 2022

PR #692 should fix this. Would you mind testing whether this is correct?

@nailend nailend closed this as completed Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants