Skip to content

Commit

Permalink
Rollback pip build linux with python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentRouvreau committed Nov 19, 2024
1 parent d23a105 commit e78aecf
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/pip-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,28 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- name: Build wheel for Python 3.13
- name: Build wheel for Python 3.9
run: |
mkdir build_313
cd build_313
cmake -DCMAKE_BUILD_TYPE=Release -DPython_EXECUTABLE=$PYTHON313/bin/python ..
mkdir build_39
cd build_39
cmake -DCMAKE_BUILD_TYPE=Release -DPython_EXECUTABLE=$PYTHON39/bin/python ..
cd src/python
$PYTHON313/bin/python -m build -n -w
$PYTHON39/bin/python -m build -n -w
auditwheel repair dist/*.whl
# NumPy 2.X is installed and guarantees ABI compatibility, test it with the minimal numpy version for python version
- name: Install and test wheel for Python 3.13
- name: Install and test wheel for Python 3.9
run: |
$PYTHON313/bin/python -m pip install --user pytest build_313/src/python/dist/*.whl
$PYTHON313/bin/python -m pip install numpy~=2.1.2
$PYTHON313/bin/python -c "import gudhi; print(gudhi.__version__)"
$PYTHON313/bin/python -m pytest -v src/python/test/test_alpha_complex.py
$PYTHON313/bin/python -m pytest -v src/python/test/test_delaunay_complex.py
$PYTHON313/bin/python -m pytest -v src/python/test/test_bottleneck_distance.py
$PYTHON313/bin/python -m pytest -v src/python/test/test_cubical_complex.py
$PYTHON313/bin/python -m pytest -v src/python/test/test_rips_complex.py
$PYTHON39/bin/python -m pip install --user pytest build_39/src/python/dist/*.whl
$PYTHON39/bin/python -m pip install numpy~=1.19.3
$PYTHON39/bin/python -c "import gudhi; print(gudhi.__version__)"
$PYTHON39/bin/python -m pytest -v src/python/test/test_alpha_complex.py
$PYTHON39/bin/python -m pytest -v src/python/test/test_delaunay_complex.py
$PYTHON39/bin/python -m pytest -v src/python/test/test_bottleneck_distance.py
$PYTHON39/bin/python -m pytest -v src/python/test/test_cubical_complex.py
$PYTHON39/bin/python -m pytest -v src/python/test/test_rips_complex.py
- name: Upload linux python wheel
# Should use actions/upload-artifact@v4, but requires node20, not available for quay.io/pypa/manylinux2014_x86_64
uses: actions/upload-artifact@v3
with:
name: linux python wheel
path: build_313/src/python/wheelhouse/*.whl
path: build_39/src/python/wheelhouse/*.whl

0 comments on commit e78aecf

Please sign in to comment.