Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Express conditionalsetuptools requirement statically#2043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions.github/workflows/alpine-test.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -55,12 +55,12 @@ jobs:
run: |
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.
. .venv/bin/activate
python -m pip install -U pip$(pip freeze --all | grep -ow ^setuptools) wheel
python -m pip install -U pip'setuptools; python_version<"3.12"' wheel

- name: Install project and test dependencies
run: |
. .venv/bin/activate
pip install".[test]"
pip install'.[test]'

- name: Show version and platform information
run: |
Expand Down
4 changes: 2 additions & 2 deletions.github/workflows/cygwin-test.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -79,11 +79,11 @@ jobs:
- name: Update PyPA packages
run: |
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.
python -m pip install -U pip$(pip freeze --all | grep -ow ^setuptools) wheel
python -m pip install -U pip'setuptools; python_version<"3.12"' wheel

- name: Install project and test dependencies
run: |
pip install".[test]"
pip install'.[test]'

- name: Show version and platform information
run: |
Expand Down
6 changes: 3 additions & 3 deletions.github/workflows/pythonpackage.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,11 +72,11 @@ jobs:
-name:Update PyPA packages
run:|
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.
python -m pip install -U pip$(pip freeze --all | grep -ow ^setuptools) wheel
python -m pip install -U pip'setuptools; python_version<"3.12"' wheel
-name:Install project and test dependencies
run:|
pip install".[test]"
pip install'.[test]'
-name:Show version and platform information
run:|
Expand DownExpand Up@@ -114,5 +114,5 @@ jobs:
-name:Documentation
if:matrix.python-version != '3.7'
run:|
pip install".[doc]"
pip install'.[doc]'
make -C doc html
12 changes: 9 additions & 3 deletionstest/lib/helper.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -415,9 +415,15 @@ def __init__(self, env_dir, *, with_pip):

if with_pip:
# The upgrade_deps parameter to venv.create is 3.9+ only, so do it this way.
command = [self.python, "-m", "pip", "install", "--upgrade", "pip"]
if sys.version_info < (3, 12):
command.append("setuptools")
command = [
self.python,
"-m",
"pip",
"install",
"--upgrade",
"pip",
'setuptools; python_version<"3.12"',
]
subprocess.check_output(command)

@property
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp