Skip to content

Commit 0b119bd

Browse files
committed
Merge branch 'topic/default/transonic-0.7.3' into 'branch/default'
transonic 0.7.3 for py>3.10, beniget~=0.4.2 and gast~=0.6.0 See merge request fluiddyn/transonic!145
2 parents a3b8195 + fc6f552 commit 0b119bd

File tree

8 files changed

+2835
-2485
lines changed

8 files changed

+2835
-2485
lines changed

.github/workflows/ci-linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: ["3.9", "3.10", "3.11", "3.12"]
12+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1313

1414
steps:
1515
- name: apt install
1616
run: |
1717
sudo apt install -y libopenmpi-dev libopenblas-dev
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Install dependencies

.github/workflows/ci-windows.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,12 @@ jobs:
1010
defaults:
1111
run:
1212
shell: bash -l {0}
13-
strategy:
14-
matrix:
15-
python-version: ["3.11", "3.12"]
1613

1714
steps:
18-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1916
- uses: prefix-dev/[email protected]
2017
with:
21-
pixi-version: v0.26.1
18+
pixi-version: v0.38.0
2219
cache: false
2320
- name: Tests
2421
run: |

CHANGES.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Release notes
22

33
See also the
4-
[unreleased changes](https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.7.2...branch%2Fdefault).
4+
[unreleased changes](https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.7.3...branch%2Fdefault).
5+
6+
## [0.7.3] (2024-12-02)
7+
8+
- Support Python 3.10 to 3.13 with beniget~=0.4.2 and gast~=0.6.0 (like Pythran 0.17)
59

610
## [0.7.2] (2024-08-26)
711

@@ -285,3 +289,4 @@ See also the
285289
[0.7.0]: https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.6.4...0.7.0
286290
[0.7.1]: https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.7.0...0.7.1
287291
[0.7.2]: https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.7.1...0.7.2
292+
[0.7.3]: https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.7.2...0.7.3

noxfile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,17 @@
1313
@nox.parametrize("with_pythran", [0, 1])
1414
@nox.session
1515
def test(session, with_pythran, with_cython):
16-
command = "pdm sync -G base_test"
16+
command = "pdm sync -G base-test"
1717
session.run_always(*command.split(), external=True)
1818

1919
py_version = (
2020
session.python
2121
if session.python is not None
2222
else sys.version.split(maxsplit=1)[0]
2323
)
24-
if version.parse(py_version) < version.parse("3.12"):
24+
if version.parse(py_version) < version.parse("3.13"):
25+
# Numba not yet compatible with 3.13 (2024-12-02)
2526
session.install("numba")
26-
else:
27-
session.install("setuptools")
2827

2928
session.install("jax", "jaxlib")
3029

@@ -34,6 +33,7 @@ def test(session, with_pythran, with_cython):
3433
session.install("cython")
3534

3635
if version.parse(py_version) < version.parse("3.12"):
36+
session.install("setuptools<60.0")
3737
for backend in ("python", "pythran"):
3838
print(f"TRANSONIC_BACKEND={backend}")
3939
session.run(

pdm.lock

Lines changed: 1174 additions & 1253 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pixi.lock

Lines changed: 1638 additions & 1213 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pixi.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "transonic"
33
version = "0.1.0"
4-
description = "Add a short description here"
4+
description = "Make your Python code fly at transonic speeds!"
55
channels = ["conda-forge"]
66
platforms = ["linux-64", "win-64"]
77

pyproject.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ build-backend = "pdm.backend"
44

55
[project]
66
name = "transonic"
7-
version = "0.7.2"
7+
version = "0.7.3"
88
description = "Make your Python code fly at transonic speeds!"
99
authors = [
1010
{ name = "Pierre Augier", email = "[email protected]" },
1111
]
12-
dependencies = ["autopep8", "beniget ~=0.4.0", "gast ~=0.5.0", "numpy"]
13-
requires-python = ">= 3.9"
12+
dependencies = ["autopep8", "beniget ~=0.4.2", "gast ~=0.6.0", "numpy"]
13+
requires-python = ">= 3.10"
1414
readme = "README.md"
1515
license = { text = "BSD License" }
1616
keywords = ["pythran"]
1717
classifiers = [
1818
"License :: OSI Approved :: BSD License",
1919
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
2221
"Programming Language :: Python :: 3.11",
2322
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2424
]
2525

2626
[project.urls]
@@ -44,7 +44,7 @@ ignore_package_warnings = ["ipython"]
4444

4545
[tool.pdm.dev-dependencies]
4646

47-
base_test = [
47+
base-test = [
4848
"black",
4949
"coverage[toml]",
5050
"mpi4py",
@@ -53,6 +53,8 @@ base_test = [
5353
"pytest-cov",
5454
"pytest-venv",
5555
"scipy",
56+
# setuptools for transonic.dist
57+
"setuptools",
5658
"-e transonic_testing @ file:///${PROJECT_ROOT}/_transonic_testing",
5759
]
5860
test = [

0 commit comments

Comments
 (0)