Skip to content

Commit 9640b4f

Browse files
authored
Fix some CI failures and warnings (#144)
2 parents c7e4717 + cd64438 commit 9640b4f

File tree

4 files changed

+34
-98
lines changed

4 files changed

+34
-98
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ env:
1616
# https://pip.pypa.io/en/stable/topics/configuration/#environment-variables
1717
# https://pip.pypa.io/en/stable/cli/pip/#cmdoption-disable-pip-version-check
1818
PIP_DISABLE_PIP_VERSION_CHECK: "1"
19-
# https://pip.pypa.io/en/stable/cli/pip/#cmdoption-no-python-version-warning
20-
PIP_NO_PYTHON_VERSION_WARNING: "1"
2119

2220
jobs:
2321
tests:
@@ -29,31 +27,36 @@ jobs:
2927
- windows-latest
3028
- macos-latest
3129
python-version:
32-
- "3.7"
3330
- "3.8"
3431
- "3.9"
3532
- "3.10"
3633
- "3.11"
3734
- "3.12"
3835
- "3.13"
36+
- "3.14"
3937
- "pypy-2.7"
4038
- "pypy-3.7"
4139
- "pypy-3.8"
4240
- "pypy-3.9"
4341
- "pypy-3.10"
42+
- "pypy-3.11"
4443
include:
44+
- os: windows-latest
45+
python-version: "3.7"
46+
- os: ubuntu-22.04
47+
python-version: "3.7"
4548
- os: ubuntu-22.04
4649
python-version: "pypy-3.6"
47-
- os: ubuntu-20.04
50+
- os: ubuntu-latest
51+
container: python:3.6
4852
python-version: "3.6"
49-
- os: ubuntu-20.04
53+
- os: ubuntu-latest
54+
container: python:3.5
5055
python-version: "3.5"
51-
- os: ubuntu-20.04
56+
- os: ubuntu-latest
5257
container: python:2.7-buster
5358
python-version: "2.7"
5459
exclude:
55-
- os: macos-latest
56-
python-version: "3.7"
5760
- os: macos-latest
5861
python-version: "pypy-3.7"
5962

@@ -70,6 +73,11 @@ jobs:
7073
echo 'PIP_TRUSTED_HOST=pypi.python.org pypi.org files.pythonhosted.org' >>$GITHUB_ENV
7174
if: 'matrix.python-version == 3.5'
7275

76+
- name: set PIP_NO_PYTHON_VERSION_WARNING environment variable for python 2
77+
shell: bash
78+
run: echo 'PIP_NO_PYTHON_VERSION_WARNING=1' >>$GITHUB_ENV
79+
if: ${{ matrix.python-version == '2.7' || matrix.python-version == 'pypy-2.7' }}
80+
7381
- uses: actions/setup-python@v5
7482
with:
7583
python-version: ${{ matrix.python-version }}

requirements-tests37.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# pip-compile --allow-unsafe --no-emit-index-url --output-file=requirements-tests37.txt --resolver=backtracking --strip-extras requirements-tests37.in
66
#
7-
attrs==23.1.0
7+
attrs==24.2.0
88
# via pytest
99
coverage==5.5
1010
# via
@@ -18,7 +18,7 @@ importlib-metadata==6.7.0 ; python_version < "3.8"
1818
# pytest
1919
iniconfig==2.0.0
2020
# via pytest
21-
packaging==23.2
21+
packaging==24.0
2222
# via pytest
2323
pluggy==1.2.0
2424
# via pytest

requirements-tests39.in

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
# For Python 3.9 *and newer*
22
pytest>=7.4.2
33
pytest-cov>=4.1.0
4-
flake8
5-
autopep8
6-
docformatter
7-
isort
8-
pydocstyle
9-
restructuredtext_lint
10-
doc8
11-
pygments
12-
pylint>=2.15
13-
astroid>=2.11
14-
wrapt>=1.14
154
pytest-benchmark

requirements-tests39.txt

Lines changed: 16 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -4,95 +4,34 @@
44
#
55
# pip-compile --allow-unsafe --no-emit-index-url --output-file=requirements-tests39.txt --strip-extras requirements-tests39.in
66
#
7-
astroid==3.0.1
8-
# via
9-
# -r requirements-tests39.in
10-
# pylint
11-
autopep8==2.0.4
12-
# via -r requirements-tests39.in
13-
charset-normalizer==3.3.0
14-
# via docformatter
15-
coverage==7.3.2
7+
coverage==7.9.1
168
# via pytest-cov
17-
dill==0.3.7
18-
# via pylint
19-
doc8==1.1.1
20-
# via -r requirements-tests39.in
21-
docformatter==1.7.5
22-
# via -r requirements-tests39.in
23-
docutils==0.20.1
24-
# via
25-
# doc8
26-
# restructuredtext-lint
27-
exceptiongroup==1.1.3
9+
exceptiongroup==1.3.0
2810
# via pytest
29-
flake8==6.1.0
30-
# via -r requirements-tests39.in
31-
iniconfig==2.0.0
32-
# via pytest
33-
isort==5.12.0
34-
# via
35-
# -r requirements-tests39.in
36-
# pylint
37-
mccabe==0.7.0
38-
# via
39-
# flake8
40-
# pylint
41-
packaging==23.2
11+
iniconfig==2.1.0
4212
# via pytest
43-
pbr==5.11.1
44-
# via stevedore
45-
platformdirs==3.11.0
46-
# via pylint
47-
pluggy==1.3.0
13+
packaging==25.0
4814
# via pytest
15+
pluggy==1.6.0
16+
# via
17+
# pytest
18+
# pytest-cov
4919
py-cpuinfo==9.0.0
5020
# via pytest-benchmark
51-
pycodestyle==2.11.1
52-
# via
53-
# autopep8
54-
# flake8
55-
pydocstyle==6.3.0
56-
# via -r requirements-tests39.in
57-
pyflakes==3.1.0
58-
# via flake8
59-
pygments==2.16.1
60-
# via
61-
# -r requirements-tests39.in
62-
# doc8
63-
pylint==3.0.1
64-
# via -r requirements-tests39.in
65-
pytest==7.4.2
21+
pygments==2.19.1
22+
# via pytest
23+
pytest==8.4.0
6624
# via
6725
# -r requirements-tests39.in
6826
# pytest-benchmark
6927
# pytest-cov
70-
pytest-benchmark==4.0.0
28+
pytest-benchmark==5.1.0
7129
# via -r requirements-tests39.in
72-
pytest-cov==4.1.0
30+
pytest-cov==6.2.1
7331
# via -r requirements-tests39.in
74-
restructuredtext-lint==1.4.0
75-
# via
76-
# -r requirements-tests39.in
77-
# doc8
78-
snowballstemmer==2.2.0
79-
# via pydocstyle
80-
stevedore==5.1.0
81-
# via doc8
82-
tomli==2.0.1
32+
tomli==2.2.1
8333
# via
84-
# autopep8
8534
# coverage
86-
# doc8
87-
# pylint
8835
# pytest
89-
tomlkit==0.12.1
90-
# via pylint
91-
typing-extensions==4.8.0
92-
# via
93-
# astroid
94-
# pylint
95-
untokenize==0.1.1
96-
# via docformatter
97-
wrapt==1.15.0
98-
# via -r requirements-tests39.in
36+
typing-extensions==4.14.0
37+
# via exceptiongroup

0 commit comments

Comments
 (0)