Skip to content

Commit

Permalink
test 3.13rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakob committed Sep 16, 2024
1 parent 9841a0b commit 379cafd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'windows-2022', 'macos-13']
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13.0-rc.1', 'pypy3.9-v7.3.16', 'pypy3.10-v7.3.17']
python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13.0-rc.2', 'pypy3.9-v7.3.16', 'pypy3.10-v7.3.17']

name: "Python ${{ matrix.python }} / ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
python -m pip install pytest pytest-github-actions-annotate-failures typing_extensions
- name: Install NumPy
if: ${{ !startsWith(matrix.python, 'pypy') && !contains(matrix.python, 'rc.1') }}
if: ${{ !startsWith(matrix.python, 'pypy') && !contains(matrix.python, 'rc.2') }}
run: |
python -m pip install numpy scipy
Expand Down
2 changes: 1 addition & 1 deletion src/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ PyObject *module_new_submodule(PyObject *base, const char *name,
if (!tmp_str)
goto fail;

#if PY_VERSION_HEX < 0x030D0000
#if PY_VERSION_HEX < 0x030D00A0
res = borrow(PyImport_AddModule(tmp_str));
#else
res = steal(PyImport_AddModuleRef(tmp_str));
Expand Down

0 comments on commit 379cafd

Please sign in to comment.