Install script prints misleading message when you already have the version specified by `--version`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Start with the curlable installation script and reproduce both commands using an explicitly requested version and the default latest version. Trace the branch that reports an installed version, then verify that the message distinguishes the requested version from the latest version and preserves the existing latest-version wording.
Written by the indexing model from the issue text.
Description
- Poetry version: 1.5.1
- Python version: 3.9.16
- OS version and name: macOS 13.2.1
- pyproject.toml: n/a
- I am on the latest stable Poetry version, installed using a recommended method.
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have consulted the FAQ and blog for any relevant entries or release notes.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption) and have included the output below.
Issue
When installing Poetry from the curl'able script, it conflates "already have requested version" and "already have latest version", which is misleading. An example terminal session:
$ curl -sSL https://install.python-poetry.org | python3.9 - --version 1.5.0
[ snip ]
Installing Poetry (1.5.0): Done
Poetry (1.5.0) is installed now. Great!
You can test that everything is set up by executing:
`poetry --version`
$ curl -sSL https://install.python-poetry.org | python3.9 - --version 1.5.0
Retrieving Poetry metadata
The latest version (1.5.0) is already installed.
$ curl -sSL https://install.python-poetry.org | python3.9 -
[ snip ]
Installing Poetry (1.5.1): Done
Poetry (1.5.1) is installed now. Great!
You can test that everything is set up by executing:
`poetry --version`
1.5.1 is latest, but when I reinstall 1.5.0 explicitly, it calls it the "latest version (1.5.0)".
This was briefly misleading as I was fixing some install issues on my project this morning. The issues themselves were resolved by upgrading Poetry, but I didn't realize at first that this was an option because this version pinning was being done by a set-everything-up script and the logging, of course, implied that upgrading Poetry was not a potential solution.
I would suggest splitting the logging into a two branches for clarity:
- The requested version (x.y.z) is already installed. The latest version is a.b.c.
- The latest version (x.y.z) is already installed.
- Dominant language
- Python
- Stars
- 255
- Forks
- 65
- Avg merge
- 2h 48m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
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.
More from python-poetry/install.python-poetry.org
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
python-poetry/install.python-poetry.org#144 · 8 comments · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
python-poetry/install.python-poetry.org#177 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in python-poetry/install.python-poetry.org
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·