From dfa3339de9f0b4801aa8f561fa0e5424f4ce6632 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 8 Oct 2024 08:46:30 -0400 Subject: [PATCH 1/5] Add Python 3.13 and drop Python 3.8 --- .github/workflows/tox.yml | 4 +++- pyproject.toml | 4 ++-- tox.ini | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index bf7e529d5..b54600afe 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false max-parallel: 4 matrix: - tox-env: [py38, py39, py310, py311, py312, pypy38, pypy39, pypy310, pygments] + tox-env: [py39, py310, py311, py312, py313, pypy38, pypy39, pypy310, pygments] include: - tox-env: py38 python-version: '3.8' @@ -32,6 +32,8 @@ jobs: python-version: '3.11' - tox-env: py312 python-version: '3.12' + - tox-env: py313 + python-version: '3.13' - tox-env: pypy38 python-version: pypy-3.8 - tox-env: pypy39 diff --git a/pyproject.toml b/pyproject.toml index 088e242af..f26857b84 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ maintainers = [ {name = 'Isaac Muse'} ] license = {file = 'LICENSE.md'} -requires-python = '>=3.8' +requires-python = '>=3.9' dependencies = [ "importlib-metadata>=4.4;python_version<'3.10'" ] @@ -29,11 +29,11 @@ classifiers = [ 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', diff --git a/tox.ini b/tox.ini index 31525091b..785be3308 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38, 39, 310, 311, 312}, pypy{38, 39, 310}, pygments, flake8, checkspelling, pep517check, checklinks +envlist = py{39, 310, 311, 312, 313}, pypy{38, 39, 310}, pygments, flake8, checkspelling, pep517check, checklinks isolated_build = True [testenv] From cec8ab6d327962dcbfab6615850b737cb6cb26e0 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 8 Oct 2024 08:56:24 -0400 Subject: [PATCH 2/5] fix typo --- .github/workflows/tox.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index b54600afe..8e743f661 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -32,7 +32,7 @@ jobs: python-version: '3.11' - tox-env: py312 python-version: '3.12' - - tox-env: py313 + - tox-env: py313 python-version: '3.13' - tox-env: pypy38 python-version: pypy-3.8 From d657b1f23ca42f5a7ebd973e8abc9fc0b560b95b Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 8 Oct 2024 08:58:12 -0400 Subject: [PATCH 3/5] more cleanup --- .github/workflows/tox.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 8e743f661..229d5dbb1 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -22,8 +22,6 @@ jobs: matrix: tox-env: [py39, py310, py311, py312, py313, pypy38, pypy39, pypy310, pygments] include: - - tox-env: py38 - python-version: '3.8' - tox-env: py39 python-version: '3.9' - tox-env: py310 From 8ec66fd518ec884053668bf9758bce290041d91b Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 8 Oct 2024 09:04:34 -0400 Subject: [PATCH 4/5] Remove pypy3.8 --- .github/workflows/tox.yml | 4 +--- tox.ini | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 229d5dbb1..ecbb01e05 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false max-parallel: 4 matrix: - tox-env: [py39, py310, py311, py312, py313, pypy38, pypy39, pypy310, pygments] + tox-env: [py39, py310, py311, py312, py313, pypy39, pypy310, pygments] include: - tox-env: py39 python-version: '3.9' @@ -32,8 +32,6 @@ jobs: python-version: '3.12' - tox-env: py313 python-version: '3.13' - - tox-env: pypy38 - python-version: pypy-3.8 - tox-env: pypy39 python-version: pypy-3.9 - tox-env: pypy310 diff --git a/tox.ini b/tox.ini index 785be3308..cba6e4513 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{39, 310, 311, 312, 313}, pypy{38, 39, 310}, pygments, flake8, checkspelling, pep517check, checklinks +envlist = py{39, 310, 311, 312, 313}, pypy{39, 310}, pygments, flake8, checkspelling, pep517check, checklinks isolated_build = True [testenv] From afee0c65c170728e27753af04213073b6185ee08 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 8 Oct 2024 09:07:51 -0400 Subject: [PATCH 5/5] allow prereleases --- .github/workflows/tox.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index ecbb01e05..bf6dc4d11 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -48,6 +48,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install dependencies run: | sudo apt-get install libtidy-dev