Skip to content

Commit

Permalink
Test Jupytext with Python 3.13-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Jun 30, 2024
1 parent 929eec2 commit 57b5475
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/step_tests-pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"]
experimental: [false]
include:
# Test pre-release versions
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Jupytext ChangeLog
==================

1.16.3-dev (2024-07-??)
-------------------

**Added**
Jupytext is now tested with Python 3.13-dev on the CI ([#1242](https://github.com/mwouts/jupytext/issues/1242))


1.16.2 (2024-05-05)
-------------------

Expand Down
10 changes: 8 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import contextlib
import itertools
import os.path
import re
Expand Down Expand Up @@ -47,8 +48,13 @@ def cwd_tmpdir(tmpdir):
@pytest.fixture()
def cwd_tmp_path(tmp_path):
# Run the whole test from inside tmp_path
with tmp_path.cwd():
yield tmp_path
if sys.version_info < (3, 11):
with tmp_path.cwd():
yield tmp_path
else:
# https://github.com/mwouts/jupytext/issues/1242
with contextlib.chdir(tmp_path):
yield tmp_path


@pytest.fixture
Expand Down

0 comments on commit 57b5475

Please sign in to comment.