-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from GiacomoPope/0.4.5
Bump version to 0.5.0
- Loading branch information
Showing
7 changed files
with
77 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,30 +18,33 @@ Author: Fredrik Johansson <[email protected]> | |
Installation | ||
------------ | ||
|
||
For Windows (x86-64) or OSX (x86-64 or arm64) or Linux (x86-64 | ||
`manylinux_2_17`) there are binary wheels for python-flint on PyPI. For these | ||
platforms python-flint can be installed simply with `pip` | ||
Currently python-flint supports CPython versions 3.9-3.12. For Windows (x86-64) | ||
or OSX (x86-64 or arm64) or Linux (x86-64 `manylinux_2_17`) there are CPython | ||
binary wheels for python-flint on PyPI. For these platforms python-flint can be | ||
installed simply with `pip` | ||
|
||
pip install python-flint | ||
|
||
Alternatively python-flint can be installed using `conda` | ||
|
||
conda install -c conda-forge python-flint | ||
|
||
It is also possible to use python-flint with some PyPy versions. Binary wheels | ||
are not provided for this on PyPI but can be installed with conda. | ||
|
||
Build from source | ||
----------------- | ||
|
||
For other platforms or architectures installation needs to build from source. | ||
First install both FLINT 2.9.0 and Arb 2.23. Note that for python-flint 0.4 | ||
only these *exact* versions of FLINT and Arb will work. While some Linux | ||
distributions may provide FLINT and Arb it is unlikely that they will provide | ||
the exact versions required (e.g. for Ubuntu only Ubuntu 23.04 provides these | ||
versions at the time of writing). | ||
First install FLINT 3.0.0. Note that as of python-flint 0.5.0 only this *exact* | ||
version of FLINT will work. In future it is hoped that the version requirement | ||
for python-flint will be FLINT >= 3.0.0 but at the time of writing 3.0.0 is the | ||
newest version of FLINT that has only been released recently and is the only | ||
version that is supported by python-flint. | ||
|
||
See here for instructions on building FLINT and Arb: | ||
See here for instructions on building FLINT: | ||
|
||
* http://flintlib.org/ | ||
* http://arblib.org/ | ||
|
||
The latest release of Python-FLINT can then be built and installed using: | ||
|
||
|
@@ -54,13 +57,13 @@ as follows: | |
pip install 'cython>=3' numpy wheel | ||
pip install --no-build-isolation . | ||
|
||
A script that builds and installs FLINT, Arb and Python-FLINT that is tested on | ||
A script that builds and installs FLINT and python-flint that is tested on | ||
Ubuntu can be found in the git repo here: | ||
|
||
* https://github.com/flintlib/python-flint/blob/master/bin/pip_install_ubuntu.sh | ||
|
||
See the documentation for further notes on building and installing | ||
Python-FLINT: | ||
python-flint: | ||
|
||
* https://fredrikj.net/python-flint/setup.html | ||
|
||
|
@@ -112,11 +115,12 @@ To do | |
------------------------------------- | ||
|
||
* Write more tests and add missing docstrings | ||
* Wrap missing flint types: finite fields, p-adic numbers, multiprecision integer mods, rational functions | ||
* Wrap missing flint types: finite fields, p-adic numbers, rational functions | ||
* Vector or array types (maybe) | ||
* Many convenience methods | ||
* Write generic implementations of functions missing for specific FLINT types | ||
* Proper handling of special values in various places (throwing Python exceptions instead of aborting, etc.) | ||
* Proper handling of special values in various places (throwing Python | ||
exceptions instead of aborting, etc.) | ||
* Various automatic conversions | ||
* Conversions to and from external types (numpy, sage, sympy, mpmath, gmpy) | ||
* Improved printing and string input/output | ||
|
@@ -127,7 +131,56 @@ CHANGELOG | |
|
||
0.5.0 | ||
|
||
- gh-63: The `roots` method of `arb_poly`, and `nmod_poly` is no longer supported. Use `acb_roots(p).roots()` to get the old behaviour of returning the roots as `acb`. Note that the `roots` method of `fmpz_poly` and `fmpq_poly` currently returns the complex roots of the polynomial. | ||
Important compatibility changes: | ||
|
||
- gh-80, gh-94, gh-98: Switch from Flint 2.9 to Flint 3. | ||
- gh-100: Supports Python 3.12 by using setuptools instead of numpy.distutils. | ||
|
||
New features: | ||
|
||
- gh-87: Adds `fmpz_mod_poly` type for polynomials over `fmpz_mod`. | ||
- gh-85: Adds discrete logarithms to `fmpz_mod`. | ||
- gh-83: Introduces the `fmpz_mod` type for multi-precision integer mods. | ||
|
||
Bug fixes: | ||
|
||
- gh-93: Fixes a bug with `pow(int, int, fmpz)` which previously gave incorrect | ||
results. | ||
- gh-78, gh-79: minor fixes for the `nmod` type. | ||
|
||
0.4.4 | ||
|
||
- gh-75, gh-77: finish bulk of the work in refactoring `python-flint` into | ||
submodules | ||
- gh-72: The roots method of `arb_poly` is not supported. Use either the | ||
`complex_roots` method or `acb_roots(p).roots()` to get the old behaviour of | ||
returning the complex roots. The `roots` method on `fmpz_poly` and | ||
`fmpq_poly` now return integer and rational roots respectively. To access | ||
complex roots on these types, use the `complex_roots` method. For `acb_poly`, | ||
both `roots` and `complex_roots` behave the same | ||
- gh-71: Include files in sdist and fix issue gh-70 | ||
- gh-67: Continue refactoring job to introduce submodules into `python-flint` | ||
|
||
0.4.3 | ||
|
||
- gh-63: The `roots` method of `arb_poly`, and `nmod_poly` is no longer | ||
supported. Use `acb_roots(p).roots()` to get the old behaviour of returning | ||
the roots as `acb`. Note that the `roots` method of `fmpz_poly` and | ||
`fmpq_poly` currently returns the complex roots of the polynomial. | ||
- gh-61: Start refactoring job to introduce submodules into `python-flint` | ||
|
||
0.4.2 | ||
|
||
- gh-57: Adds manylinux wheels | ||
|
||
0.4.1 | ||
|
||
- gh-47: Removes Linux wheels, updates instructions for building from source. | ||
|
||
0.4.0 | ||
|
||
- gh-45: Adds wheels for Windows, OSX and manylinux but the Linux wheels are | ||
broken. | ||
|
||
License | ||
------------ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,7 +133,7 @@ | |
description='Bindings for FLINT and Arb', | ||
long_description=open('README.md').read(), | ||
long_description_content_type='text/markdown', | ||
version='0.4.4', | ||
version='0.5.0', | ||
url='https://github.com/flintlib/python-flint', | ||
author='Fredrik Johansson', | ||
author_email='[email protected]', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters