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

Update requirements.txt #379

Closed
wants to merge 1 commit into from
Closed

Update requirements.txt #379

wants to merge 1 commit into from

Conversation

MichaReiser
Copy link
Member

@MichaReiser MichaReiser commented Feb 5, 2024

Summary

Run just lock

Motivation

Running pip install locally fails with

ERROR: Cannot install -r requirements.txt (line 35) and lsprotocol==2023.0.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested lsprotocol==2023.0.1
    pygls 1.2.1 depends on lsprotocol==2023.0.0

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/topics/dependency-resolution/#dealing-with-dependency-conflicts
WARNING: There was an error checking the latest version of pip.
(.venv) 

(It doesn't matter if I use python 3.11 or 3.7)

The lspprotocol dependency was updated by Dependabot in #368

I don't know what I'm doing here is right (Python packaging is confusing...), but I feel like pip install should work 😆

Test Plan

Running pip install no longer fails

@MichaReiser MichaReiser marked this pull request as ready for review February 5, 2024 16:08
@MichaReiser
Copy link
Member Author

Okay I think I know what it is. CI and just install use pip install --no-deps... That solves the issue

@MichaReiser MichaReiser closed this Feb 5, 2024
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.

2 participants