Skip to content

Commit

Permalink
Added py312 support
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhjp01 committed Jul 13, 2024
1 parent d32d1ae commit 30fc099
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
xcode: ['13', '14']
xcode: ['14', '15']
build_type: [Debug, Release]
runs-on: macos-latest
steps:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
run: cmake --build . --config ${{ matrix.build_type }}

- working-directory: build/
run: ctest --config ${{ matrix.build_type }} --output-on-failure
run: ctest -C ${{ matrix.build_type }} --output-on-failure

linux:
strategy:
Expand Down Expand Up @@ -143,23 +143,29 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ 'windows-2019', 'ubuntu-latest', 'macos-latest' ]
python-version: [ '38', '39', '310', '311' ]
platform: [ 'windows-2019', 'ubuntu-22.04', 'macos-14' ]
python-version: [ '38', '39', '310', '311', '312' ]
# exclude:
# - platform: macos-14
# python-version: 38
runs-on: ${{ matrix.platform }}
env:
CIBW_BUILD: "cp${{ matrix.python-version }}-manylinux_x86_64 cp${{ matrix.python-version }}-macosx_x86_64 cp${{ matrix.python-version }}-win_amd64"
CIBW_BUILD: >
cp${{ matrix.python-version }}-manylinux_x86_64
cp${{ matrix.python-version }}-macosx_*
cp${{ matrix.python-version }}-win_amd64
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_DEPENDENCY_VERSIONS: latest
CIBW_BUILD_VERBOSITY: 3
MACOSX_DEPLOYMENT_TARGET: '10.14'
MACOSX_DEPLOYMENT_TARGET: '11'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
cache: 'pip'
python-version: '3.11'
- name: Install dependencies
run: pip install build twine cibuildwheel==2.14.1
run: pip install build twine cibuildwheel==2.19.2
- name: Build wheels
run: python -m cibuildwheel --output-dir ./dist
- name: Run twine check
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.3-post2
0.1.3-post3
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: C++
License :: OSI Approved :: MIT License
Intended Audience :: Science/Research

[options]
zip_safe = False
packages = find:
python_requires = >= 3.8, < 3.12
python_requires = >= 3.8, < 3.13

0 comments on commit 30fc099

Please sign in to comment.