Error installing dependencies using poetry
See original GitHub issueAfter cloning the project, I get the following error when when executing poetry install -E docs
:
❯ poetry install -E docs
Installing dependencies from lock file
SolverProblemError
Because mkdocstrings (0.14.0 git rev master) depends on mkdocs-autorefs (>=0.1,<0.2) which doesn't match any versions, mkdocstrings is forbidden.
So, because copier depends on mkdocstrings (0.14.0 git rev master), version solving failed.
at ~/.local/pipx/venvs/poetry/lib/python3.9/site-packages/poetry/puzzle/solver.py:241 in _solve
237│ packages = result.packages
238│ except OverrideNeeded as e:
239│ return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
240│ except SolveFailure as e:
→ 241│ raise SolverProblemError(e)
242│
243│ results = dict(
244│ depth_first_search(
245│ PackageNode(self._package, packages), aggregate_package_nodes
Steps to reproduce
- Clone the project fresh
- Go into the cloned project root and run
poetry install -E docs
orpoetry install
System Specs
- OS: macOS 11.2.1
- Poetry base Python interpreter: v3.9.1 (pyenv)
- Poetry version 1.1.4 (pipx)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Poetry build does not install build dependencies (affects both ...
If I install Cython globally but then activate the virtual env (which doesn't have Cython), then poetry install and poetry build still fail....
Read more >Poetry not installing the packages in the venv - Stack Overflow
I rename the lib/python3.9 to another name and I ran poetry install again. · So the dependencies were (re)installed in ~/.local/lib/python3. · Yes ......
Read more >History | Poetry - Python dependency management and ...
Fix an issue where a package from the wrong source was installed for a multiple-constraints dependency with different sources (#6747).
Read more >Dependency Management With Python Poetry
With the install command, Poetry checks your pyproject.toml file for dependencies then resolves and installs them. The resolving part is especially important ...
Read more >A Poetic Apology. Or Why Should You Use Poetry to Manage…
If you install these with your system's package manager (say for instance apt , yay or brew ) they will be installed at...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Everything is now released and resolvable 🙂
Hey @Yajo, sure, just one PR to merge in pytkdocs and I can release both mkdocstrings and pytkdocs 🙂