Skip to content

Commit

Permalink
Merge pull request #21 from qchateau/feature/py313
Browse files Browse the repository at this point in the history
Support Python 3.13
  • Loading branch information
qchateau authored Sep 30, 2024
2 parents d95ae03 + ed9c3e8 commit 6799eea
Show file tree
Hide file tree
Showing 4 changed files with 639 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
uses: pypa/cibuildwheel@v2.21.1

- uses: actions/upload-artifact@v3
with:
Expand All @@ -39,7 +39,7 @@ jobs:
id-token: write
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/[email protected].7
- uses: actions/[email protected].8
with:
name: artifact
path: dist
Expand Down
4 changes: 3 additions & 1 deletion cbitstruct/_cbitstruct.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,9 @@ typedef struct {
PyObject* names;
} PyCompiledFormatDictObject;

#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 7
#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 13
#include "clinic/_cbitstruct.c.313.h"
#elif PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 7
#include "clinic/_cbitstruct.c.37.h"
#elif PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION == 6
#include "clinic/_cbitstruct.c.36.h"
Expand Down
Loading

0 comments on commit 6799eea

Please sign in to comment.