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

Fix dependency resolution errors for basedmypy 2.6.0 and 2.7.0 #799

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

ymyzk
Copy link
Owner

@ymyzk ymyzk commented Dec 10, 2024

Description

Fix the dependency resolution error introduced in #774

  Downloading basedmypy-2.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.metadata (6.2 kB)
Collecting basedtyping==0.1.5 (from -r requirements.txt (line 9))
  Downloading basedtyping-0.1.5-py3-none-any.whl.metadata (487 bytes)
Collecting mypy-extensions==1.0.0 (from -r requirements.txt (line 11))
  Downloading mypy_extensions-1.0.0-py3-none-any.whl.metadata (1.1 kB)
Collecting typing-extensions==4.11.0 (from -r requirements.txt (line 13))
  Downloading typing_extensions-4.11.0-py3-none-any.whl.metadata (3.0 kB)
INFO: pip is looking at multiple versions of basedtyping to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 7), -r requirements.txt (line 9) and typing-extensions==4.11.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested typing-extensions==4.11.0
    basedmypy 2.6.0 depends on typing-extensions>=4.6.0
    basedtyping 0.1.5 depends on typing_extensions<5.0.0 and >=4.12.2

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

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts; Error ID: 656dd225.

Expected Behavior

Cloud Functions sandbox for basedmypy 2.6.0 and 2.7.0 will be deployed successfully.

@ymyzk ymyzk merged commit 414ad25 into master Dec 10, 2024
4 checks passed
@ymyzk ymyzk deleted the fix-basedmypy-2.6.0 branch December 10, 2024 14:59
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

Successfully merging this pull request may close these issues.

1 participant