Skip to content

Commit

Permalink
Merge pull request #124 from djhoese/enable-py313
Browse files Browse the repository at this point in the history
Enable Python 3.13 wheel building and switch to C17 C standard
  • Loading branch information
djhoese authored Sep 4, 2024
2 parents a07e4d4 + 1a51326 commit fd76dd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_SKIP: "cp36-* cp37-* cp38-* cp313-* pp* *i686 *-musllinux_aarch64"
CIBW_SKIP: "cp36-* cp37-* cp38-* pp* *i686 *-musllinux_aarch64"
CIBW_ARCHS: "${{ matrix.cibw_archs }}"
CIBW_TEST_COMMAND: "pytest -v --pyargs pykdtree"
CIBW_TEST_REQUIRES: "pytest"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def build_extensions(self):
comp = self.compiler.compiler_type
omp_comp, omp_link = _omp_compile_link_args(comp)
if comp in ('unix', 'cygwin', 'mingw32'):
extra_compile_args = ['-std=c99', '-O3'] + omp_comp
extra_compile_args = ['-std=c17', '-O3'] + omp_comp
extra_link_args = omp_link
elif comp == 'msvc':
extra_compile_args = ['/Ox'] + omp_comp
Expand Down

0 comments on commit fd76dd7

Please sign in to comment.