Skip to content

Commit 8155c94

Browse files
committed
Merge branch 'topic/default/prepare-release' into 'branch/default'
Prepare release 0.8.0 See merge request fluiddyn/transonic!160
2 parents 15e55b2 + a9fe7f2 commit 8155c94

File tree

6 files changed

+42
-15
lines changed

6 files changed

+42
-15
lines changed

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
version: 2
22

33
build:
4-
os: ubuntu-22.04
4+
os: ubuntu-24.04
55
tools:
6-
python: "3.10"
6+
python: "3.13"
77
jobs:
88
post_create_environment:
99
- pip install pdm

CHANGES.md

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

33
See also the
4-
[unreleased changes](https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.7.3...branch%2Fdefault).
4+
[unreleased changes](https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.8.0...branch%2Fdefault).
5+
6+
## [0.8.0] (2025-10-02)
7+
8+
- [!159] Support for Pythran `type` keyword
9+
(<https://github.com/serge-sans-paille/pythran/pull/2339>)
10+
11+
- [!155] Meson: support `py_limited_api` variable to target the stable ABI (with Pythran)
12+
13+
- [!151] New argument `keep_local_annotations` for the `boost` decorator (for Pythran)
14+
15+
- [!156] Support for Python 3.14
16+
17+
- Requires Python >=3.11
518

619
## [0.7.3] (2024-12-02)
720

@@ -276,6 +289,10 @@ See also the
276289

277290
- Add a dist package
278291

292+
[!151]: https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/151
293+
[!155]: https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/155
294+
[!156]: https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/156
295+
[!159]: https://foss.heptapod.net/fluiddyn/transonic/-/merge_requests/159
279296
[0.4.12]: https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.4.11...0.4.12
280297
[0.5.0]: https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.4.12...0.5.0
281298
[0.5.1]: https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.5.0...0.5.1
@@ -290,3 +307,4 @@ See also the
290307
[0.7.1]: https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.7.0...0.7.1
291308
[0.7.2]: https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.7.1...0.7.2
292309
[0.7.3]: https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.7.2...0.7.3
310+
[0.8.0]: https://foss.heptapod.net/fluiddyn/transonic/-/compare/0.7.3...0.8.0

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
[![Documentation status](https://readthedocs.org/projects/transonic/badge/?version=latest)](http://transonic.readthedocs.org)
66
![Supported Python versions](https://img.shields.io/pypi/pyversions/transonic.svg)
77
[![Heptapod CI](https://foss.heptapod.net/fluiddyn/transonic/badges/branch/default/pipeline.svg)](https://foss.heptapod.net/fluiddyn/transonic/-/pipelines)
8-
[![Github Actions](https://github.com/fluiddyn/transonic/actions/workflows/ci-linux.yml/badge.svg?branch=branch/default)](https://github.com/fluiddyn/transonic/actions)
8+
[![Github Actions Linux](https://github.com/fluiddyn/transonic/actions/workflows/ci-linux.yml/badge.svg?branch=branch/default)](https://github.com/fluiddyn/transonic/actions)
9+
[![Github Actions Windows](https://github.com/fluiddyn/transonic/actions/workflows/ci-windows.yml/badge.svg?branch=branch/default)](https://github.com/fluiddyn/transonic/actions)
910
[![mybinder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/fluiddyn/transonic/branch/default?urlpath=lab/tree/doc/ipynb/executed)
1011
[![sonarcloud](https://sonarcloud.io/api/project_badges/measure?project=fluiddyn_transonic&metric=alert_status)](https://sonarcloud.io/dashboard?id=fluiddyn_transonic)
1112

@@ -15,7 +16,7 @@
1516

1617
<!-- start short description -->
1718

18-
Transonic is a pure Python package (requiring Python >= 3.9) to easily accelerate modern
19+
Transonic is a pure Python package (requiring Python >= 3.11) to easily accelerate modern
1920
Python-Numpy code with different accelerators (currently [Cython], [Pythran], [Numba] and
2021
[JAX], but potentially later [Cupy], [PyTorch], [Weld], [Pyccel], etc...).
2122

doc/index.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Transonic documentation
22

3-
```{include} ../README.md
4-
---
5-
start-after: <!-- start short description -->
6-
end-before: <!-- end short description -->
7-
---
8-
```
3+
Transonic is a pure Python package (requiring Python >= 3.11) to easily accelerate modern
4+
Python-Numpy code with different accelerators (currently [Cython], [Pythran], [Numba] and
5+
[JAX], but potentially later [Cupy], [PyTorch], [Weld], [Pyccel], etc...).
6+
7+
**The accelerators are not hard dependencies of Transonic:** Python codes using Transonic
8+
run fine without any accelerators installed (of course without speedup)!
99

1010
```{toctree}
1111
---
@@ -80,3 +80,12 @@ for_dev
8080
- {ref}`genindex`
8181
- {ref}`modindex`
8282
- {ref}`search`
83+
84+
[cupy]: https://cupy.chainer.org/
85+
[cython]: https://cython.org/
86+
[jax]: https://github.com/google/jax
87+
[numba]: https://numba.pydata.org/
88+
[pyccel]: https://github.com/pyccel/pyccel
89+
[pythran]: https://github.com/serge-sans-paille/pythran
90+
[pytorch]: https://pytorch.org/
91+
[weld]: https://github.com/weld-project/weld

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "pdm.backend"
44

55
[project]
66
name = "transonic"
7-
version = "0.7.3"
7+
version = "0.8.0"
88
description = "Make your Python code fly at transonic speeds!"
99
authors = [
1010
{ name = "Pierre Augier", email = "[email protected]" },

src/transonic/backends/jax.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ def add_jax_comments(code):
3838
node = gast.Import([g_alias])
3939

4040
# Replace `from numpy import eye` -> `from jax.numpy import eye`
41-
elif isinstance(node, gast.ImportFrom):
42-
if node.module == "numpy":
43-
node.module = "jax.numpy"
41+
elif isinstance(node, gast.ImportFrom) and node.module == "numpy":
42+
node.module = "jax.numpy"
4443

4544
# Add JIT decorator
4645
if (

0 commit comments

Comments
 (0)