Skip to content

Commit

Permalink
Merge branch 'dev_py313' into 'main'
Browse files Browse the repository at this point in the history
updating for Python 3.13

See merge request kit/fast/lb/collaboration/additive-manufacturing/pygcodedecode!38
  • Loading branch information
lukashof committed Dec 11, 2024
2 parents 5295c17 + e79fa1d commit 83db10b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_to_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"

- name: install build tools
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"

- name: checkout
uses: actions/checkout@v4
Expand All @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest] # [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10"] # ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.13"]
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -47,5 +47,5 @@ jobs:
- name: upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage_report
name: coverage_report_${{ matrix.os }}_${{ matrix.python-version }}
path: ./tests/coverage.xml
24 changes: 6 additions & 18 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ stages:

test-lint:
stage: test
image: "python:3.12"
image: "python:3.13"
needs: []
script:
- pip install isort black[jupyter] flake8-docstrings
Expand All @@ -13,9 +13,13 @@ test-lint:
- flake8 . -v
when: always

.test-lin_py:
test-package:
stage: test
needs: []
parallel:
matrix:
- IMAGE: ["python:3.9", "python:3.10", "python:3.13"]
image: $IMAGE
before_script:
# missing dependencies for pyvista
- apt-get update && apt-get install libgl1 -y
Expand All @@ -32,22 +36,6 @@ test-lint:
path: ./tests/coverage.xml
when: always

test-lin_py_3.9:
extends: ".test-lin_py"
image: "python:3.9"

test-lin_py_3.10:
extends: ".test-lin_py"
image: "python:3.10"

test-lin_py_3.11:
extends: ".test-lin_py"
image: "python:3.11"

test-lin_py_3.12:
extends: ".test-lin_py"
image: "python:3.12"

doc-compile_paper:
stage: doc
needs: []
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repos:
additional_dependencies: [flake8-docstrings]
# strip output of notebooks
- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
rev: 0.8.1
hooks:
- id: nbstripout
# pyupgrade
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ where = ["."]

[project]
name = "pyGCodeDecode"
version = "1.2.0"
version = "1.3.0"
authors = [
{ name = "FAST-LB at KIT", email = "lt-github@fast.kit.edu" },
{ name = "Jonathan Knirsch", email = "jonathan.knirsch@student.kit.edu" },
Expand All @@ -30,6 +30,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
]
requires-python = ">=3.9"
Expand Down

0 comments on commit 83db10b

Please sign in to comment.