Skip to content

Commit 83f8d1b

Browse files
authored
MAINT: adding python 3.13 to CI and classifiers (#635)
* MAINT: adding python 3.13 to CI and classifiers * TMP: using pandas nightly wheel for python 3.13 * TMP: using pyarrows nightly wheel for python 3.13
1 parent 41f4969 commit 83f8d1b

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
os: [ubuntu-latest]
18-
python-version: ["3.9", "3.10", "3.11", "3.12"]
18+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1919
sphinx: [">=5,<9"] # Newest Sphinx (any)
2020
myst-parser: [">=1,<3"] # Newest MyST Parser (any)
2121
include:
@@ -52,10 +52,16 @@ jobs:
5252
uses: actions/setup-python@v5
5353
with:
5454
python-version: ${{ matrix.python-version }}
55+
allow-prereleases: true
5556
cache: pip
5657
- name: Install myst-nb with Sphinx ${{ matrix.sphinx }}
58+
shell: bash
5759
run: |
5860
pip install --upgrade pip
61+
# Temporary: for python 3.13 we need the nightly pyarrow wheels
62+
if [[ ${{ matrix.python-version }} == '3.13' ]] ; then
63+
PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple pip install --pre pyarrow
64+
fi
5965
pip install --upgrade "Sphinx${{ matrix.sphinx }}" "myst-parser${{ matrix.myst-parser }}" -e .[testing]
6066
6167
- name: Run pytest

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ classifiers = [
2020
"Programming Language :: Python :: 3.10",
2121
"Programming Language :: Python :: 3.11",
2222
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2324
"Programming Language :: Python :: Implementation :: CPython",
2425
"Programming Language :: Python :: Implementation :: PyPy",
2526
"Topic :: Software Development :: Libraries :: Python Modules",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ envlist = py311-sphinx7
1616
[testenv]
1717
usedevelop = true
1818

19-
[testenv:py{39,310,311,312}-sphinx{5,6,7,8}]
19+
[testenv:py{39,310,311,312,313}-sphinx{5,6,7,8}]
2020
extras = testing
2121
deps =
2222
sphinx5: sphinx>=5,<6

0 commit comments

Comments
 (0)