From ee33bafd5d8193197021563a1e13cf141c22fc31 Mon Sep 17 00:00:00 2001 From: Miguel Sousa Date: Sun, 29 Sep 2024 17:17:30 -0700 Subject: [PATCH 1/3] [ci] Enable Python v3.12 and drop v3.8 With the imminent final release of Python v3.13, v3.8 is also reaching its EOL. See [status of Python versions](https://devguide.python.org/versions/). --- .github/workflows/testpythonpackage.yml | 10 +++++----- README.md | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/testpythonpackage.yml b/.github/workflows/testpythonpackage.yml index f4a33b330..a039f7ac8 100644 --- a/.github/workflows/testpythonpackage.yml +++ b/.github/workflows/testpythonpackage.yml @@ -28,20 +28,20 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] exclude: - - os: macos-latest - python-version: "3.8" - os: macos-latest python-version: "3.9" - os: macos-latest python-version: "3.10" - - os: windows-latest - python-version: "3.8" + - os: macos-latest + python-version: "3.11" - os: windows-latest python-version: "3.9" - os: windows-latest python-version: "3.10" + - os: windows-latest + python-version: "3.11" steps: diff --git a/README.md b/README.md index 3421a91ef..a3f036b84 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,8 @@ More information can be found in [docs/otfautohint_Notes.md](docs/otfautohint_No Installation ------------ -The AFDKO requires [Python](http://www.python.org/download) 3.8 -or later. It should work with any Python > 3.8, but occasionally +The AFDKO requires [Python](http://www.python.org/download) 3.9 +or later. It should work with any Python > 3.9, but occasionally tool-chain components and dependencies don't keep pace with major Python releases, so there might be some lag time while they catch up. @@ -132,7 +132,7 @@ On macOS, install these with: On Linux (Ubuntu 17.10 LTS or later), install these with: - apt-get -y install python3.8 + apt-get -y install python3.9 apt-get -y install python-pip apt-get -y install python-dev apt-get -y install uuid-dev From fe10c270db52f43f76707b4f6edf8c7d93d45e89 Mon Sep 17 00:00:00 2001 From: Miguel Sousa Date: Sun, 29 Sep 2024 17:56:36 -0700 Subject: [PATCH 2/3] [ci] Update Coverage and ASAN workflows to use Python v3.11 --- .github/workflows/asan.yml | 2 +- .github/workflows/run_cvg.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/asan.yml b/.github/workflows/asan.yml index b02f6d70e..df7e4d8dd 100644 --- a/.github/workflows/asan.yml +++ b/.github/workflows/asan.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: "3.11" - name: Install multilib packages run: sudo apt-get install gcc-multilib g++-multilib diff --git a/.github/workflows/run_cvg.yml b/.github/workflows/run_cvg.yml index 0b99cbec6..e67712bc4 100644 --- a/.github/workflows/run_cvg.yml +++ b/.github/workflows/run_cvg.yml @@ -34,10 +34,10 @@ jobs: with: fetch-depth: 0 # unshallow fetch for setuptools-scm - - name: Set up Python 3.8 + - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.11" - name: Build AFDKO wheel env: From f3b2f2a37d89ae818b6228d79fc8abdc64506d5e Mon Sep 17 00:00:00 2001 From: Miguel Sousa Date: Sun, 29 Sep 2024 18:12:29 -0700 Subject: [PATCH 3/3] Update Python version in setup.py --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 79712cca2..973e28265 100644 --- a/setup.py +++ b/setup.py @@ -152,7 +152,7 @@ def main(): 'Intended Audience :: Developers', 'Topic :: Software Development :: Build Tools', 'License :: OSI Approved :: Apache Software License', - 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX :: Linux', @@ -194,7 +194,7 @@ def main(): ], }, zip_safe=False, - python_requires='>=3.8', + python_requires='>=3.9', setup_requires=[ 'wheel', 'setuptools_scm',