From bf9b8eed7d27e8916ee3a119ba52098d9d46bdaf Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Sat, 22 Jun 2024 18:27:35 -0700 Subject: [PATCH 1/3] Test with Python 3.13 --- .github/workflows/workflow.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index ef8bce8..cb882c4 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -68,7 +68,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['pypy3.9', '3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['pypy3.9', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] sphinx-version: ['>=5,<6', '>=6a0,<7', '>=7,<7.3'] os: [windows-latest, macos-latest, ubuntu-latest] steps: @@ -77,6 +77,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true cache: pip cache-dependency-path: | .github/workflows/workflow.yml From 5f13ea49e8f72a826dd1f35168f32eadb4c313da Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Mon, 14 Oct 2024 07:59:01 -0700 Subject: [PATCH 2/3] Exclude Sphinx 5 from Python 3.13, uses removoed imghdr --- .github/workflows/workflow.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index cb6b0f6..5279ee9 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -78,6 +78,8 @@ jobs: sphinx-version: '>=8,<9' - python-version: 'pypy3.9' sphinx-version: '>=8,<9' + - python-version: '3.13' + sphinx-version: '>=5,<6' steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} From 18558f0f48cc1bd8c5224d9d65943aa7ab38c0a8 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Mon, 14 Oct 2024 08:09:46 -0700 Subject: [PATCH 3/3] Add Python 3.13 to setup.py --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index be81e0d..dcc17ee 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,7 @@ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python", "Topic :: Documentation :: Sphinx", "Topic :: Documentation",