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

Dependency mkdocs issues OSFV #790

Closed
DaniilKl opened this issue Apr 15, 2024 · 2 comments
Closed

Dependency mkdocs issues OSFV #790

DaniilKl opened this issue Apr 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@DaniilKl
Copy link
Contributor

Component

other

Device

other

Dasharo version

Dasharo Tools Suite version

Brief summary

mkdocs 1.5.3 requires pathspec>=0.11.1, but you have pathspec 0.9.0 which is incompatible

How reproducible

100%

How to reproduce

Run command:

pip install -r requirements.txt

On commit b48d554abd32bc0f1ba30a63bb71de27d617b941 in repository Dasharo/open-source-firmware-validation.

Expected behavior

All dependencies are installed.

Actual behavior

Dependency issues. After running the command:

pip install -r requirements.txt
(...)
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
mkdocs 1.5.3 requires pathspec>=0.11.1, but you have pathspec 0.9.0 which is incompatible.

When trying to install pathspec v0.11.1:

pip install pathspec==0.11.1
Collecting pathspec==0.11.1
  Downloading pathspec-0.11.1-py3-none-any.whl.metadata (18 kB)
Using cached pathspec-0.11.1-py3-none-any.whl (29 kB)
Installing collected packages: pathspec
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
robotframework-sherlock 0.3.0 requires pathspec==0.9.*, but you have pathspec 0.11.1 which is incompatible.
Successfully installed pathspec-0.11.1

So, there is two packages (mkdocs and robotframework-sherlock) which depend on the same package (pathspec) but on different versions, which make it impossible to use the packages simultaneously, because two versions of the same package cannot be installed.

Screenshots

No response

Additional context

No response

Solutions you've tried

No response

@DaniilKl DaniilKl added the bug Something isn't working label Apr 15, 2024
@mkopec
Copy link
Member

mkopec commented Apr 15, 2024

Hmm, are you using separate venvs for OSFV and docs? I just did

python3 -m virtualenv venv
source venv/bin/activate
pip install -r requirements.txt 

on b48d554abd32bc0f1ba30a63bb71de27d617b941 and it passed for me

@DaniilKl
Copy link
Contributor Author

DaniilKl commented Apr 15, 2024

Well, my bad then, I thought mkdocs is a part of OSFV requirements.txt. @mkopec, thanks for noticing 🤦‍♂️ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants