diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b82b462f5..319a9a954 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -27,20 +27,20 @@ jobs:
- name: Install packages
run: pip install tox
- name: Run Tox
- run: tox -e lint,package_readme
+ run: tox $TOX_OPTIONS -e lint,package_readme
test:
runs-on: ${{ matrix.platform }}
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
strategy:
matrix:
- python-version: ["3.7", "3.10"]
+ python-version: ["3.8", "3.10"]
platform: [ubuntu-latest, macos-latest, windows-latest]
exclude: # Only test on the latest supported stable Python on macOS and Windows.
- platform: macos-latest
- python-version: 3.7
+ python-version: 3.8
- platform: windows-latest
- python-version: 3.7
+ python-version: 3.8
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
diff --git a/README.rst b/README.rst
index 182674731..6fbd64882 100644
--- a/README.rst
+++ b/README.rst
@@ -18,7 +18,7 @@ are available at `Read the Docs `_.
Installation
~~~~~~~~~~~~
-FontTools requires `Python `__ 3.7
+FontTools requires `Python `__ 3.8
or later. We try to follow the same schedule of minimum Python version support as
NumPy (see `NEP 29 `__).
diff --git a/requirements.txt b/requirements.txt
index cb4bf76e7..4e9b659b0 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -3,8 +3,7 @@
brotli==1.0.9; platform_python_implementation != "PyPy"
brotlicffi==1.0.9.2; platform_python_implementation == "PyPy"
unicodedata2==15.0.0; python_version <= '3.11'
-scipy==1.7.3; platform_python_implementation != "PyPy" and python_version <= '3.7' # pyup: ignore
-scipy==1.9.3; platform_python_implementation != "PyPy" and python_version > '3.7'
+scipy==1.9.3; platform_python_implementation != "PyPy"
munkres==1.1.4; platform_python_implementation == "PyPy"
zopfli==0.2.1
fs==2.4.16
diff --git a/setup.py b/setup.py
index abda3621d..f9d7fd36e 100755
--- a/setup.py
+++ b/setup.py
@@ -155,7 +155,6 @@ classifiers = {
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
- "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
@@ -471,7 +470,7 @@ setup_params = dict(
url="http://github.com/fonttools/fonttools",
license="MIT",
platforms=["Any"],
- python_requires=">=3.7",
+ python_requires=">=3.8",
long_description=long_description,
package_dir={"": "Lib"},
packages=find_packages("Lib"),
diff --git a/tox.ini b/tox.ini
index 3bdbbe703..eaf9b3ca8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
minversion = 3.0
-envlist = lint, py3{7,8,9,10,11}-cov, htmlcov
+envlist = lint, py3{8,9,10,11}-cov, htmlcov
skip_missing_interpreters=true
[testenv]