Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test support with Python 3.13 #275

Closed
wants to merge 12 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
"master"
],
"python-version": [
"3.8",
"3.9",
"3.10",
"3.11",
"3.12"
"3.13"
],
"os": [
"ubuntu-latest",
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

- name: Upgrade pip
run: |
python3 -m pip install --upgrade pip
python -m pip install --upgrade pip

- name: Create Source Distribution
run: |
Expand All @@ -54,7 +54,7 @@ jobs:
CGAL_SWIG_BINDINGS_VERSION=$(git show --no-patch --format='format:%ad' --date=format:'%Y%m%d%H%M')
CGAL_PYTHON_MODULE_VERSION=$CGAL_VERSION-$CGAL_SWIG_BINDINGS_VERSION
export CGAL_PYTHON_MODULE_VERSION
python3 setup.py sdist
python setup.py sdist

- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -143,6 +143,10 @@ jobs:
[ -f $HOME/.local/lib/liblas.dylib ] && install_name_tool -id '@rpath/liblas.dylib' $HOME/.local/lib/liblas.dylib
popd

- name: Upgrade pip
run: |
python -m pip install --upgrade pip

- name: Build local wheel
shell: bash -l {0}
run: |
Expand Down Expand Up @@ -179,7 +183,7 @@ jobs:
export DYLD_LIBRARY_PATH
CXXFLAGS=-faligned-allocation
export CXXFLAGS
CGAL_DIR=$HOME/.local python -m pip wheel -v .
CGAL_DIR=$HOME/.local python -m pip wheel twine -v .
delocate-listdeps --all cgal-*.whl
delocate-wheel -v -w fixed_wheel cgal-*.whl
delocate-listdeps --all fixed_wheel/*.whl
Expand All @@ -193,7 +197,7 @@ jobs:
export CXXFLAGS
export LIB
export CGAL_DIR
python -m pip wheel -v .
python -m pip wheel twine -v .
;;
esac
unzip -l cgal-*whl
Expand Down Expand Up @@ -271,7 +275,7 @@ jobs:
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
run: |
pip install twine
python3 -m twine upload --verbose --repository testpypi dist/*
python -m twine upload --verbose --repository testpypi dist/*

- name: upload to PyPI
if: github.event_name == 'push' && github.ref_name == 'main'
Expand All @@ -280,4 +284,4 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install twine
python3 -m twine upload --verbose dist/*
python -m twine upload --verbose dist/*
1 change: 1 addition & 0 deletions .integration/conda-env-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ dependencies:
- swig
- tbb
- tbb-devel
- pip
- wheel
- bzip2
Loading