pyiges 0.3.2__tar.gz → 0.3.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. {pyiges-0.3.2 → pyiges-0.3.3}/.github/workflows/testing-and-deployment.yml +26 -8
  2. {pyiges-0.3.2 → pyiges-0.3.3}/.pre-commit-config.yaml +8 -8
  3. {pyiges-0.3.2 → pyiges-0.3.3}/PKG-INFO +1 -1
  4. {pyiges-0.3.2 → pyiges-0.3.3}/pyproject.toml +1 -1
  5. {pyiges-0.3.2 → pyiges-0.3.3}/.flake8 +0 -0
  6. {pyiges-0.3.2 → pyiges-0.3.3}/.gitignore +0 -0
  7. {pyiges-0.3.2 → pyiges-0.3.3}/CONTRIBUTING.rst +0 -0
  8. {pyiges-0.3.2 → pyiges-0.3.3}/LICENSE +0 -0
  9. {pyiges-0.3.2 → pyiges-0.3.3}/MANIFEST.in +0 -0
  10. {pyiges-0.3.2 → pyiges-0.3.3}/Makefile +0 -0
  11. {pyiges-0.3.2 → pyiges-0.3.3}/README.rst +0 -0
  12. {pyiges-0.3.2 → pyiges-0.3.3}/docs/Makefile +0 -0
  13. {pyiges-0.3.2 → pyiges-0.3.3}/docs/conf.py +0 -0
  14. {pyiges-0.3.2 → pyiges-0.3.3}/docs/geometry.rst +0 -0
  15. {pyiges-0.3.2 → pyiges-0.3.3}/docs/images/impeller_lines.png +0 -0
  16. {pyiges-0.3.2 → pyiges-0.3.3}/docs/images/impeller_surf.png +0 -0
  17. {pyiges-0.3.2 → pyiges-0.3.3}/docs/index.rst +0 -0
  18. {pyiges-0.3.2 → pyiges-0.3.3}/docs/make.bat +0 -0
  19. {pyiges-0.3.2 → pyiges-0.3.3}/docs/pyiges.rst +0 -0
  20. {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/__init__.py +0 -0
  21. {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/check_imports.py +0 -0
  22. {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/constants.py +0 -0
  23. {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/entity.py +0 -0
  24. {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/examples/__init__.py +0 -0
  25. {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/examples/impeller.igs +0 -0
  26. {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/examples/sample.igs +0 -0
  27. {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/faces.py +0 -0
  28. {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/geometry.py +0 -0
  29. {pyiges-0.3.2 → pyiges-0.3.3}/src/pyiges/iges.py +0 -0
  30. {pyiges-0.3.2 → pyiges-0.3.3}/tests/conftest.py +0 -0
  31. {pyiges-0.3.2 → pyiges-0.3.3}/tests/reference_data/example-arcs.iges +0 -0
  32. {pyiges-0.3.2 → pyiges-0.3.3}/tests/test_pyiges.py +0 -0
@@ -44,15 +44,33 @@ jobs:
44
44
  flit build
45
45
  twine check dist/*
46
46
 
47
- - name: Upload to PyPi
48
- if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
47
+ pypi:
48
+ name: Publish to PyPI
49
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
50
+ needs: [unit_tests]
51
+ runs-on: ubuntu-latest
52
+ environment:
53
+ name: pypi
54
+ url: https://pypi.org/p/pyiges
55
+ permissions:
56
+ id-token: write # this permission is mandatory for trusted publishing
57
+ steps:
58
+ - uses: actions/checkout@v4
59
+ with:
60
+ persist-credentials: false
61
+
62
+ - name: Set up Python
63
+ uses: actions/setup-python@v5
64
+ with:
65
+ python-version: '3.13'
66
+
67
+ - name: Build package
49
68
  run: |
50
- pip install twine
51
- twine upload --skip-existing dist/pyiges*
52
- env:
53
- TWINE_USERNAME: __token__
54
- TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}
55
- TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/
69
+ pip install flit
70
+ flit build
71
+
72
+ - name: Publish package distributions to PyPI
73
+ uses: pypa/gh-action-pypi-publish@release/v1
56
74
 
57
75
  Release:
58
76
  if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
@@ -5,7 +5,7 @@ ci:
5
5
 
6
6
  repos:
7
7
  - repo: https://github.com/astral-sh/ruff-pre-commit
8
- rev: v0.11.12
8
+ rev: v0.15.9
9
9
  hooks:
10
10
  - id: ruff-check
11
11
  args: [--fix, --exit-non-zero-on-fix]
@@ -13,13 +13,13 @@ repos:
13
13
  - id: ruff-format
14
14
 
15
15
  - repo: https://github.com/keewis/blackdoc
16
- rev: v0.3.9
16
+ rev: v0.4.6
17
17
  hooks:
18
18
  - id: blackdoc
19
19
  exclude: README.rst
20
20
 
21
21
  - repo: https://github.com/codespell-project/codespell
22
- rev: v2.4.1
22
+ rev: v2.4.2
23
23
  hooks:
24
24
  - id: codespell
25
25
  args: [--skip=*.vt*]
@@ -32,20 +32,20 @@ repos:
32
32
  files: ^src/pyminiply/.*\.py
33
33
 
34
34
  - repo: https://github.com/pre-commit/mirrors-mypy
35
- rev: v1.16.0
35
+ rev: v1.20.0
36
36
  hooks:
37
37
  - id: mypy
38
38
  additional_dependencies: [numpy>=2.0, pytest-stub]
39
39
 
40
40
  - repo: https://github.com/pre-commit/pre-commit-hooks
41
- rev: v5.0.0
41
+ rev: v6.0.0
42
42
  hooks:
43
43
  - id: check-merge-conflict
44
44
  - id: debug-statements
45
45
  - id: trailing-whitespace
46
46
 
47
47
  - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
48
- rev: v2.14.0
48
+ rev: v2.16.0
49
49
  hooks:
50
50
  - id: pretty-format-toml
51
51
  args: [--autofix]
@@ -53,11 +53,11 @@ repos:
53
53
  args: [--autofix, --indent, '2']
54
54
 
55
55
  - repo: https://github.com/pre-commit/mirrors-clang-format
56
- rev: v20.1.5
56
+ rev: v22.1.2
57
57
  hooks:
58
58
  - id: clang-format
59
59
 
60
60
  - repo: https://github.com/python-jsonschema/check-jsonschema
61
- rev: 0.33.0
61
+ rev: 0.37.1
62
62
  hooks:
63
63
  - id: check-github-workflows
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyiges
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: Pythonic IGES reader
5
5
  Keywords: iges,cad,nurbs,bspline
6
6
  Author-email: PyVista Developers <info@pyvista.org>
@@ -30,7 +30,7 @@ license = {text = "MIT"}
30
30
  name = "pyiges"
31
31
  readme = "README.rst"
32
32
  requires-python = ">=3.9"
33
- version = "0.3.2"
33
+ version = "0.3.3"
34
34
 
35
35
  [project.optional-dependencies]
36
36
  docs = [
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes