Skip to content

Commit 4af2e08

Browse files
authored
Allow wheel >= 1 to be installed (#2481)
1 parent d4be027 commit 4af2e08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/dockerfile/standard_generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ RUN --mount=type=cache,target=/root/.cache/pip curl -s -S -L https://raw.githubu
424424
export PYTHON_CFLAGS='-O3' && \
425425
pyenv install-latest "%s" && \
426426
pyenv global $(pyenv install-latest --print "%s") && \
427-
pip install --upgrade pip setuptools "wheel<1"`, py, py) + `
427+
pip install --upgrade pip setuptools wheel`, py, py) + `
428428
RUN rm -rf /usr/bin/python3 && ln -s ` + "`realpath \\`pyenv which python\\`` /usr/bin/python3 && chmod +x /usr/bin/python3", nil
429429
// for sitePackagesLocation, kind of need to determine which specific version latest is (3.8 -> 3.8.17 or 3.8.18)
430430
// install-latest essentially does pyenv install --list | grep $py | tail -1

pkg/dockerfile/standard_generator_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ RUN --mount=type=cache,target=/root/.cache/pip curl -s -S -L https://raw.githubu
8282
export PYTHON_CFLAGS='-O3' && \
8383
pyenv install-latest "%s" && \
8484
pyenv global $(pyenv install-latest --print "%s") && \
85-
pip install --upgrade pip setuptools "wheel<1"
85+
pip install --upgrade pip setuptools wheel
8686
`, version, version)
8787
}
8888

0 commit comments

Comments
 (0)