Drop Python3.7, require 3.8+
Revert "Revert "Merge pull request #2879 from fonttools/drop-py37"" This reverts commit f21e6768a7e970e3ec0f3c4b818f47f8dfd1c92b. Which in turn, reverted https://github.com/fonttools/fonttools/pull/2879
This commit is contained in:
parent
253b4f9afc
commit
7f4fe17e5b
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -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 }}
|
||||
|
@ -18,7 +18,7 @@ are available at `Read the Docs <https://fonttools.readthedocs.io/>`_.
|
||||
Installation
|
||||
~~~~~~~~~~~~
|
||||
|
||||
FontTools requires `Python <http://www.python.org/download/>`__ 3.7
|
||||
FontTools requires `Python <http://www.python.org/download/>`__ 3.8
|
||||
or later. We try to follow the same schedule of minimum Python version support as
|
||||
NumPy (see `NEP 29 <https://numpy.org/neps/nep-0029-deprecation_policy.html>`__).
|
||||
|
||||
|
@ -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
|
||||
|
3
setup.py
3
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"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user