install-poetry.py fails to install poetry from tarball (using --path)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
Research direction
Start with install-poetry.py and reproduce the reported --path case in the python:3.7-slim Docker image using the Poetry 1.1.7 tarball. Compare its behavior with --version and the deprecated get-poetry.py --file path, then verify that the resulting virtual environment contains the poetry executable.
Written by the indexing model from the issue text.
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: Docker image
python:3.7-slim -
Poetry version: N/A
-
Link of a Gist with the contents of your pyproject.toml file: N/A
Issue
To reproduce the environment exactly, everything below should be run within this docker container:
docker run --rm -it python:3.7-slim bash
On top of that, the following needs to be run within the docker container, before the 3 cases described below:
POETRY_VERSION=1.1.7
curl -LO https://github.com/python-poetry/poetry/releases/download/$POETRY_VERSION/poetry-$POETRY_VERSION-linux.tar.gz
Now, this works (old get-poetry.py install script, passing --file):
curl -s https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | \
python - --file poetry-$POETRY_VERSION-linux.tar.gz
And so does this (new install-poetry.py install script, passing --version):
curl -s https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | \
python - --version $POETRY_VERSION
But this (new install script, passing --path) claims to successfully install poetry, but actually installs an empty venv, without poetry:
curl -s https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | \
python - --path poetry-$POETRY_VERSION-linux.tar.gz
I make use of --path so that I can cache the tarball between docker builds & CI executions, so I'll have to stay on the deprecated get-poetry.py script for now 🙃
- 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
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100