Skip to content

Commit

Permalink
Add support for Python 3.12 (tests, wheel, docs) (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 committed Oct 15, 2023
1 parent 3763e2a commit 9d3c917
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: macos-latest
env:
CIBW_BUILD_VERBOSITY: 3
CIBW_BUILD: "cp37-macosx_x86_64 cp38-macosx_universal2 cp39-macosx_universal2 cp310-macosx_universal2 cp311-macosx_universal2"
CIBW_BUILD: "cp37-macosx_x86_64 cp38-macosx_universal2 cp39-macosx_universal2 cp310-macosx_universal2 cp311-macosx_universal2 cp312-macosx_universal2"
CIBW_ARCHS_MACOS: "x86_64 universal2"
CIBW_TEST_COMMAND: python -c "from pyobjus import autoclass, objc_str"
CIBW_TEST_SKIP: "*arm64*"
Expand All @@ -21,7 +21,7 @@ jobs:
python-version: '3.x'

- name: Install dependencies
run: python -m pip install --upgrade twine cibuildwheel cython
run: python -m pip install --upgrade twine cibuildwheel~=2.16.2 cython

- name: Build sdist
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
cython:
- "<3"
- ">=3"
Expand All @@ -41,7 +42,7 @@ jobs:

- name: Install project
run: |
pip install cython pytest
pip install cython pytest setuptools
pip install .
- name: Test with pytest
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def tree(source, allowed_ext=data_allowed_ext, tree_name='share/pyobjus-'):
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries :: Application Frameworks'
],
)

0 comments on commit 9d3c917

Please sign in to comment.