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

Continuous dependency conflict with datapackage==1.5.1 #133

Closed
nailend opened this issue Sep 18, 2023 · 1 comment
Closed

Continuous dependency conflict with datapackage==1.5.1 #133

nailend opened this issue Sep 18, 2023 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@nailend
Copy link
Collaborator

nailend commented Sep 18, 2023

I uploaded the new release v0.0.4 to test-pypi to check the installation.
pip install -i https://test.pypi.org/simple/ oemof.tabular

Pip is now throwing the following ERROR and blocks the installation process.

ERROR: Cannot install oemof-tabular==0.0.0, oemof-tabular==0.0.1, oemof-tabular==0.0.3 and oemof-tabular==0.0.4 because these package versions have conflicting dependencies.

The conflict is caused by:
    oemof-tabular 0.0.4 depends on datapackage==1.5.1
    oemof-tabular 0.0.3 depends on datapackage==1.5.1
    oemof-tabular 0.0.1 depends on oemof==0.2.4.dev0
    oemof-tabular 0.0.0 depends on oemof

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

Apparently, this conflict did already exist in version 0.0.3.

This is the specific message for v0.0.4

> pip install -i https://test.pypi.org/simple/ oemof.tabular==0.0.4
Looking in indexes: https://test.pypi.org/simple/
Requirement already satisfied: oemof.tabular==0.0.4 in ./miniconda3/envs/oemof.tabular_v0.0.4_pypi-test/lib/python3.10/site-packages (0.0.4)
INFO: pip is looking at multiple versions of oemof-tabular to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement datapackage==1.5.1 (from oemof-tabular) (from versions: 0.6.0)
ERROR: No matching distribution found for datapackage==1.5.1

I will now check if the version of datapackage can be loosened.
@henhuy do you have any suggestions?

@nailend nailend added bug Something isn't working help wanted Extra attention is needed labels Sep 18, 2023
@nailend
Copy link
Collaborator Author

nailend commented Sep 18, 2023

This seems to be a test-pypi problem only as it tries to source all other package from test-pypi as well.

@nailend nailend closed this as completed Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant