Skip to content

Commit

Permalink
Merge pull request #161 from mkoeppe/prep-2.1.5
Browse files Browse the repository at this point in the history
Prepare release 2.1.5
  • Loading branch information
Matthias Köppe authored Mar 18, 2024
2 parents d7c59e9 + aa18939 commit aa84088
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 15 deletions.
4 changes: 4 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CyPari 2 is an open-source project maintained by the SageMath community.

The [Code of Conduct](https://github.com/sagemath/sage/blob/develop/CODE_OF_CONDUCT.md)
of the Sage community applies.
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CyPari 2 is an open-source project maintained by the SageMath community.

Contributions of all sorts are heartily welcomed.

See https://github.com/sagemath/sage/blob/develop/CONTRIBUTING.md for general
guidance on how to contribute.

Open issues or submit pull requests at https://github.com/sagemath/cypari2
and join https://groups.google.com/group/sage-devel to discuss.
19 changes: 17 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
cypari2 change log
==================

v2.1.5 (release candidate)
------

- build wheels for PyPI [`https://github.com/sagemath/cypari2/pull/141`] by @mkoeppe
- add missing `noexcept` clauses for Cython 3 [`https://github.com/sagemath/cypari2/pull/160`]
by @tornaria
- require Python >= 3.9 [`https://github.com/sagemath/cypari2/pull/155`] by @saraedum
- modernize Python metadata [`https://github.com/sagemath/cypari2/pull/158`] by @mkoeppe
- add input checking for matrix indices [`https://github.com/sagemath/cypari2/pull/149`]
by @fchapoton
- coding style improvements [`https://github.com/sagemath/cypari2/pull/148`,
`https://github.com/sagemath/cypari2/pull/150`,
`https://github.com/sagemath/cypari2/pull/151`,
`https://github.com/sagemath/cypari2/pull/156`,
`https://github.com/sagemath/cypari2/pull/157`,
`https://github.com/sagemath/cypari2/pull/159`] by @fchapoton

v2.1.4
------

Expand All @@ -14,5 +31,3 @@ v2.1.3

- compatibility with PARI 2.15
- compatibility with Python 3.11 [`https://github.com/sagemath/cypari2/pull/120`]


37 changes: 27 additions & 10 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,28 @@ From a distribution package (GNU/Linux, conda-forge)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

A package might be available in your package manager, see
https://repology.org/project/python:cypari2/versions
https://repology.org/project/python:cypari2/versions or
https://doc.sagemath.org/html/en/reference/spkg/cypari for
installation instructions.


From a pre-built wheel from PyPI
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Requirements:

- Python >= 3.9
- pip

Install cypari2 via the Python Package Index (PyPI) via

::

$ pip install cypari2 [--user]

(the optional option *--user* allows to install cypari2 for a single user
and avoids using pip with administrator rights).


From source with pip
^^^^^^^^^^^^^^^^^^^^
Expand All @@ -32,7 +53,7 @@ Install cypari2 via the Python Package Index (PyPI) via

::

$ pip install cypari2 [--user]
$ pip install --no-binary cypari2 cypari2 [--user]

(the optional option *--user* allows to install cypari2 for a single user
and avoids using pip with administrator rights).
Expand All @@ -47,13 +68,6 @@ If you want to try the development version, use

$ pip install git+https://github.com/sagemath/cypari2.git [--user]

If you have an error saying libpari-gmp*.so* is missing and have all requirements
already installed, try to reinstall cysignals and cypari2

::

$ pip install cysignals --upgrade [--user]
$ pip install cypari2 --upgrade [--user]

Usage
-----
Expand Down Expand Up @@ -126,4 +140,7 @@ the PARI/GP documentation at http://pari.math.u-bordeaux.fr/doc.html
Contributing
------------

Submit pull request or get in touch with the SageMath developers.
CyPari 2 is maintained by the SageMath community.

Open issues or submit pull requests at https://github.com/sagemath/cypari2
and join https://groups.google.com/group/sage-devel to discuss.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.4
2.1.5rc1
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ backend-path = ["."]

[project]
name = "cypari2"
version = "2.1.4"
description = "A Python interface to the number theory library PARI/GP"
authors = [
{name = "Luca De Feo, Vincent Delecroix, Jeroen Demeyer, Vincent Klein", email = "sage-devel@googlegroups.com"},
{name = "Luca De Feo, Vincent Delecroix, Jeroen Demeyer, Vincent Klein"},
]
maintainers = [
{name = "SageMath developers", email = "sage-devel@googlegroups.com"},
]
dependencies = [
"cysignals>=1.7",
Expand All @@ -21,6 +23,12 @@ requires-python = ">=3.9"
readme = "README.rst"
license = {text = "GNU General Public License, version 2 or later"}
keywords = ["PARI/GP number theory"]
dynamic = [
"version",
]

[project.urls]
Homepage = "https://github.com/sagemath/cypari2"

[tool.setuptools.dynamic]
version = {file = "VERSION"}

0 comments on commit aa84088

Please sign in to comment.