Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
da1042d
Update matrix.json
lrineau Sep 16, 2024
531e94b
use channel python_rc
lrineau Sep 16, 2024
9ed9097
wip
lrineau Sep 30, 2024
75f7056
Merge branch 'main' into try-python-3.13
lrineau Oct 8, 2024
de4b1c1
official python 3.13
lrineau Oct 8, 2024
efd1937
update PIP
lrineau Oct 8, 2024
57e2143
add new dependencies (for Python 3.13)
lrineau Oct 8, 2024
235aa28
try with python_rc
lrineau Oct 8, 2024
3cd3d45
Test from 3.9 to 3.13
lrineau Oct 21, 2024
ab02f93
install twine using pip
lrineau Oct 21, 2024
ef2ffa9
python3->python
lrineau Oct 21, 2024
65c7129
wip
lrineau Oct 24, 2024
e361f8a
Merge branch 'cgal6.0.1' into try-python-3.13
lrineau Oct 24, 2024
9ea2500
Merge remote-tracking branch 'origin/main' into try-python-3.13
lrineau Apr 7, 2025
922baaa
fix for CGAL-6.1-dev
lrineau Apr 10, 2025
f4e0124
updated version
lrineau Apr 10, 2025
fe15f00
updated version
lrineau Apr 10, 2025
e8902a8
Refactor CMake and setup configurations for improved compatibility an…
lrineau Sep 3, 2025
d5ec68e
Merge remote-tracking branch 'refs/remotes/origin/try-python-3.13' in…
lrineau Sep 3, 2025
353e153
Merge remote-tracking branch 'origin/main' into try-python-3.13
lrineau Sep 3, 2025
81a9991
try to fix the build
lrineau Sep 3, 2025
ad25423
fix for Windows
lrineau Sep 3, 2025
ae57314
re-add other Python versions
lrineau Sep 3, 2025
4b8c6d6
fix for Windows
lrineau Sep 3, 2025
23ed2df
Merge commit '4573670625d13097f11db64eeef460c009d660b9' into try-pyth…
lrineau Nov 17, 2025
b73b44b
only "*-latest"
lrineau Nov 17, 2025
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
1 change: 0 additions & 1 deletion .github/workflows/matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"os": [
"ubuntu-latest",
"macos-latest",
"macos-14",
"windows-latest"
],
"exclude": []
Expand Down
23 changes: 16 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,22 @@ jobs:

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

- name: Create Source Distribution
run: |
pip install setuptools wheel twine
pip install setuptools wheel twine skbuild-conan
mkdir -p build/build-python/CGAL
CGAL_VERSION=$LATEST_CGAL_VERSION
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

- name: Test Source Distribution
run: |
pip install dist/*.tar.gz
python -c "import CGAL; print(CGAL.__version__)"

- uses: actions/upload-artifact@v5
with:
Expand Down Expand Up @@ -143,6 +148,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 +188,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 +202,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 +280,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 +289,4 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install twine
python3 -m twine upload --verbose dist/*
python -m twine upload --verbose dist/*
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ _deps
cgal.egg-info/
*.whl
examples/java/error.txt
dist/

# CMake - commonly used build place
build*/
_skbuild/
__pycache__/

# Visual Studio Code
.vscode/
/.vscode/

# Conan
/.conan/
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
Loading