Skip to content

Commit

Permalink
update pybind (for python 3.11~3.12) and headers (#18)
Browse files Browse the repository at this point in the history
* update pybind and headers

* fix

* fix

* fix

* fix

* release

* fix

* fix

---------

Co-authored-by: xiaohui.yang <xiaohui.yang@momenta.ai>
Co-authored-by: zhixiong.tang <zhixiong.tang@momenta.ai>
  • Loading branch information
3 people authored Sep 14, 2024
1 parent 8a4b93d commit 7a9d259
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.x"
python-version: "3.10"
- uses: pre-commit/action@v3.0.0
4 changes: 2 additions & 2 deletions .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-20.04, windows-2019, macos-11]
python-version: ["3.8", "3.9", "3.10"]
platform: [ubuntu-20.04, windows-2019, macos-12]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

runs-on: ${{ matrix.platform }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ jobs:
with:
platforms: all

- uses: pypa/cibuildwheel@v2.12.0
- uses: pypa/cibuildwheel@v2.17.0
env:
# CIBW_ARCHS: auto64
CIBW_ARCHS_LINUX: x86_64 aarch64
CIBW_ARCHS_WINDOWS: AMD64 # ARM64
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_BEFORE_BUILD: pip install numpy scipy fire --prefer-binary
# https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
CIBW_SKIP: pp* *i686 *musllinux*
CIBW_SKIP: pp* *i686 *musllinux* cp36-* cp37-*
CIBW_TEST_SKIP: "*macosx* *win* *aarch64"

- name: Verify clean directory
Expand All @@ -77,11 +77,11 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'

steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
Expand Down
4 changes: 4 additions & 0 deletions docs/about/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ To upgrade `fast-crossing` to the latest version, use pip:
pip install -U fast-crossing
```

## Version 0.0.9 (2024-09-07)

* Update pybind11 (for python 3.11, 3.12), ditch python 3.6, 3.7

## Version 0.0.8 (2023-06-23)

* Sync with headers
Expand Down
2 changes: 1 addition & 1 deletion headers
Submodule headers updated 811 files
2 changes: 1 addition & 1 deletion pybind11
Submodule pybind11 updated 201 files
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def build_extension(self, ext):
# logic and declaration, and simpler if you include description/version in a file.
setup(
name="fast_crossing",
version="0.0.8",
version="0.0.9",
author="tzx",
author_email="dvorak4tzx@gmail.com",
url="https://fast-crossing.readthedocs.io",
Expand Down

0 comments on commit 7a9d259

Please sign in to comment.