Skip to content

Commit 4920921

Browse files
Merge pull request #311 from oscarbenjamin/pr_readme
maint: update release notes
2 parents 48b36cc + 5ad1dc9 commit 4920921

File tree

5 files changed

+58
-19
lines changed

5 files changed

+58
-19
lines changed

README.md

Lines changed: 53 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Author: Fredrik Johansson <fredrik.johansson@gmail.com>
1818
Installation
1919
------------
2020

21-
Currently python-flint supports CPython versions 3.11-3.13 and 3.13t
21+
Currently python-flint supports CPython versions 3.11-3.14 and 3.14t
2222
(free-threaded) and provides binaries on PyPI for the following platforms:
2323

2424
- Windows (x86-64)
@@ -144,41 +144,80 @@ Compatible versions:
144144

145145
| python-flint | Release date | CPython | FLINT | Cython |
146146
|--------------|---------------|-------------|------------|------------------|
147-
| `0.8.0` | Aug 2025?| `3.11-3.14` | `3.0-3.3` | `3.1` only |
147+
| `0.8.0` | 29th Aug 2025 | `3.11-3.14` | `3.0-3.3` | `3.1` only |
148148
| `0.7.0` | 16th Mar 2025 | `3.11-3.13` | `3.0-3.2` | `3.0.11-3.1.0a1` |
149149
| `0.6.0` | 1st Feb 2024 | `3.9-3.12` | `3.0` only | `3.0` only |
150150

151151
The requirement for Cython 3.1 is only for CPython's free-threaded build.
152-
Otherwise any version of Cython 3.x is fine. As of python-flint 0.7.0, CPython
153-
3.13 [PEP 703](https://peps.python.org/pep-0703/) free-threaded (no-GIL) builds
154-
of python-flint are provided. In the the free-threaded build, mutating matrices
155-
or polynomials from multiple threads can lead to memory corruption. There are
156-
some other known issues with the free-threaded build so it should be considered
152+
Otherwise Cython 3.0 is fine. As of python-flint 0.7.0, CPython 3.13 [PEP
153+
703](https://peps.python.org/pep-0703/) free-threaded (no-GIL) builds of
154+
python-flint are provided. In the the free-threaded build, mutating matrices or
155+
polynomials from multiple threads can lead to memory corruption. There are some
156+
other known issues with the free-threaded build so it should be considered
157157
experimental.
158158

159159
CHANGELOG
160160
=========
161161

162-
Next release (0.8.0)...
162+
Next release (0.9.0)...
163163
-----------------------
164164

165-
Contributors
165+
0.8.0
166+
-----
167+
168+
Contributors (0.8.0):
166169

167170
- Oscar Benjamin (OB)
168171
- Robert Dougherty-Bliss (RDB)
169172
- Rémy Oudompheng (RO)
170-
171-
Changes
172-
173+
- Agriya Khetarpal (AK)
174+
175+
Notes (0.8.0):
176+
177+
- This mostly a maintenance release with some bug fixes,
178+
dependency updates and a few smaller features.
179+
- Since GitHub Actions is retiring its MacOS x86-64 runners
180+
python-flint 0.8.0 is likely the last release to provide
181+
prebuilt wheels for MacOS x86-64 (MacOS arm64 remains
182+
fully supported). It is likely that future versions will
183+
still work fine on MacOS x86-64 but would require building
184+
from source and will not be tested in python-flint's CI.
185+
MacOS arm64 wheels will still be provided and tested.
186+
187+
Changes (0.8.0):
188+
189+
- [gh-302](https://github.com/flintlib/python-flint/pull/302),
190+
[gh-283](https://github.com/flintlib/python-flint/pull/283),
191+
[gh-284](https://github.com/flintlib/python-flint/pull/284),
192+
Wheels now ship MPFR 4.2.2 and FLINT 3.3.1. Cython 3.1 is now
193+
supported for building (and required for the freethreaded
194+
build). Wheels are provided for CPython 3.14 and 3.14t
195+
(free-threaded) and PyPy 3.11. (OB)
173196
- [gh-310](https://github.com/flintlib/python-flint/pull/310),
174197
Add `truncate`, `left_shift` and `right_shift` methods to
175198
`fmpz_poly`, `fmpq_poly`, `nmod_poly`, `acb_poly`, `arb_poly`
176199
to match other univariate polynomial types. (RO)
177-
- [gh-300](https://github.com/flintlib/python-flint/pull/300), Fix `arb.repr`
178-
which now returns a Python representation that round trips. (OB)
200+
- [gh-287](https://github.com/flintlib/python-flint/pull/287),
201+
[gh-293](https://github.com/flintlib/python-flint/pull/293),
202+
[gh-305](https://github.com/flintlib/python-flint/pull/305),
203+
[gh-307](https://github.com/flintlib/python-flint/pull/307),
204+
[gh-309](https://github.com/flintlib/python-flint/pull/309),
205+
Add type annotations for `fmpz`, `fmpq`, `nmod`, `fmpz_mod`,
206+
`fq_default`, `fmpz_poly`, `fmpq_poly`, `nmod_poly`,
207+
`fmpz_mod_poly`, `fq_default_poly`, `fmpz_mpoly`, `fmpq_mpoly`,
208+
`nmod_mpoly`, `fmpz_mod_mpoly`, `fmpz_series` and `fmpq_series`
209+
(about half of the codebase). (OB)
210+
- [gh-300](https://github.com/flintlib/python-flint/pull/300),
211+
Fix `arb.repr` which now returns a Python representation that
212+
round trips. (OB)
213+
- [gh-292](https://github.com/flintlib/python-flint/pull/292),
214+
The `fmpq` constructor now accepts `fmpq` numerator and denominator
215+
as input. (OB)
179216
- [gh-289](https://github.com/flintlib/python-flint/pull/289),
180217
Add `.prec` attribute to series types `fmpz_series`, `fmpq_series`,
181218
`arb_series` and `acb_series`. (OB)
219+
- [gh-285](https://github.com/flintlib/python-flint/pull/285),
220+
Don't use deprecated meson build option. (AK)
182221
- [gh-274](https://github.com/flintlib/python-flint/pull/274),
183222
Add resultant methods to `fmpz_poly`, `fmpq_poly` and
184223
`nmod_poly`. Now all univariate and polynomial types have the

doc/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
# built documents.
5353
#
5454
# The short X.Y version.
55-
version = '0.7.1'
55+
version = '0.8.0'
5656
# The full version, including alpha/beta/rc tags.
57-
release = '0.7.1'
57+
release = '0.8.0'
5858

5959
# The language for content autogenerated by Sphinx. Refer to documentation
6060
# for a list of supported languages.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "python-flint"
33
description = "Bindings for FLINT"
4-
version = "0.7.1"
4+
version = "0.8.0"
55
# This needs to be in sync with README, and CI config.
66
requires-python = ">= 3.11"
77
authors = [

src/flint/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
Ordering,
4949
)
5050

51-
__version__ = "0.7.1"
51+
__version__ = "0.8.0"
5252

5353
__all__ = [
5454
"ctx",

src/flint/test/test_all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def raises(f, exception) -> bool:
4848

4949
def test_pyflint():
5050

51-
assert flint.__version__ == "0.7.1"
51+
assert flint.__version__ == "0.8.0"
5252

5353
ctx = flint.ctx
5454
assert str(ctx) == repr(ctx) == _default_ctx_string

0 commit comments

Comments
 (0)