Poetry install always reinstalls all packages when used in legacy repo
See original GitHub issue-
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 (
-vvv
option). -
OS version and name: Ubuntu 20.04
-
Poetry version: 1.0.6, 1.0.8
-
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/Nitori-/45e49ac8feb993c11158decd4ba1fc67
Issue
Whenever I run poetry install
it seems any existing packages are “upgraded” to the exact same version:
$ poetry install
Installing dependencies from lock file
Package operations: 0 installs, 51 updates, 0 removals
- Updating certifi (2020.4.5.1 -> 2020.4.5.1)
- Updating chardet (3.0.4 -> 3.0.4)
- Updating idna (2.9 -> 2.9)
- Updating markupsafe (1.1.1 -> 1.1.1)
- Updating pyparsing (2.4.7 -> 2.4.7)
- Updating pytz (2020.1 -> 2020.1)
- Updating six (1.15.0 -> 1.15.0)
- Updating urllib3 (1.25.9 -> 1.25.9)
- Updating alabaster (0.7.12 -> 0.7.12)
- Updating atomicwrites (1.4.0 -> 1.4.0)
- Updating attrs (19.3.0 -> 19.3.0)
- Updating babel (2.8.0 -> 2.8.0)
- Updating docutils (0.16 -> 0.16)
- Updating imagesize (1.2.0 -> 1.2.0)
- Updating jinja2 (2.11.2 -> 2.11.2)
- Updating lazy-object-proxy (1.4.3 -> 1.4.3)
- Updating more-itertools (8.3.0 -> 8.3.0)
- Updating packaging (20.4 -> 20.4)
- Updating pluggy (0.13.1 -> 0.13.1)
- Updating py (1.8.1 -> 1.8.1)
- Updating pygments (2.6.1 -> 2.6.1)
- Updating requests (2.23.0 -> 2.23.0)
- Updating snowballstemmer (2.0.0 -> 2.0.0)
- Updating sphinxcontrib-applehelp (1.0.2 -> 1.0.2)
- Updating sphinxcontrib-devhelp (1.0.2 -> 1.0.2)
- Updating sphinxcontrib-htmlhelp (1.0.3 -> 1.0.3)
- Updating sphinxcontrib-jsmath (1.0.1 -> 1.0.1)
- Updating sphinxcontrib-qthelp (1.0.3 -> 1.0.3)
- Updating sphinxcontrib-serializinghtml (1.1.4 -> 1.1.4)
- Updating wcwidth (0.2.3 -> 0.2.3)
- Updating wrapt (1.12.1 -> 1.12.1)
- Updating appdirs (1.4.4 -> 1.4.4)
- Updating astroid (2.4.1 -> 2.4.1)
- Updating click (7.1.2 -> 7.1.2)
- Updating coverage (4.5.4 -> 4.5.4)
- Updating isort (4.3.21 -> 4.3.21)
- Updating mccabe (0.6.1 -> 0.6.1)
- Updating pycodestyle (2.6.0 -> 2.6.0)
- Updating pydocstyle (5.0.2 -> 5.0.2)
- Updating pyflakes (2.2.0 -> 2.2.0)
- Updating pytest (4.6.11 -> 4.6.11)
- Updating sphinx (2.4.4 -> 2.4.4)
- Updating toml (0.10.1 -> 0.10.1)
- Updating black (18.9b0 -> 18.9b0)
- Updating pathlib2 (2.3.5 -> 2.3.5)
- Updating pylama (7.7.1 -> 7.7.1)
- Updating pylint (2.5.2 -> 2.5.2)
- Updating pytest-cov (2.9.0 -> 2.9.0)
- Updating pytest-ct-ext (2.0.5 -> 2.0.5)
- Updating scandir (1.10.0 -> 1.10.0)
- Updating sphinx-rtd-theme (0.4.3 -> 0.4.3)
- Installing porg (1.49.0)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Dependency specification | Documentation | Poetry - Python ...
Dependency specification Dependencies for a project can be specified in various forms, which depend on the type of the dependency and on the...
Read more >Ask HN: Why Poetry did not become a mainstream package ...
I am a pretty experienced Python dev with both back-end and ML in my project basket. However, I have been using pip/requirements.txt/setup.py so ......
Read more >Failed to install Python Cryptography package with PIP and ...
I had a similar issue, and found I was simply missing a dependency (libssl-dev, for me). As referenced in https://cryptography.io/en/latest/installation/, ...
Read more >How to Publish an Open-Source Python Package to PyPI
Understand and use different build systems. Throughout this tutorial, you'll work with an example project: a reader package that can be used to ......
Read more >Error with pip install from PyPI in self hosted Gitlab - General
This might be due to my overzealous colleagues which always use a dash for the repository name although I tell them to use...
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 Free
Top 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
I was able to reproduce the issue.
It’s a bug caused by the fix in #2484. A fix is coming.
I deleted the
poetry.lock
file and runpoetry lock
again. Still getting all the:messages