@@ -185,40 +185,45 @@ Highlights (0.7.0):
185185 available for ` Flint >= 3.1 ` ). (EC)
186186- [ gh-129 ] ( https://github.com/flintlib/python-flint/pull/129 )
187187 Use meson/meson-python instead of setuptools as the build system
188- for parallel builds and better detection of dependency
188+ for parallel builds and better detection of build and dependency
189189 requirements. (OB)
190190
191191Compatibility break (0.7.0):
192192
193193- [ gh-189 ] ( https://github.com/flintlib/python-flint/pull/189 )
194194 As of python-flint 0.7.0 ` fmpq_poly.factor() ` now returns
195- primitive rather than monic factors i.e. ` 2*x + 1 ` rather than `x
196- + 1/2`. This ensures consistency between all poly types including
197- between ` fmpq_poly ` and ` fmpq_mpoly ` . (OB)
195+ primitive rather than monic factors i.e. ` 2*x + 1 ` rather than
196+ ` x + 1/2` . This ensures consistency between all poly types
197+ including between ` fmpq_poly ` and ` fmpq_mpoly ` . (OB)
198198
199199Other changes (0.7.0):
200200
201+ - [ gh-189 ] ( https://github.com/flintlib/python-flint/pull/189 )
202+ All scalar and poly types now have ` sqrt ` . All poly types now
203+ have ` factor_squarefree ` and ` leading_coefficient ` methods.
204+ Exception types raised in a number of places were changed to
205+ ` DomainError ` for better consistency.
201206- [ gh-196 ] ( https://github.com/flintlib/python-flint/pull/196 )
202- Supported Python versions are 3.10-3.13 (3.9 dropped). CI Testing
203- added for 3.13 free-threaded CPython.
207+ Supported Python versions are 3.10-3.13 (3.9 dropped). CI
208+ Testing added for 3.13 free-threaded CPython.
204209- [ gh-194 ] ( https://github.com/flintlib/python-flint/pull/194 )
205210 Add version checking for build requirements. (OB)
206211- [ gh-180 ] ( https://github.com/flintlib/python-flint/pull/180 )
207- Add ` equal_trunc ` , ` add_trunc ` , ` sub_trunc ` , ` mul_low ` , ` mul_mod `
208- and ` pow_trunc ` methods to ` fmpz_mod_poly ` . (GP)
212+ Add ` equal_trunc ` , ` add_trunc ` , ` sub_trunc ` , ` mul_low ` ,
213+ ` mul_mod ` and ` pow_trunc ` methods to ` fmpz_mod_poly ` . (GP)
209214- [ gh-177 ] ( https://github.com/flintlib/python-flint/pull/177 )
210215 Remove old Py2 code for compatibility with Cython 3.1. (OB)
211216- [ gh-176 ] ( https://github.com/flintlib/python-flint/pull/176 )
212217 Fix the error messages from ` fmpq ` constructor. (OB)
213218- [ gh-174 ] ( https://github.com/flintlib/python-flint/pull/174 )
214219 Add ` pow_mod ` and ` compose_mod ` methods to ` nmod_poly ` and
215- ` fmpz_mod_poly ` . Also add some missing methods to ` nmod_poly ` that
216- other poly types already have. (GP)
220+ ` fmpz_mod_poly ` . Also add some missing methods to ` nmod_poly `
221+ that other poly types already have. (GP)
217222- [ gh-172 ] ( https://github.com/flintlib/python-flint/pull/172 )
218223 Add ` fmpz_is_square ` . (JR)
219224- [ gh-168 ] ( https://github.com/flintlib/python-flint/pull/168 )
220- Make comparisons consistent between different types. Add ` is_one `
221- and ` is_zero ` for all poly types. (OB)
225+ Make comparisons consistent between different types. Add
226+ ` is_one ` and ` is_zero ` for all poly types. (OB)
222227- [ gh-161 ] ( https://github.com/flintlib/python-flint/pull/161 )
223228 Add ` acb.lerch_phi ` to compute the Lerch transcendent. (OB)
224229- [ gh-160 ] ( https://github.com/flintlib/python-flint/pull/160 )
@@ -265,7 +270,8 @@ Important compatibility changes:
265270 [ gh-98 ] ( https://github.com/flintlib/python-flint/issues/98 ) :
266271 Switch from Flint 2.9 to Flint 3.
267272- [ gh-100 ] ( https://github.com/flintlib/python-flint/issues/100 ) :
268- Supports Python 3.12 by using setuptools instead of numpy.distutils.
273+ Supports Python 3.12 by using setuptools instead of
274+ numpy.distutils.
269275
270276New features:
271277
@@ -279,8 +285,8 @@ New features:
279285Bug fixes:
280286
281287- [ gh-93 ] ( https://github.com/flintlib/python-flint/issues/93 ) :
282- Fixes a bug with ` pow(int, int, fmpz) ` which previously gave incorrect
283- results.
288+ Fixes a bug with ` pow(int, int, fmpz) ` which previously gave
289+ incorrect results.
284290- [ gh-78 ] ( https://github.com/flintlib/python-flint/issues/78 ) ,
285291 [ gh-79 ] ( https://github.com/flintlib/python-flint/issues/79 ) :
286292 minor fixes for the ` nmod ` type.
@@ -293,11 +299,12 @@ Bug fixes:
293299 submodules
294300- [ gh-72 ] ( https://github.com/flintlib/python-flint/issues/72 ) :
295301 The roots method of ` arb_poly ` is not supported. Use either the
296- ` complex_roots ` method or ` acb_roots(p).roots() ` to get the old behaviour of
297- returning the complex roots. The ` roots ` method on ` fmpz_poly ` and
298- ` fmpq_poly ` now return integer and rational roots respectively. To access
299- complex roots on these types, use the ` complex_roots ` method. For ` acb_poly ` ,
300- both ` roots ` and ` complex_roots ` behave the same
302+ ` complex_roots ` method or ` acb_roots(p).roots() ` to get the old
303+ behaviour of returning the complex roots. The ` roots ` method on
304+ ` fmpz_poly ` and ` fmpq_poly ` now return integer and rational
305+ roots respectively. To access complex roots on these types, use
306+ the ` complex_roots ` method. For ` acb_poly ` , both ` roots ` and
307+ ` complex_roots ` behave the same
301308- [ gh-71 ] ( https://github.com/flintlib/python-flint/issues/71 ) :
302309 Include files in sdist and fix issue
303310 [ gh-70 ] ( https://github.com/flintlib/python-flint/issues/70 )
@@ -307,10 +314,11 @@ Bug fixes:
3073140.4.3
308315
309316- [ gh-63 ] ( https://github.com/flintlib/python-flint/issues/63 ) :
310- The ` roots ` method of ` arb_poly ` , and ` nmod_poly ` is no longer supported. Use
311- ` acb_roots(p).roots() ` to get the old behaviour of returning the roots as
312- ` acb ` . Note that the ` roots ` method of ` fmpz_poly ` and ` fmpq_poly ` currently
313- returns the complex roots of the polynomial.
317+ The ` roots ` method of ` arb_poly ` , and ` nmod_poly ` is no longer
318+ supported. Use ` acb_roots(p).roots() ` to get the old behaviour
319+ of returning the roots as ` acb ` . Note that the ` roots ` method of
320+ ` fmpz_poly ` and ` fmpq_poly ` currently returns the complex roots
321+ of the polynomial.
314322- [ gh-61 ] ( https://github.com/flintlib/python-flint/issues/61 ) :
315323 Start refactoring job to introduce submodules into ` python-flint `
316324
@@ -322,12 +330,14 @@ Bug fixes:
3223300.4.1
323331
324332- [ gh-47 ] ( https://github.com/flintlib/python-flint/issues/47 ) :
325- Removes Linux wheels, updates instructions for building from source.
333+ Removes Linux wheels, updates instructions for building from
334+ source.
326335
3273360.4.0
328337
329338- [ gh-45 ] ( https://github.com/flintlib/python-flint/issues/45 ) :
330- Adds wheels for Windows, OSX and manylinux but the Linux wheels are broken.
339+ Adds wheels for Windows, OSX and manylinux but the Linux wheels
340+ are broken.
331341
332342License
333343------------
0 commit comments