Skip to content

Commit 24c2f51

Browse files
authored
Fix CD build (#158)
* Use build instead of sdist * Forgot -m on build command * Replace deprecated install command * Bump version
1 parent 2f004b2 commit 24c2f51

File tree

3 files changed

+34
-6
lines changed

3 files changed

+34
-6
lines changed

.github/workflows/python-publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,24 @@ jobs:
2626
run: |
2727
git clone https://github.com/martinus/robin-hood-hashing ripser/robinhood
2828
python -m pip install --upgrade pip
29+
python -m pip install --upgrade build
2930
pip install setuptools wheel twine Cython numpy pytest
30-
python setup.py install
31+
python -m pip install .
3132
- name: Run tests
3233
run: pytest .
3334
- name: Build and publish
3435
env:
3536
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
3637
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3738
run: |
38-
python setup.py sdist
39+
python -m build
3940
twine upload --skip-existing dist/*
4041
4142
deploy-windows-pip:
4243
strategy:
4344
fail-fast: false
4445
matrix:
45-
arch: ['x86', 'x64']
46+
arch: ["x86", "x64"]
4647
python-version: ["3.9", "3.10", "3.11", "3.12"]
4748

4849
runs-on: "windows-latest"
@@ -58,14 +59,15 @@ jobs:
5859
run: |
5960
git clone https://github.com/martinus/robin-hood-hashing ripser/robinhood
6061
python -m pip install --upgrade pip
62+
python -m pip install --upgrade build
6163
pip install setuptools wheel twine Cython numpy pytest
62-
python setup.py install
64+
python -m pip install .
6365
- name: Run tests
6466
run: pytest .
6567
- name: Build and publish
6668
env:
6769
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
6870
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
6971
run: |
70-
python setup.py bdist_wheel
72+
python -m build
7173
twine upload --skip-existing dist/*

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,106 @@
1+
# 0.6.7
2+
3+
- Update CD commands for newer build system.
4+
15
# 0.6.5
6+
27
- Bugfix for lower star filtrations with edges that come in at exactly 0 (courtesy of Riccardo Ceccaroni)
38

49
# 0.6.4
10+
511
- Add some includes to ripser.cpp for newer Ubuntu/C++ environments
612

713
# 0.6.3
14+
815
- Update numpy header
916

1017
# 0.6.2
18+
1119
- Prevent simplex assembly in last dimension for improved memory usage (courtesy of Umberto Lupo)
1220

1321
# 0.6.1
22+
1423
- Lazy import plotting dependencies
1524

1625
# 0.6.0
26+
1727
- Update C++ backend to commit 286d369 of [ripser](https://github.com/Ripser/ripser) but keeping same functionalities
1828
- Add support to robinhood hashmap into the C++ Backend
1929
- Update CI in order to compile C++ with robinhood enable
2030
- Enable Enclosing radius when threshold is set to infinity
2131

2232
# 0.5.5
33+
2334
- Updating CI/CD pipeline.
2435

2536
# 0.5.4
37+
2638
- Fixing issue with inconsistent answers from different scipy.sparse formats, courtesy of Umberto Lupo
2739

2840
# 0.5.3
41+
2942
- Adding link to ripser++ GPU version by Simon Zhang
3043

3144
# 0.5.2:
45+
3246
- Cocycle indices now correspond to point cloud indices, even
3347
when a greedy permutation is in use
3448

3549
# 0.4.1:
50+
3651
- Fixed packing so C++ is MSVC compatible.
3752

3853
# 0.4.0:
54+
3955
- Added license to distributed packages.
4056

4157
# 0.3.2:
58+
4259
- Added support for greedy permutations.
4360
- Outsourced plotting to persim.
4461
- Outsourced data construction in examples to tadasets.
4562
- Revamped documentation.
4663

4764
# 0.3.0:
65+
4866
- Completed JOSS review, thanks @lmcinnes and @arokem!!
4967
- Documentation details updated.
5068

5169
# 0.2.7:
70+
5271
- Updating home url
5372

5473
# 0.2.6:
74+
5575
- Update license to MIT.
5676

5777
# 0.2.5:
78+
5879
- Docs and notebooks revamp.
5980
- Support for Windows.
6081

6182
# 0.2.4:
83+
6284
- Interface redesign
6385

6486
# 0.2.3:
87+
6588
- Support for lower star filtrations
6689
- Notebook on lower star filtrations
6790

6891
# 0.2.1:
92+
6993
- Sparse distance matrix support
7094
- Two additional notebooks about sparsity
7195
- Language agnostic bindings support
7296
- Bug fixes (filtrations with low number of points)
7397

7498
# 0.2.0:
99+
75100
- Bug fixes (int rounding error for small magnitude threshold)
76101

77102
# 0.1.7:
103+
78104
- Generation of cocycles.
79105
- Handle inf in C code and in plotting.
80106
- Many new options for plotting diagrams.

ripser/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.6.5"
1+
__version__ = "0.6.7"

0 commit comments

Comments
 (0)