Make setuptools check on CI more precise · gitpython-developers/GitPython@ebacfd9 · GitHub
Skip to content

Commit ebacfd9

Browse files
committed
Make setuptools check on CI more precise
This checks for setuptools as a full word at the very beginning of a 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 parent ad19912 commit ebacfd9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cygwin-test.yml

Lines changed: 1 addition & 1 deletion

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)