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

Commitebacfd9

Browse files
committed
Make setuptools check on CI more precise
This checks for setuptools as a full word at the very beginning ofa line of output from "pip freeze --all", to:- Avoid the unlikely but possible case that setuptools is absent while something besides setuptools has "setuptools" in its line.- Prevent "setuptools" from being passed to install multiple times. This causes no problems -- it's still only installed/upgraded at most once -- but it was making the GitHub Actions log confusing on Cygwin. (It could happen on other platforms, but hasn't been.)
1 parentad19912 commitebacfd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎.github/workflows/cygwin-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
-name:Update PyPA packages
6464
run:|
6565
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.
66-
python -m pip install -U pip $(pip freeze --all | grep -oFsetuptools) wheel
66+
python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel
6767
6868
-name:Install project and test dependencies
6969
run:|

‎.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
-name:Update PyPA packages
5757
run:|
5858
# Get the latest pip, wheel, and prior to Python 3.12, setuptools.
59-
python -m pip install -U pip $(pip freeze --all | grep -oFsetuptools) wheel
59+
python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel
6060
6161
-name:Install project and test dependencies
6262
run:|

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp