python-gmp 0.4.0a4__tar.gz → 0.4.0a5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/.clang-format +1 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/.github/workflows/coverage.yml +1 -1
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/.github/workflows/publish.yml +1 -1
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/.github/workflows/test.yml +2 -1
- python_gmp-0.4.0a5/.github/workflows/wheels.yml +39 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/PKG-INFO +4 -4
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/README.rst +2 -2
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/main.c +385 -2434
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/pyproject.toml +15 -5
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/python_gmp.egg-info/PKG-INFO +4 -4
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/python_gmp.egg-info/SOURCES.txt +3 -2
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/python_gmp.egg-info/requires.txt +1 -1
- python_gmp-0.4.0a5/python_gmp.egg-info/top_level.txt +1 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/pythoncapi_compat.h +385 -7
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/scripts/cibw_before_all.sh +4 -0
- python_gmp-0.4.0a5/scripts/dll-importexport.diff +13 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/setup.py +3 -1
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/tests/conftest.py +11 -1
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/tests/test_functions.py +15 -6
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/tests/test_outofmem.py +2 -0
- python_gmp-0.4.0a5/zz.c +1855 -0
- python_gmp-0.4.0a5/zz.h +90 -0
- python_gmp-0.4.0a4/.github/workflows/wheels.yml +0 -50
- python_gmp-0.4.0a4/_gmp_fractions.py +0 -1085
- python_gmp-0.4.0a4/python_gmp.egg-info/top_level.txt +0 -2
- python_gmp-0.4.0a4/tests/test_mpq.py +0 -68
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/.github/dependabot.yml +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/.github/workflows/docs.yml +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/.github/workflows/linter.yml +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/.gitignore +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/.pre-commit-config.yaml +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/.readthedocs.yaml +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/LICENSE +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/docs/conf.py +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/docs/index.rst +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/python_gmp.egg-info/dependency_links.txt +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/scripts/cibw_repair_wheel_command.sh +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/scripts/cibw_repair_wheel_command_windows.bat +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/scripts/cibw_repair_wheel_command_windows.sh +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/scripts/fat_build_fix.diff +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/setup.cfg +0 -0
- {python_gmp-0.4.0a4 → python_gmp-0.4.0a5}/tests/test_mpz.py +0 -0
|
@@ -14,7 +14,8 @@ jobs:
|
|
|
14
14
|
strategy:
|
|
15
15
|
fail-fast: true
|
|
16
16
|
matrix:
|
|
17
|
-
python-version: [3.9, '3.10', 'pypy3.10', pypy3.11, graalpy-24.
|
|
17
|
+
python-version: [3.9, '3.10', 'pypy3.10', pypy3.11, graalpy-24.2,
|
|
18
|
+
3.11, 3.12, 3.13, 3.13t, 3.14]
|
|
18
19
|
runs-on: ubuntu-24.04
|
|
19
20
|
env:
|
|
20
21
|
PYTEST_ADDOPTS: --verbose --capture=no
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
name: Build Wheels
|
|
2
|
+
on: [workflow_dispatch, workflow_call]
|
|
3
|
+
jobs:
|
|
4
|
+
build_wheels:
|
|
5
|
+
name: Build wheel on ${{ matrix.os }}
|
|
6
|
+
runs-on: ${{ matrix.os }}
|
|
7
|
+
strategy:
|
|
8
|
+
matrix:
|
|
9
|
+
os: [ubuntu-24.04, ubuntu-24.04-arm, macos-13, macos-14,
|
|
10
|
+
windows-2022]
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
with:
|
|
14
|
+
fetch-depth: 0
|
|
15
|
+
- uses: msys2/setup-msys2@v2.27.0
|
|
16
|
+
name: Setup msys2
|
|
17
|
+
with:
|
|
18
|
+
install: >-
|
|
19
|
+
mingw-w64-ucrt-x86_64-gcc
|
|
20
|
+
autotools
|
|
21
|
+
msystem: ucrt64
|
|
22
|
+
path-type: inherit
|
|
23
|
+
if: ${{ startsWith(matrix.os, 'windows') }}
|
|
24
|
+
- name: Build wheels
|
|
25
|
+
uses: pypa/cibuildwheel@v3.0.0
|
|
26
|
+
- uses: actions/upload-artifact@v4
|
|
27
|
+
with:
|
|
28
|
+
name: wheels-${{ matrix.os }}
|
|
29
|
+
path: ./wheelhouse/
|
|
30
|
+
merge:
|
|
31
|
+
runs-on: ubuntu-24.04
|
|
32
|
+
needs: build_wheels
|
|
33
|
+
steps:
|
|
34
|
+
- name: Merge Wheels
|
|
35
|
+
uses: actions/upload-artifact/merge@v4
|
|
36
|
+
with:
|
|
37
|
+
name: python-gmp-wheels
|
|
38
|
+
pattern: wheels-*
|
|
39
|
+
delete-merged: true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-gmp
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.0a5
|
|
4
4
|
Summary: Safe bindings to the GNU GMP library
|
|
5
5
|
Author-email: Sergey B Kirpichev <skirpichev@gmail.com>
|
|
6
6
|
Maintainer-email: Sergey B Kirpichev <skirpichev@gmail.com>
|
|
@@ -38,7 +38,7 @@ License-File: LICENSE
|
|
|
38
38
|
Provides-Extra: tests
|
|
39
39
|
Requires-Dist: pytest; extra == "tests"
|
|
40
40
|
Requires-Dist: hypothesis; extra == "tests"
|
|
41
|
-
Requires-Dist: mpmath>=1.4.
|
|
41
|
+
Requires-Dist: mpmath>=1.4.0a6; extra == "tests"
|
|
42
42
|
Provides-Extra: docs
|
|
43
43
|
Requires-Dist: sphinx>=8.2; extra == "docs"
|
|
44
44
|
Provides-Extra: develop
|
|
@@ -57,8 +57,8 @@ shouldn't crash the interpreter! It requires Python 3.9 or later versions and
|
|
|
57
57
|
has been tested with CPython 3.9 through 3.14 and for PyPy 3.10 and 3.11.
|
|
58
58
|
|
|
59
59
|
This module can be used as a gmpy2/python-flint replacement to provide
|
|
60
|
-
CPython-compatible integer (mpz)
|
|
61
|
-
|
|
60
|
+
CPython-compatible integer (mpz) type. It includes few functions (factorial,
|
|
61
|
+
gcd and isqrt), compatible with the stdlib's module math.
|
|
62
62
|
|
|
63
63
|
Releases are available in the Python Package Index (PyPI) at
|
|
64
64
|
https://pypi.org/project/python-gmp/
|
|
@@ -6,8 +6,8 @@ shouldn't crash the interpreter! It requires Python 3.9 or later versions and
|
|
|
6
6
|
has been tested with CPython 3.9 through 3.14 and for PyPy 3.10 and 3.11.
|
|
7
7
|
|
|
8
8
|
This module can be used as a gmpy2/python-flint replacement to provide
|
|
9
|
-
CPython-compatible integer (mpz)
|
|
10
|
-
|
|
9
|
+
CPython-compatible integer (mpz) type. It includes few functions (factorial,
|
|
10
|
+
gcd and isqrt), compatible with the stdlib's module math.
|
|
11
11
|
|
|
12
12
|
Releases are available in the Python Package Index (PyPI) at
|
|
13
13
|
https://pypi.org/project/python-gmp/
|