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

Conflicting dependencies #9

Closed
franva opened this issue May 22, 2021 · 3 comments · Fixed by #10
Closed

Conflicting dependencies #9

franva opened this issue May 22, 2021 · 3 comments · Fixed by #10

Comments

@franva
Copy link

franva commented May 22, 2021

The scikit-fmm just fixed a bug in it's latest version 2021.2.2
If you could like to see what's the bug there, here is the link:
scikit-fmm/scikit-fmm#49

So I updated my project requirements.txt to use its latest version, then conflict happened.
Here is the error message:

Deploying...
Successfully deployed changes
Updating dependencies...
  Downloading scikit-fmm-2021.2.2.tar.gz (419 kB)
Collecting scikit-image==0.18.1
  Downloading scikit_image-0.18.1-cp37-cp37m-manylinux1_x86_64.whl (29.2 MB)
Collecting scikit-mpe==0.2.2
  Downloading scikit_mpe-0.2.2-py3-none-any.whl (13 kB)
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of scikit-image to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of scikit-fmm to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install scikit-fmm==2021.2.2 and scikit-mpe==0.2.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested scikit-fmm==2021.2.2
    scikit-mpe 0.2.2 depends on scikit-fmm<2020.0.0 and >=2019.1.30

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Error: failed to update dependecies: error on one or more dependencies, no dependencies were added, see output for details

I'm deploying my project to Deta

The conflict is caused by:
The user requested scikit-fmm==2021.2.2
scikit-mpe 0.2.2 depends on scikit-fmm<2020.0.0 and >=2019.1.30

Could you please bump the dependency version to its latest 2021.2.2 for scikit-fmm?

thanks

@espdev
Copy link
Owner

espdev commented May 22, 2021

scikit-mpe 0.2.2 depends on scikit-fmm<2020.0.0 and >=2019.1.30

The current version of scikit-mpe is 0.2.3 and it depends on scikit-fmm = ">=2021.1.21,<2021.2"
Could you try to update scikit-mpe to the latest version?

@franva
Copy link
Author

franva commented May 23, 2021

hi @espdev

Thanks for your reply.

As you highlighted, the newer version scikit-mpe is 0.2.3 which is still require older version of fmm which is older than 2021.2

However, the bug in fmm was only fixed on the 2021.2.2.

@espdev
Copy link
Owner

espdev commented May 23, 2021

@franva

Please try: https://pypi.org/project/scikit-mpe/0.2.4/

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants