Skip to content

Commit

Permalink
build python 3.13 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
akaszynski committed Nov 26, 2024
1 parent 5d4fffc commit 9aead28
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/testing-and-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
cache: pip

- name: Install lsdyna-mesh-reader
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/cibuildwheel@v2.19.2
uses: pypa/cibuildwheel@v2.22.0

- uses: actions/upload-artifact@v4
with:
Expand All @@ -70,7 +70,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'

- name: Build sdist
run: pipx run build --sdist
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ci:

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.3
rev: v0.8.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -32,15 +32,15 @@ repos:
files: ^src/pyminiply/.*\.py

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: debug-statements
- id: trailing-whitespace
exclude: .*\.(cdb|k|dat)$

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
rev: v1.13.0
hooks:
- id: mypy
additional_dependencies: [numpy>=2.0, npt-promote==0.1]
Expand All @@ -55,11 +55,11 @@ repos:
args: [--autofix, --indent, '2']

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.6
rev: v19.1.4
hooks:
- id: clang-format

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.2
rev: 0.29.4
hooks:
- id: check-github-workflows
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]
dependencies = [
"numpy>=1.22.4"
Expand All @@ -30,14 +31,15 @@ version = "0.2.dev0"

[project.optional-dependencies]
docs = ["pydata-sphinx-theme", "numpydoc", "sphinx", "sphinx-copybutton", "myst-parser"]
pyvista = ["pyvista"]

[project.urls]
Documentation = "https://akaszynski.github.io/lsdyna-mesh-reader/"
Repository = "https://github.com/akaszynski/lsdyna-mesh-reader"

[tool.cibuildwheel]
archs = ["auto64"] # 64-bit only
skip = "cp38-* cp313-* pp* *musllinux*" # 3.9-3.12 and no PyPy and musl-based wheels
skip = "cp38-* cp314-* pp* *musllinux*" # 3.9-3.13 and no PyPy and musl-based wheels
test-command = "pytest {project}/tests -v"
test-requires = "pytest pyvista"

Expand Down

0 comments on commit 9aead28

Please sign in to comment.