Skip to content

Commit c18fc63

Browse files
committed
bump to v0.1.6
2 parents 4e90e8f + 8f9839c commit c18fc63

File tree

4 files changed

+26
-25
lines changed

4 files changed

+26
-25
lines changed

.github/workflows/testing-and-deployment.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ jobs:
4646
cd tests && python -m pytest -v
4747
4848
- name: Upload sdist
49-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
5050
with:
5151
path: ./dist/*.tar.gz
52+
name: fast-simplification-sdist
5253

5354
docs_build:
5455
name: Build Documentation
@@ -91,7 +92,7 @@ jobs:
9192
strategy:
9293
fail-fast: false
9394
matrix:
94-
os: [ubuntu-latest, windows-latest, macOS-latest]
95+
os: [ubuntu-latest, windows-2019, macOS-latest]
9596

9697
steps:
9798
- uses: actions/checkout@v3
@@ -102,10 +103,10 @@ jobs:
102103
- name: List generated wheels
103104
run: ls ./wheelhouse/*
104105

105-
- uses: actions/upload-artifact@v3
106+
- uses: actions/upload-artifact@v4
106107
with:
107108
path: ./wheelhouse/*.whl
108-
name: fast-simplification-wheel
109+
name: fast-simplification-wheel-${{ matrix.os }}
109110

110111
release:
111112
name: Release
@@ -118,17 +119,12 @@ jobs:
118119
permissions:
119120
id-token: write # this permission is mandatory for trusted publishing
120121
steps:
121-
- uses: actions/download-artifact@v3
122-
with:
123-
path: dist/
124-
- name: Display structure of downloaded files
125-
run: ls -R
122+
- uses: actions/download-artifact@v4
126123
- name: Flatten directory structure
127124
run: |
128-
mv dist/fast-simplification-wheel/*/* dist/
129-
rm -rf dist/fast-simplification-wheel/
130-
- name: Display structure of downloaded files after flattening
131-
run: ls -R
125+
mkdir -p dist/
126+
find . -name '*.whl' -exec mv {} dist/ \;
127+
find . -name '*.tar.gz' -exec mv {} dist/ \;
132128
- name: Publish package distributions to PyPI
133129
uses: pypa/gh-action-pypi-publish@release/v1
134130
- name: Create GitHub Release
@@ -137,4 +133,3 @@ jobs:
137133
generate_release_notes: true
138134
files: |
139135
./**/*.whl
140-

.pre-commit-config.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
repos:
2-
3-
- repo: https://github.com/pycqa/isort
4-
rev: 5.12.0
5-
hooks:
6-
- id: isort
7-
82
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.1.3
3+
rev: v0.1.11
104
hooks:
115
- id: ruff
126
args: [--fix, --exit-non-zero-on-fix]
137
exclude: ^(docs/|tests)
148
- id: ruff-format
159

10+
- repo: https://github.com/pycqa/isort
11+
rev: 5.13.2
12+
hooks:
13+
- id: isort
14+
1615
- repo: https://github.com/codespell-project/codespell
1716
rev: v2.2.6
1817
hooks:
@@ -21,7 +20,7 @@ repos:
2120
additional_dependencies: ["tomli"]
2221

2322
- repo: https://github.com/keewis/blackdoc
24-
rev: v0.3.8
23+
rev: v0.3.9
2524
hooks:
2625
- id: blackdoc
2726
files: '\.py$'
@@ -45,6 +44,6 @@ repos:
4544

4645
# this validates our github workflow files
4746
- repo: https://github.com/python-jsonschema/check-jsonschema
48-
rev: 0.27.0
47+
rev: 0.27.3
4948
hooks:
5049
- id: check-github-workflows

README.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ For the full documentation visit: https://pyvista.github.io/fast-simplification/
1111

1212
.. image:: https://github.com/pyvista/fast-simplification/raw/main/doc/images/simplify_demo.png
1313

14+
Installation
15+
------------
16+
Fast Simplification can be installed from PyPI using pip on Python >= 3.7::
17+
18+
pip install fast-simplification
19+
20+
See the `Contributing <https://github.com/pyvista/fast-simplification#contributing>`_ for more details regarding development or if the installation through pip doesn't work out.
21+
1422
Basic Usage
1523
-----------
1624
The basic interface is quite straightforward and can work directly
@@ -205,7 +213,6 @@ will share the same topology.
205213
... points_out, faces_out, _ = fast_simplification.replay_simplification(mesh.points, mesh.faces, collapses)
206214
... decimated_meshes.append(pyvista.PolyData(points_out, faces_out))
207215
208-
209216
Contributing
210217
------------
211218
Contribute to this repository by forking this repository and installing in

fast_simplification/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
version_info = 0, 27, 'dev0'
77
88
"""
9-
version_info = 0, 1, 5
9+
version_info = 0, 1, 6
1010
__version__ = ".".join(map(str, version_info))

0 commit comments

Comments
 (0)