python-poetry / python-poetry/poetry
poetry update --lock uses python version instead of python dependency
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).
- OS version and name: Ubuntu 20.04
- Poetry version: 1.1.13
- Link of a Gist with the contents of your pyproject.toml file: gist
Issue
I created a python 3.6 virtualenv and installed poetry 1.1.13. After activating the virtualenv, I ran the following commands:
poetry new test_pkg
cd test_pkg
I edited pyproject.toml to the contents in my gist and ran this:
$ poetry update -vvv --lock
Using virtualenv: /tmp/venv
Updating dependencies
Resolving dependencies...
1: fact: test-pkg is 0.1.0
1: derived: test-pkg
1: fact: test-pkg depends on pytest (^6.2)
1: fact: test-pkg depends on pylama (^7.7)
1: fact: test-pkg depends on pylint (^2.9)
1: fact: test-pkg depends on pytest-cov (^2.12)
1: fact: test-pkg depends on black (20.8b1)
1: fact: test-pkg depends on sphinx (^3.5)
1: fact: test-pkg depends on pytest (^6.2)
1: fact: test-pkg depends on pylama (^7.7)
1: fact: test-pkg depends on pylint (^2.9)
1: fact: test-pkg depends on pytest-cov (^2.12)
1: fact: test-pkg depends on black (20.8b1)
1: fact: test-pkg depends on sphinx (^3.5)
1: selecting test-pkg (0.1.0)
1: derived: sphinx (>=3.5,<4.0)
1: derived: black (==20.8b1)
1: derived: pytest-cov (>=2.12,<3.0)
1: derived: pylint (>=2.9,<3.0)
1: derived: pylama (>=7.7,<8.0)
1: derived: pytest (>=6.2,<7.0)
PyPI: 5 packages found for sphinx >=3.5,<4.0
PyPI: 1 packages found for black 20.8b1
PyPI: 2 packages found for pytest-cov >=2.12,<3.0
PyPI: No release information found for pylint-0.10.0, skipping
PyPI: No release information found for pylint-0.11.0, skipping
PyPI: No release information found for pylint-0.12.1, skipping
PyPI: No release information found for pylint-0.13.0, skipping
PyPI: No release information found for pylint-0.14.0, skipping
PyPI: No release information found for pylint-0.4.1, skipping
PyPI: No release information found for pylint-0.6.0, skipping
PyPI: No release information found for pylint-0.6.1, skipping
PyPI: No release information found for pylint-0.7.0, skipping
PyPI: No release information found for pylint-0.8.1, skipping
PyPI: 15 packages found for pylint >=2.9,<3.0
PyPI: 2 packages found for pylama >=7.7,<8.0
PyPI: 6 packages found for pytest >=6.2,<7.0
1: fact: black (20.8b1) depends on click (>=7.1.2)
1: fact: black (20.8b1) depends on appdirs (*)
1: fact: black (20.8b1) depends on toml (>=0.10.1)
1: fact: black (20.8b1) depends on typed-ast (>=1.4.0)
1: fact: black (20.8b1) depends on regex (>=2020.1.8)
1: fact: black (20.8b1) depends on pathspec (>=0.6,<1)
1: fact: black (20.8b1) depends on typing-extensions (>=3.7.4)
1: fact: black (20.8b1) depends on mypy-extensions (>=0.4.3)
1: selecting black (20.8b1)
1: derived: mypy-extensions (>=0.4.3)
1: derived: typing-extensions (>=3.7.4)
1: derived: pathspec (>=0.6,<1)
1: derived: regex (>=2020.1.8)
1: derived: typed-ast (>=1.4.0)
1: derived: toml (>=0.10.1)
1: derived: appdirs
1: derived: click (>=7.1.2)
PyPI: 1 packages found for mypy-extensions >=0.4.3
PyPI: 9 packages found for typing-extensions >=3.7.4
PyPI: 5 packages found for pathspec >=0.6,<1
PyPI: 37 packages found for regex >=2020.1.8
PyPI: 7 packages found for typed-ast >=1.4.0
PyPI: 2 packages found for toml >=0.10.1
PyPI: 8 packages found for appdirs *
PyPI: 5 packages found for click >=7.1.2
1: selecting mypy-extensions (0.4.3)
1: fact: pytest-cov (2.12.1) depends on pytest (>=4.6)
1: fact: pytest-cov (2.12.1) depends on coverage (>=5.2.1)
1: fact: pytest-cov (2.12.1) depends on toml (*)
1: selecting pytest-cov (2.12.1)
1: derived: coverage (>=5.2.1)
PyPI: No release information found for coverage-2.5, skipping
PyPI: No release information found for coverage-2.6, skipping
PyPI: No release information found for coverage-2.75, skipping
PyPI: No release information found for coverage-2.76, skipping
PyPI: No release information found for coverage-2.77, skipping
PyPI: No release information found for coverage-2.78, skipping
PyPI: No release information found for coverage-2.8, skipping
PyPI: No release information found for coverage-2.80, skipping
PyPI: No release information found for coverage-2.85, skipping
PyPI: 14 packages found for coverage >=5.2.1
1: fact: pylama (7.7.1) depends on mccabe (>=0.5.2)
1: fact: pylama (7.7.1) depends on pycodestyle (>=2.3.1)
1: fact: pylama (7.7.1) depends on pydocstyle (>=2.0.0)
1: fact: pylama (7.7.1) depends on pyflakes (>=1.5.0)
1: selecting pylama (7.7.1)
1: derived: pyflakes (>=1.5.0)
1: derived: pydocstyle (>=2.0.0)
1: derived: pycodestyle (>=2.3.1)
1: derived: mccabe (>=0.5.2)
PyPI: No release information found for pyflakes-0.2.0, skipping
PyPI: No release information found for pyflakes-0.2.1, skipping
PyPI: 9 packages found for pyflakes >=1.5.0
PyPI: No release information found for pydocstyle-0.0, skipping
PyPI: 14 packages found for pydocstyle >=2.0.0
PyPI: No release information found for pycodestyle-0.0.0, skipping
PyPI: 6 packages found for pycodestyle >=2.3.1
PyPI: No release information found for mccabe-0.0.0, skipping
PyPI: 5 packages found for mccabe >=0.5.2
1: selecting toml (0.10.2)
1: fact: sphinx (3.5.4) depends on sphinxcontrib-applehelp (*)
1: fact: sphinx (3.5.4) depends on sphinxcontrib-devhelp (*)
1: fact: sphinx (3.5.4) depends on sphinxcontrib-jsmath (*)
1: fact: sphinx (3.5.4) depends on sphinxcontrib-htmlhelp (*)
1: fact: sphinx (3.5.4) depends on sphinxcontrib-serializinghtml (*)
1: fact: sphinx (3.5.4) depends on sphinxcontrib-qthelp (*)
1: fact: sphinx (3.5.4) depends on Jinja2 (>=2.3)
1: fact: sphinx (3.5.4) depends on Pygments (>=2.0)
1: fact: sphinx (3.5.4) depends on docutils (>=0.12,<0.17)
1: fact: sphinx (3.5.4) depends on snowballstemmer (>=1.1)
1: fact: sphinx (3.5.4) depends on babel (>=1.3)
1: fact: sphinx (3.5.4) depends on alabaster (>=0.7,<0.8)
1: fact: sphinx (3.5.4) depends on imagesize (*)
1: fact: sphinx (3.5.4) depends on requests (>=2.5.0)
1: fact: sphinx (3.5.4) depends on packaging (*)
1: fact: sphinx (3.5.4) depends on colorama (>=0.3.5)
1: selecting sphinx (3.5.4)
1: derived: colorama (>=0.3.5)
1: derived: packaging
1: derived: requests (>=2.5.0)
1: derived: imagesize
1: derived: alabaster (>=0.7,<0.8)
1: derived: babel (>=1.3)
1: derived: snowballstemmer (>=1.1)
1: derived: docutils (>=0.12,<0.17)
1: derived: Pygments (>=2.0)
1: derived: Jinja2 (>=2.3)
1: derived: sphinxcontrib-qthelp
1: derived: sphinxcontrib-serializinghtml
1: derived: sphinxcontrib-htmlhelp
1: derived: sphinxcontrib-jsmath
1: derived: sphinxcontrib-devhelp
1: derived: sphinxcontrib-applehelp
PyPI: 10 packages found for colorama >=0.3.5
PyPI: 39 packages found for packaging *
PyPI: No release information found for requests-0.0.1, skipping
PyPI: No release information found for requests-0.12.01, skipping
PyPI: No release information found for requests-2.15.0, skipping
PyPI: 55 packages found for requests >=2.5.0
PyPI: 8 packages found for imagesize *
PyPI: No release information found for alabaster-0.0.1, skipping
PyPI: 12 packages found for alabaster >=0.7,<0.8
PyPI: No release information found for babel-0.8, skipping
PyPI: No release information found for babel-0.8.1, skipping
PyPI: No release information found for babel-0.9, skipping
PyPI: No release information found for babel-0.9.1, skipping
PyPI: No release information found for babel-0.9.2, skipping
PyPI: No release information found for babel-0.9.3, skipping
PyPI: No release information found for babel-0.9.4, skipping
PyPI: No release information found for babel-0.9.5, skipping
PyPI: 20 packages found for babel >=1.3
PyPI: 8 packages found for snowballstemmer >=1.1
PyPI: 7 packages found for docutils >=0.12,<0.17
PyPI: 29 packages found for pygments >=2.0
PyPI: 36 packages found for jinja2 >=2.3
PyPI: 4 packages found for sphinxcontrib-qthelp *
PyPI: 6 packages found for sphinxcontrib-serializinghtml *
PyPI: 5 packages found for sphinxcontrib-htmlhelp *
PyPI: 2 packages found for sphinxcontrib-jsmath *
PyPI: 3 packages found for sphinxcontrib-devhelp *
PyPI: 3 packages found for sphinxcontrib-applehelp *
1: selecting sphinxcontrib-jsmath (1.0.1)
1: selecting sphinxcontrib-devhelp (1.0.2)
1: selecting sphinxcontrib-applehelp (1.0.2)
1: selecting sphinxcontrib-qthelp (1.0.3)
1: selecting pathspec (0.9.0)
1: fact: click (8.0.3) depends on colorama (*)
1: selecting click (8.0.3)
1: selecting mccabe (0.7.0)
1: selecting sphinxcontrib-htmlhelp (2.0.0)
1: fact: pytest (6.2.5) depends on attrs (>=19.2.0)
1: fact: pytest (6.2.5) depends on iniconfig (*)
1: fact: pytest (6.2.5) depends on packaging (*)
1: fact: pytest (6.2.5) depends on pluggy (>=0.12,<2.0)
1: fact: pytest (6.2.5) depends on py (>=1.8.2)
1: fact: pytest (6.2.5) depends on toml (*)
1: fact: pytest (6.2.5) depends on atomicwrites (>=1.0)
1: fact: pytest (6.2.5) depends on colorama (*)
1: selecting pytest (6.2.5)
1: derived: atomicwrites (>=1.0)
1: derived: py (>=1.8.2)
1: derived: pluggy (>=0.12,<2.0)
1: derived: iniconfig
1: derived: attrs (>=19.2.0)
PyPI: 7 packages found for atomicwrites >=1.0
PyPI: No release information found for py-0.8.0-alpha2, skipping
PyPI: No release information found for py-0.9.0, skipping
PyPI: No release information found for py-1.4.32.dev1, skipping
PyPI: 4 packages found for py >=1.8.2
PyPI: 4 packages found for pluggy >=0.12,<2.0
PyPI: No release information found for iniconfig-0.0, skipping
PyPI: 5 packages found for iniconfig *
PyPI: 9 packages found for attrs >=19.2.0
1: selecting py (1.11.0)
1: selecting pluggy (1.0.0)
1: selecting iniconfig (1.1.1)
1: selecting pycodestyle (2.8.0)
1: selecting sphinxcontrib-serializinghtml (1.1.5)
1: selecting typed-ast (1.5.2)
1: selecting docutils (0.16)
1: selecting appdirs (1.4.4)
1: selecting imagesize (1.3.0)
1: selecting snowballstemmer (2.2.0)
1: selecting typing-extensions (4.0.1)
1: selecting pyflakes (2.4.0)
1: selecting attrs (21.4.0)
1: selecting alabaster (0.7.12)
1: selecting coverage (6.3.1)
1: fact: pydocstyle (6.1.1) depends on snowballstemmer (*)
1: selecting pydocstyle (6.1.1)
1: fact: pylint (2.12.2) depends on platformdirs (>=2.2.0)
1: fact: pylint (2.12.2) depends on astroid (>=2.9.0,<2.10)
1: fact: pylint (2.12.2) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.12.2) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.12.2) depends on toml (>=0.9.2)
1: fact: pylint (2.12.2) depends on typing-extensions (>=3.10.0)
1: fact: pylint (2.12.2) depends on colorama (*)
1: derived: not pylint (==2.12.2)
1: fact: pylint (2.12.1) depends on platformdirs (>=2.2.0)
1: fact: pylint (2.12.1) depends on astroid (>=2.9.0,<2.10)
1: fact: pylint (2.12.1) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.12.1) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.12.1) depends on toml (>=0.9.2)
1: fact: pylint (2.12.1) depends on typing-extensions (>=3.10.0)
1: fact: pylint (2.12.1) depends on colorama (*)
1: derived: not pylint (==2.12.1)
1: fact: pylint (2.12.0) depends on platformdirs (>=2.2.0)
1: fact: pylint (2.12.0) depends on astroid (>=2.9.0,<2.10)
1: fact: pylint (2.12.0) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.12.0) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.12.0) depends on toml (>=0.9.2)
1: fact: pylint (2.12.0) depends on typing-extensions (>=3.10.0)
1: fact: pylint (2.12.0) depends on colorama (*)
1: derived: not pylint (==2.12.0)
1: fact: pylint (2.11.1) depends on platformdirs (>=2.2.0)
1: fact: pylint (2.11.1) depends on astroid (>=2.8.0,<2.9)
1: fact: pylint (2.11.1) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.11.1) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.11.1) depends on toml (>=0.7.1)
1: fact: pylint (2.11.1) depends on typing-extensions (>=3.10.0)
1: fact: pylint (2.11.1) depends on colorama (*)
1: derived: not pylint (==2.11.1)
1: fact: pylint (2.11.0) depends on platformdirs (>=2.2.0)
1: fact: pylint (2.11.0) depends on astroid (>=2.8.0,<2.9)
1: fact: pylint (2.11.0) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.11.0) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.11.0) depends on toml (>=0.7.1)
1: fact: pylint (2.11.0) depends on typing-extensions (>=3.10.0)
1: fact: pylint (2.11.0) depends on colorama (*)
1: derived: not pylint (==2.11.0)
1: fact: pylint (2.10.2) depends on platformdirs (>=2.2.0)
1: fact: pylint (2.10.2) depends on astroid (>=2.7.2,<2.8)
1: fact: pylint (2.10.2) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.10.2) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.10.2) depends on toml (>=0.7.1)
1: fact: pylint (2.10.2) depends on colorama (*)
1: derived: not pylint (==2.10.2)
1: fact: pylint (2.10.1) depends on appdirs (>=1.4.0)
1: fact: pylint (2.10.1) depends on astroid (>=2.7.2,<2.8)
1: fact: pylint (2.10.1) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.10.1) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.10.1) depends on toml (>=0.7.1)
1: fact: pylint (2.10.1) depends on colorama (*)
1: derived: not pylint (==2.10.1)
1: fact: pylint (2.10.0) depends on appdirs (>=1.4.0)
1: fact: pylint (2.10.0) depends on astroid (>=2.7.2,<2.8)
1: fact: pylint (2.10.0) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.10.0) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.10.0) depends on toml (>=0.7.1)
1: fact: pylint (2.10.0) depends on colorama (*)
1: derived: not pylint (==2.10.0)
1: fact: pylint (2.9.6) depends on astroid (>=2.6.5,<2.7)
1: fact: pylint (2.9.6) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.9.6) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.9.6) depends on toml (>=0.7.1)
1: fact: pylint (2.9.6) depends on colorama (*)
1: derived: not pylint (==2.9.6)
1: fact: pylint (2.9.5) depends on astroid (>=2.6.5,<2.7)
1: fact: pylint (2.9.5) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.9.5) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.9.5) depends on toml (>=0.7.1)
1: fact: pylint (2.9.5) depends on colorama (*)
1: derived: not pylint (==2.9.5)
1: fact: pylint (2.9.4) depends on astroid (>=2.6.4,<2.7)
1: fact: pylint (2.9.4) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.9.4) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.9.4) depends on toml (>=0.7.1)
1: fact: pylint (2.9.4) depends on colorama (*)
1: derived: not pylint (==2.9.4)
1: fact: pylint (2.9.3) depends on astroid (>=2.6.2,<2.7)
1: fact: pylint (2.9.3) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.9.3) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.9.3) depends on toml (>=0.7.1)
1: fact: pylint (2.9.3) depends on colorama (*)
1: derived: not pylint (==2.9.3)
1: fact: pylint (2.9.2) depends on astroid (>=2.6.2,<2.7)
1: fact: pylint (2.9.2) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.9.2) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.9.2) depends on toml (>=0.7.1)
1: fact: pylint (2.9.2) depends on colorama (*)
1: derived: not pylint (==2.9.2)
1: fact: pylint (2.9.1) depends on astroid (>=2.6.2,<2.7)
1: fact: pylint (2.9.1) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.9.1) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.9.1) depends on toml (>=0.7.1)
1: fact: pylint (2.9.1) depends on colorama (*)
1: derived: not pylint (==2.9.1)
1: fact: pylint (2.9.0) depends on astroid (>=2.6.1,<2.7)
1: fact: pylint (2.9.0) depends on isort (>=4.2.5,<6)
1: fact: pylint (2.9.0) depends on mccabe (>=0.6,<0.7)
1: fact: pylint (2.9.0) depends on toml (>=0.7.1)
1: fact: pylint (2.9.0) depends on colorama (*)
1: derived: not pylint (==2.9.0)
1: fact: no versions of pylint match >2.9,<2.9.1 || >2.9.1,<2.9.2 || >2.9.2,<2.9.3 || >2.9.3,<2.9.4 || >2.9.4,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0
1: conflict: no versions of pylint match >2.9,<2.9.1 || >2.9.1,<2.9.2 || >2.9.2,<2.9.3 || >2.9.3,<2.9.4 || >2.9.4,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0
1: ! pylint (>2.9,<2.9.1 || >2.9.1,<2.9.2 || >2.9.2,<2.9.3 || >2.9.3,<2.9.4 || >2.9.4,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.9.0)
1: ! which is caused by "pylint (2.9.0) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.9.1 || >2.9.1,<2.9.2 || >2.9.2,<2.9.3 || >2.9.3,<2.9.4 || >2.9.4,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.9.1 || >2.9.1,<2.9.2 || >2.9.2,<2.9.3 || >2.9.3,<2.9.4 || >2.9.4,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.9.1)
1: ! which is caused by "pylint (2.9.1) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.9.2 || >2.9.2,<2.9.3 || >2.9.3,<2.9.4 || >2.9.4,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.9.2 || >2.9.2,<2.9.3 || >2.9.3,<2.9.4 || >2.9.4,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.9.2)
1: ! which is caused by "pylint (2.9.2) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.9.3 || >2.9.3,<2.9.4 || >2.9.4,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.9.3 || >2.9.3,<2.9.4 || >2.9.4,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.9.3)
1: ! which is caused by "pylint (2.9.3) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.9.4 || >2.9.4,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.9.4 || >2.9.4,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.9.4)
1: ! which is caused by "pylint (2.9.4) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.9.5 || >2.9.5,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.9.5)
1: ! which is caused by "pylint (2.9.5) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.9.6 || >2.9.6,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.9.6)
1: ! which is caused by "pylint (2.9.6) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.10.0 || >2.10.0,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.10.0)
1: ! which is caused by "pylint (2.10.0) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.10.1 || >2.10.1,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.10.1)
1: ! which is caused by "pylint (2.10.1) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.10.2 || >2.10.2,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.10.2)
1: ! which is caused by "pylint (2.10.2) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.11.0 || >2.11.0,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.11.0)
1: ! which is caused by "pylint (2.11.0) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.11.1 || >2.11.1,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.11.1)
1: ! which is caused by "pylint (2.11.1) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.12.0 || >2.12.0,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.12.0)
1: ! which is caused by "pylint (2.12.0) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: ! pylint (>=2.9,<2.12.1 || >2.12.1,<2.12.2 || >2.12.2,<3.0) is partially satisfied by not pylint (2.12.1)
1: ! which is caused by "pylint (2.12.1) depends on mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: fact: pylint (>=2.9,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)
1: derived: not pylint (>=2.9,!=2.12.2,<3.0)
1: derived: typing-extensions (>=3.10.0)
1: conflict: pylint (2.12.2) depends on mccabe (>=0.6,<0.7)
1: ! pylint (2.12.2) is partially satisfied by not pylint (>=2.9,<2.12.2 || >2.12.2,<3.0)
1: ! which is caused by "pylint (>=2.9,<2.12.2 || >2.12.2,<3.0) requires mccabe (>=0.6,<0.7)"
1: ! thus: pylint (>=2.9,<3.0) requires mccabe (>=0.6,<0.7)
1: fact: pylint (>=2.9,<3.0) requires mccabe (>=0.6,<0.7)
1: derived: mccabe (>=0.6,<0.7)
1: fact: black (20.8b1) depends on click (>=7.1.2)
1: fact: black (20.8b1) depends on appdirs (*)
1: fact: black (20.8b1) depends on toml (>=0.10.1)
1: fact: black (20.8b1) depends on typed-ast (>=1.4.0)
1: fact: black (20.8b1) depends on regex (>=2020.1.8)
1: fact: black (20.8b1) depends on pathspec (>=0.6,<1)
1: fact: black (20.8b1) depends on typing-extensions (>=3.7.4)
1: fact: black (20.8b1) depends on mypy-extensions (>=0.4.3)
2: selecting black (20.8b1)
2: derived: mypy-extensions (>=0.4.3)
2: derived: typing-extensions (>=3.7.4)
2: derived: pathspec (>=0.6,<1)
2: derived: regex (>=2020.1.8)
2: derived: typed-ast (>=1.4.0)
2: derived: toml (>=0.10.1)
2: derived: appdirs
2: derived: click (>=7.1.2)
2: selecting mypy-extensions (0.4.3)
2: fact: pytest-cov (2.12.1) depends on pytest (>=4.6)
2: fact: pytest-cov (2.12.1) depends on coverage (>=5.2.1)
2: fact: pytest-cov (2.12.1) depends on toml (*)
2: selecting pytest-cov (2.12.1)
2: derived: coverage (>=5.2.1)
2: fact: pylama (7.7.1) depends on mccabe (>=0.5.2)
2: fact: pylama (7.7.1) depends on pycodestyle (>=2.3.1)
2: fact: pylama (7.7.1) depends on pydocstyle (>=2.0.0)
2: fact: pylama (7.7.1) depends on pyflakes (>=1.5.0)
2: selecting pylama (7.7.1)
2: derived: pyflakes (>=1.5.0)
2: derived: pydocstyle (>=2.0.0)
2: derived: pycodestyle (>=2.3.1)
2: selecting mccabe (0.6.1)
2: selecting toml (0.10.2)
2: fact: sphinx (3.5.4) depends on sphinxcontrib-applehelp (*)
2: fact: sphinx (3.5.4) depends on sphinxcontrib-devhelp (*)
2: fact: sphinx (3.5.4) depends on sphinxcontrib-jsmath (*)
2: fact: sphinx (3.5.4) depends on sphinxcontrib-htmlhelp (*)
2: fact: sphinx (3.5.4) depends on sphinxcontrib-serializinghtml (*)
2: fact: sphinx (3.5.4) depends on sphinxcontrib-qthelp (*)
2: fact: sphinx (3.5.4) depends on Jinja2 (>=2.3)
2: fact: sphinx (3.5.4) depends on Pygments (>=2.0)
2: fact: sphinx (3.5.4) depends on docutils (>=0.12,<0.17)
2: fact: sphinx (3.5.4) depends on snowballstemmer (>=1.1)
2: fact: sphinx (3.5.4) depends on babel (>=1.3)
2: fact: sphinx (3.5.4) depends on alabaster (>=0.7,<0.8)
2: fact: sphinx (3.5.4) depends on imagesize (*)
2: fact: sphinx (3.5.4) depends on requests (>=2.5.0)
2: fact: sphinx (3.5.4) depends on packaging (*)
2: fact: sphinx (3.5.4) depends on colorama (>=0.3.5)
2: selecting sphinx (3.5.4)
2: derived: colorama (>=0.3.5)
2: derived: packaging
2: derived: requests (>=2.5.0)
2: derived: imagesize
2: derived: alabaster (>=0.7,<0.8)
2: derived: babel (>=1.3)
2: derived: snowballstemmer (>=1.1)
2: derived: docutils (>=0.12,<0.17)
2: derived: Pygments (>=2.0)
2: derived: Jinja2 (>=2.3)
2: derived: sphinxcontrib-qthelp
2: derived: sphinxcontrib-serializinghtml
2: derived: sphinxcontrib-htmlhelp
2: derived: sphinxcontrib-jsmath
2: derived: sphinxcontrib-devhelp
2: derived: sphinxcontrib-applehelp
2: selecting sphinxcontrib-jsmath (1.0.1)
2: selecting sphinxcontrib-devhelp (1.0.2)
2: selecting sphinxcontrib-applehelp (1.0.2)
2: selecting sphinxcontrib-qthelp (1.0.3)
2: selecting pathspec (0.9.0)
2: fact: click (8.0.3) depends on colorama (*)
2: selecting click (8.0.3)
2: selecting sphinxcontrib-htmlhelp (2.0.0)
2: fact: pytest (6.2.5) depends on attrs (>=19.2.0)
2: fact: pytest (6.2.5) depends on iniconfig (*)
2: fact: pytest (6.2.5) depends on packaging (*)
2: fact: pytest (6.2.5) depends on pluggy (>=0.12,<2.0)
2: fact: pytest (6.2.5) depends on py (>=1.8.2)
2: fact: pytest (6.2.5) depends on toml (*)
2: fact: pytest (6.2.5) depends on atomicwrites (>=1.0)
2: fact: pytest (6.2.5) depends on colorama (*)
2: selecting pytest (6.2.5)
2: derived: atomicwrites (>=1.0)
2: derived: py (>=1.8.2)
2: derived: pluggy (>=0.12,<2.0)
2: derived: iniconfig
2: derived: attrs (>=19.2.0)
2: selecting py (1.11.0)
2: selecting pluggy (1.0.0)
2: selecting iniconfig (1.1.1)
2: selecting pycodestyle (2.8.0)
2: selecting sphinxcontrib-serializinghtml (1.1.5)
2: selecting typed-ast (1.5.2)
2: selecting docutils (0.16)
2: selecting appdirs (1.4.4)
2: selecting imagesize (1.3.0)
2: selecting snowballstemmer (2.2.0)
2: selecting typing-extensions (4.0.1)
2: selecting pyflakes (2.4.0)
2: selecting attrs (21.4.0)
2: selecting alabaster (0.7.12)
2: selecting coverage (6.3.1)
2: fact: pydocstyle (6.1.1) depends on snowballstemmer (*)
2: selecting pydocstyle (6.1.1)
2: fact: pylint (2.12.2) depends on platformdirs (>=2.2.0)
2: fact: pylint (2.12.2) depends on astroid (>=2.9.0,<2.10)
2: fact: pylint (2.12.2) depends on isort (>=4.2.5,<6)
2: fact: pylint (2.12.2) depends on mccabe (>=0.6,<0.7)
2: fact: pylint (2.12.2) depends on toml (>=0.9.2)
2: fact: pylint (2.12.2) depends on typing-extensions (>=3.10.0)
2: fact: pylint (2.12.2) depends on colorama (*)
2: selecting pylint (2.12.2)
2: derived: isort (>=4.2.5,<6)
2: derived: astroid (>=2.9.0,<2.10)
2: derived: platformdirs (>=2.2.0)
PyPI: 73 packages found for isort >=4.2.5,<6
PyPI: 4 packages found for astroid >=2.9.0,<2.10
PyPI: 5 packages found for platformdirs >=2.2.0
2: fact: astroid (2.9.3) depends on lazy-object-proxy (>=1.4.0)
2: fact: astroid (2.9.3) depends on wrapt (>=1.11,<1.14)
2: fact: astroid (2.9.3) depends on typing-extensions (>=3.10)
2: selecting astroid (2.9.3)
2: derived: wrapt (>=1.11,<1.14)
2: derived: lazy-object-proxy (>=1.4.0)
PyPI: No release information found for wrapt-0.0.0, skipping
PyPI: No release information found for wrapt-1.10.3, skipping
PyPI: 9 packages found for wrapt >=1.11,<1.14
PyPI: No release information found for lazy-object-proxy-0.0.1, skipping
PyPI: 10 packages found for lazy-object-proxy >=1.4.0
2: selecting platformdirs (2.5.0)
2: selecting wrapt (1.13.3)
2: selecting lazy-object-proxy (1.7.1)
2: fact: babel (2.9.1) depends on pytz (>=2015.7)
2: selecting babel (2.9.1)
2: derived: pytz (>=2015.7)
PyPI: 25 packages found for pytz >=2015.7
2: selecting pytz (2021.3)
2: selecting pygments (2.11.2)
2: fact: jinja2 (3.0.3) depends on MarkupSafe (>=2.0)
2: selecting jinja2 (3.0.3)
2: derived: MarkupSafe (>=2.0)
PyPI: 2 packages found for markupsafe >=2.0
2: selecting markupsafe (2.0.1)
2: selecting regex (2022.1.18)
2: fact: packaging (21.3) depends on pyparsing (>=2.0.2,<3.0.5 || >3.0.5)
2: selecting packaging (21.3)
2: derived: pyparsing (>=2.0.2,!=3.0.5)
PyPI: No release information found for pyparsing-1.1.2, skipping
PyPI: No release information found for pyparsing-1.2, skipping
PyPI: No release information found for pyparsing-1.3.3, skipping
PyPI: 37 packages found for pyparsing >=2.0.2,<3.0.5 || >3.0.5
2: selecting pyparsing (3.0.7)
2: fact: requests (2.27.1) depends on urllib3 (>=1.21.1,<1.27)
2: fact: requests (2.27.1) depends on certifi (>=2017.4.17)
2: fact: requests (2.27.1) depends on charset-normalizer (>=2.0.0,<2.1.0)
2: fact: requests (2.27.1) depends on idna (>=2.5,<4)
2: selecting requests (2.27.1)
2: derived: idna (>=2.5,<4)
2: derived: charset-normalizer (>=2.0.0,<2.1.0)
2: derived: certifi (>=2017.4.17)
2: derived: urllib3 (>=1.21.1,<1.27)
PyPI: No release information found for idna-0.1, skipping
PyPI: 10 packages found for idna >=2.5,<4
PyPI: 13 packages found for charset-normalizer >=2.0.0,<2.1.0
PyPI: No release information found for certifi-0, skipping
PyPI: 22 packages found for certifi >=2017.4.17
PyPI: No release information found for urllib3-0.3, skipping
PyPI: No release information found for urllib3-0.3.1, skipping
PyPI: No release information found for urllib3-0.4.0, skipping
PyPI: No release information found for urllib3-0.4.1, skipping
PyPI: 28 packages found for urllib3 >=1.21.1,<1.27
2: selecting certifi (2021.10.8)
2: selecting urllib3 (1.26.8)
2: selecting isort (5.10.1)
2: selecting atomicwrites (1.4.0)
2: selecting colorama (0.4.4)
2: selecting idna (3.3)
2: selecting charset-normalizer (2.0.12)
2: Version solving took 1.889 seconds.
2: Tried 2 solutions.
Writing lock file
Finding the necessary packages for the current system
Stack trace:
8 /tmp/venv/lib/python3.6/site-packages/clikit/console_application.py:131 in run
129│ parsed_args = resolved_command.args
130│
→ 131│ status_code = command.handle(parsed_args, io)
132│ except KeyboardInterrupt:
133│ status_code = 1
7 /tmp/venv/lib/python3.6/site-packages/clikit/api/command/command.py:120 in handle
118│ def handle(self, args, io): # type: (Args, IO) -> int
119│ try:
→ 120│ status_code = self._do_handle(args, io)
121│ except KeyboardInterrupt:
122│ if io.is_debug():
6 /tmp/venv/lib/python3.6/site-packages/clikit/api/command/command.py:171 in _do_handle
169│ handler_method = self._config.handler_method
170│
→ 171│ return getattr(handler, handler_method)(args, io, self)
172│
173│ def __repr__(self): # type: () -> str
5 /tmp/venv/lib/python3.6/site-packages/cleo/commands/command.py:92 in wrap_handle
90│ self._command = command
91│
→ 92│ return self.handle()
93│
94│ def handle(self): # type: () -> Optional[int]
4 /tmp/venv/lib/python3.6/site-packages/poetry/console/commands/update.py:47 in handle
45│ self._installer.update(True)
46│
→ 47│ return self._installer.run()
48│
3 /tmp/venv/lib/python3.6/site-packages/poetry/installation/installer.py:103 in run
101│ local_repo = Repository()
102│
→ 103│ return self._do_install(local_repo)
104│
105│ def dry_run(self, dry_run=True): # type: (bool) -> Installer
2 /tmp/venv/lib/python3.6/site-packages/poetry/installation/installer.py:305 in _do_install
303│
304│ with solver.use_environment(self._env):
→ 305│ ops = solver.solve(use_latest=self._whitelist)
306│
307│ # We need to filter operations so that packages
1 /tmp/venv/lib/python3.6/site-packages/poetry/puzzle/solver.py:65 in solve
63│ with self._provider.progress():
64│ start = time.time()
→ 65│ packages, depths = self._solve(use_latest=use_latest)
66│ end = time.time()
67│
SolverProblemError
The current project's Python requirement (3.6.15) is not compatible with some of the required packages Python requirement:
- coverage requires Python >=3.7, so it will not be satisfied for Python 3.6.15
Because no versions of pytest-cov match >=2.12,<2.12.1 || >2.12.1,<3.0
and pytest-cov (2.12.1) depends on coverage (>=5.2.1), pytest-cov (>=2.12,<3.0) requires coverage (>=5.2.1).
Because coverage (6.3.1) requires Python >=3.7
and no versions of coverage match >=5.2.1,<6.3.1 || >6.3.1, coverage is forbidden.
Thus, pytest-cov is forbidden.
So, because test-pkg depends on pytest-cov (^2.12), version solving failed.
at /tmp/venv/lib/python3.6/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
• Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
For coverage, a possible solution would be to set the `python` property to "<empty>"
https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
https://python-poetry.org/docs/dependency-specification/#using-environment-markers
From this error message,
The current project's Python requirement (3.6.15) is not compatible with some of the required packages Python requirement:
- coverage requires Python >=3.7, so it will not be satisfied for Python 3.6.15
it appears that poetry is using the python executable version instead of the python dependency in my pyproject.toml (which is python = "^3.8".
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing poetry update -vvv --lock in the Python 3.6 virtualenv described here, using the linked pyproject.toml gist and reviewing the resolver output. Trace how the command determines the Python constraint, then verify that the lock operation follows the declared Python dependency rather than only the active interpreter version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100