Skip to content

Commit

Permalink
MAINT: adding python 3.13 to CI and classifiers (#635)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
bsipocz authored Oct 2, 2024
1 parent 41f4969 commit 83f8d1b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
sphinx: [">=5,<9"] # Newest Sphinx (any)
myst-parser: [">=1,<3"] # Newest MyST Parser (any)
include:
Expand Down Expand Up @@ -52,10 +52,16 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: pip
- name: Install myst-nb with Sphinx ${{ matrix.sphinx }}
shell: bash
run: |
pip install --upgrade pip
# Temporary: for python 3.13 we need the nightly pyarrow wheels
if [[ ${{ matrix.python-version }} == '3.13' ]] ; then
PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple pip install --pre pyarrow
fi
pip install --upgrade "Sphinx${{ matrix.sphinx }}" "myst-parser${{ matrix.myst-parser }}" -e .[testing]
- name: Run pytest
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ envlist = py311-sphinx7
[testenv]
usedevelop = true

[testenv:py{39,310,311,312}-sphinx{5,6,7,8}]
[testenv:py{39,310,311,312,313}-sphinx{5,6,7,8}]
extras = testing
deps =
sphinx5: sphinx>=5,<6
Expand Down

0 comments on commit 83f8d1b

Please sign in to comment.