Skip to content

Commit cb88140

Browse files
committed
CI: Don't stop on pkg_resources DeprecationWarning
1 parent 8788bb0 commit cb88140

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/html-macos.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,17 @@ jobs:
2323
run: |
2424
python --version
2525
- name: Install Python package
26+
env:
27+
# There is still a warning with pip version 24, even though this
28+
# is supposed to be fixed: https://github.com/pypa/pip/issues/11975
29+
PYTHONWARNINGS: error,default::DeprecationWarning
2630
run: |
2731
$PIP install .
2832
- name: Install docs dependencies
33+
env:
34+
# There is still a warning with pip version 24, even though this
35+
# is supposed to be fixed: https://github.com/pypa/pip/issues/11975
36+
PYTHONWARNINGS: error,default::DeprecationWarning
2937
run: |
3038
$PIP install -r doc/requirements.txt
3139
- name: Build HTML

.github/workflows/linkcheck.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,17 @@ jobs:
2424
run: |
2525
python --version
2626
- name: Install Python package
27+
env:
28+
# There is still a warning with pip version 24, even though this
29+
# is supposed to be fixed: https://github.com/pypa/pip/issues/11975
30+
PYTHONWARNINGS: error,default::DeprecationWarning
2731
run: |
2832
$PIP install .
2933
- name: Install docs dependencies
34+
env:
35+
# There is still a warning with pip version 24, even though this
36+
# is supposed to be fixed: https://github.com/pypa/pip/issues/11975
37+
PYTHONWARNINGS: error,default::DeprecationWarning
3038
run: |
3139
$PIP install -r doc/requirements.txt
3240
- name: Check links

0 commit comments

Comments
 (0)