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

Mismatch dependencies with boto3 and botocore #120

Open
eunetch opened this issue Sep 11, 2024 · 0 comments
Open

Mismatch dependencies with boto3 and botocore #120

eunetch opened this issue Sep 11, 2024 · 0 comments

Comments

@eunetch
Copy link

eunetch commented Sep 11, 2024

Describe the bug
We currently leverage following dependencies in Pipfile

urllib3 = "==1.26.18"
boto3 =  "==1.26.116"
requests = "==2.32.2"

Unfortunately no version of ibm_cloud_networking_services is compatible with this. What's the recommendation?

To Reproduce
add above to pipfile

pipenv lock

Expected behavior
pipfile.lock generated successfully

Screenshots
na
Must gather (please complete the following information):

  • SDK Version 3.20.6
  • Python Version = 3.10
  • Name of service that you're trying to use (if applicable) - Direct Link
  • Name of operation that you're trying to invoke (if applicable)

Additional context
Add any other context about the problem here.
Were you able to avoid the problem by changing your application code slightly?

Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
Resolving dependencies...
✘ Locking Failed!

CRITICAL:pipenv.patched.pip._internal.resolution.resolvelib.factory:Could not find a version that satisfies the requirement ibm-cloud-networking-services==0.27.0 (from versions: 0.0.1, 0.0.2, 0.1.1, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.14.0, 0.17.1, 0.17.2, 0.18.0, 0.19.0, 0.20.0, 0.21.0, 0.21.1, 0.22.0, 0.22.1, 0.23.0, 0.23.1, 0.23.2, 0.24.0, 0.25.0)
[ResolutionFailure]:   File "/usr/local/lib/python3.10/site-packages/pipenv/resolver.py", line 704, in _main
[ResolutionFailure]:       resolve_packages(
[ResolutionFailure]:   File "/usr/local/lib/python3.10/site-packages/pipenv/resolver.py", line 662, in resolve_packages
[ResolutionFailure]:       results, resolver = resolve(
[ResolutionFailure]:   File "/usr/local/lib/python3.10/site-packages/pipenv/resolver.py", line 642, in resolve
[ResolutionFailure]:       return resolve_deps(
[ResolutionFailure]:   File "/usr/local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 1167, in resolve_deps
[ResolutionFailure]:       results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
[ResolutionFailure]:   File "/usr/local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 948, in actually_resolve_deps
[ResolutionFailure]:       resolver.resolve()
[ResolutionFailure]:   File "/usr/local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 690, in resolve
[ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv run pip install <requirement_name> to bypass this mechanism, then run $ pipenv graph to inspect the versions actually installed in the virtualenv.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: No matching distribution found for ibm-cloud-networking-services==0.27.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant