Skip to content

Commit 1a7249f

Browse files
committed
fix: Use modern uv versions in CI
1 parent eccbd93 commit 1a7249f

4 files changed

Lines changed: 31 additions & 179 deletions

File tree

.github/workflows/build_release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
with:
2323
cache-dependency-glob: "uv.lock"
2424
enable-cache: true
25-
python-version: "3.12"
26-
version: "0.5.13"
2725

2826
- name: Install library and dependencies
2927
run: |
@@ -52,8 +50,6 @@ jobs:
5250
with:
5351
cache-dependency-glob: "uv.lock"
5452
enable-cache: true
55-
python-version: "3.12"
56-
version: "0.5.13"
5753

5854
- name: Install library and dependencies
5955
run: |
@@ -81,7 +77,6 @@ jobs:
8177
with:
8278
cache-dependency-glob: "uv.lock"
8379
enable-cache: true
84-
version: "0.5.13"
8580

8681
- name: Install library and dependencies
8782
run: |

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ jobs:
3232
matrix:
3333
os: [macos-latest, ubuntu-latest, windows-latest]
3434
python-version: [
35-
'3.11',
3635
'3.12',
3736
'3.13',
37+
'3.14',
3838
]
3939

4040
env:
@@ -51,7 +51,6 @@ jobs:
5151
cache-dependency-glob: "uv.lock"
5252
enable-cache: false
5353
python-version: ${{ matrix.python-version }}
54-
version: "0.5.13"
5554

5655
- name: Install library and dependencies
5756
run: |

pyproject.toml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[build-system]
2-
requires = ["maturin>=1.13.3,<2.0"]
2+
requires = ["maturin>=1.14.0,<2.0"]
33
build-backend = "maturin"
44

55
[project]
66
name = "project-name"
77
version = "0.1.0"
88
description = "A template mixed language (Python/Rust) project structure."
99
readme = "README.md"
10-
requires-python = ">=3.11"
10+
requires-python = ">=3.12"
1111
license = { file = "LICENSE" }
1212
dependencies = []
1313
authors = [{ name = "Lari Liuhamo", email = "lari.liuhamo+pypi@gmail.com" }]
@@ -17,7 +17,6 @@ classifiers = [
1717
"Development Status :: 3 - Alpha",
1818
"License :: OSI Approved :: MIT License",
1919
"Operating System :: OS Independent",
20-
"Programming Language :: Python :: 3.11",
2120
"Programming Language :: Python :: 3.12",
2221
"Programming Language :: Python :: 3.13",
2322
"Programming Language :: Python :: 3.14",
@@ -35,14 +34,14 @@ classifiers = [
3534
[dependency-groups]
3635
dev = [
3736
"jinja2>=3.1.6",
38-
"maturin>=1.13.3",
37+
"maturin>=1.14.1",
3938
"mypy>=2.3.0",
4039
"pytest>=9.1.1",
4140
"pytest-benchmark>=5.2.3",
4241
"pytest-cov>=7.1.0",
4342
"pytest-xdist[psutil]>=3.8.0",
4443
"ruff>=0.16.1",
45-
"sphinx>=9.0.4",
44+
"sphinx>=9.1.0",
4645
"tox>=4.58.0",
4746
"tox-gh-actions>=3.5.0",
4847
]
@@ -55,11 +54,11 @@ omit = [".tox/*", "tests/*"]
5554
[tool.maturin]
5655
auditwheel = "repair"
5756
bindings = "pyo3"
58-
compatibility = "manylinux2014"
57+
compatibility = "pypi"
5958
module-name = "project_name._project_name"
6059
python-source = "python"
61-
strip = true
6260
sdist-generator = "cargo"
61+
strip = true
6362

6463
[tool.pytest.ini_options]
6564
addopts = """
@@ -117,15 +116,14 @@ ban-relative-imports = "all"
117116
[tool.tox]
118117
legacy_tox_ini = """
119118
[tox]
120-
envlist = py3{11, 12, 13}, pypy3
119+
envlist = py3{12, 13, 14}
121120
skip_missing_interpreters = true
122121
123122
[gh-actions]
124123
python =
125-
3.11: py311
126124
3.12: py312
127125
3.13: py313
128-
pypy-3.11: pypy3
126+
3.14: py314
129127
130128
[testenv]
131129
pass_env =

0 commit comments

Comments
 (0)