install-poetry.py fails to install poetry from tarball (using --path)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Bắt đầu với install-poetry.py và tái hiện trường hợp --path được báo cáo trong image Docker python:3.7-slim bằng tarball Poetry 1.1.7. So sánh hành vi của nó với --version và get-poetry.py --file path đã lỗi thời, sau đó xác minh rằng môi trường ảo tạo ra có chứa executable poetry.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
-
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 🙃
- Ngôn ngữ chính
- Python
- Star
- 255
- Fork
- 65
- Merge trung bình
- 2 giờ 48 phút
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của python-poetry/install.python-poetry.org
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
python-poetry/install.python-poetry.org#144 · 8 bình luận · 2 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
python-poetry/install.python-poetry.org#177 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Tất cả issue của python-poetry/install.python-poetry.org
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
hcocena Đang mởpolicies-accepted pre-review precheck-passed
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Bioconductor/BiocContributions#214 · 5 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
TencentCloud/Octop#1169 · 1 bình luận ·
-
[开源推荐] 在老板拷问你之前,先让 AI 灵魂拷问你 Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
521xueweihan/HelloGitHub#3778 ·
-
The version checker's trailing attribute region has no control for a less-than inside a quoted value Đang mởarea: dashboard area: tests bug perceived difficulty: 2 python
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Nitjsefnie-Harness-Commons/daedalus#1105 · 1 bình luận ·