Skip to content

Commit d305a61

Browse files
committed
Drop support for Python 3.7 (and thus testing for Matplotlib 3.5).
pytest and pyparsing version bounds are getting out of sync and are not worth maintaining separately.
1 parent b45f72c commit d305a61

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

.github/workflows/build.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
fail-fast: false
99
matrix:
1010
os: [ubuntu-20.04, macos-11, windows-2019]
11-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
11+
python-version: ["3.8", "3.9", "3.10", "3.11"]
1212
runs-on: ${{ matrix.os }}
1313
steps:
1414
- uses: actions/checkout@v3
@@ -53,12 +53,7 @@ jobs:
5353
python -mpip install dist/*.whl &&
5454
python tools/ensure-mpl-test-data.py &&
5555
# pytest-{instafail,timeout} useful for hanging tests.
56-
python -mpip install pytest pytest-instafail pytest-timeout &&
57-
if [[ '${{ matrix.python-version }}' = 3.7 ]]; then
58-
# Python 3.7 implies Matplotlib 3.5, which has some nose-style tests;
59-
# support for such tests has been deprecated in pytest 7.2.
60-
pip install 'pytest<7.2'
61-
fi
56+
python -mpip install pytest pytest-instafail pytest-timeout
6257
- name: Test
6358
shell: bash
6459
run: |

CHANGELOG.rst

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
next
22
====
33

4+
- Bumped dependencies to Python≥3.8.
45
- Fixed support for macos backend on Matplotlib≥3.6.
56
- Support pdf MaxVersion up to 1.7 (if the underlying cairo supports it).
67
- `set_options` can now be used as a context manager.

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def copy_extensions_to_source(self):
167167
packages=find_packages("lib"),
168168
package_dir={"": "lib"},
169169
ext_modules=[Extension("", [])],
170-
python_requires=">=3.7",
170+
python_requires=">=3.8",
171171
setup_requires=[
172172
"setuptools_scm",
173173
"pybind11>=2.8.0",

0 commit comments

Comments
 (0)