93 Commits

Author SHA1 Message Date
Sergey B Kirpichev bcc67d3e55 Enable cancel-in-progress in CI 2026-08-21 04:37:44 +03:00
dependabot[bot] da14fb3a42 Bump actions/setup-python from 6 to 7 in the actions-deps group
Bumps the actions-deps group with 1 update: [actions/setup-python](https://github.com/actions/setup-python).


Updates `actions/setup-python` from 6 to 7
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-01 22:55:26 +00:00
dependabot[bot] b20d7c530a Bump actions/checkout from 6 to 7 in the actions-deps group
Bumps the actions-deps group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 6 to 7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-01 22:55:58 +00:00
Sergey B Kirpichev 90e1cff769 Reapply "Revert testing of GMP-backends for PyPy, see #1013"
This reverts commit 390972e250.
2026-06-26 13:38:01 +03:00
Sergey B Kirpichev 390972e250 Revert "Revert testing of GMP-backends for PyPy, see #1013"
This reverts commit f580874a54.

Closes #1013
2026-06-25 03:13:21 +03:00
Sergey B Kirpichev e002cb4488 Allow python-gmp for CPython v3.15 2026-06-21 10:59:32 +03:00
Sergey B Kirpichev 11a5afe7b6 Remove --durations=20 from default pytest options 2026-06-20 07:01:58 +03:00
Sergey B Kirpichev f9822f0954 Test on CPython 3.15 (no GMP)
DeprecationWarning's are filtered out in pyexpect-enabled tests,
see pexpect/pexpect#827.
2026-04-03 11:11:36 +03:00
Doug Torrance 7b40a40cc6 Add executable bit to test_version_frozen.sh (#1066)
This fixes the "script-not-executable" warning in the Debian package.
2026-03-15 23:26:08 +03:00
flurin4 45f5adbb37 Test frozen package version (#1055)
Add bash script to test package version in a frozen application version and a separate CI job to run it.  Closes #1044.

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2026-03-07 04:32:29 +03:00
Sergey B Kirpichev 2f6a5d52f3 Drop support for CPython 3.9
(Following https://github.com/sympy/sympy/pull/28816)
2026-03-04 07:14:17 +03:00
Sergey B Kirpichev 4478a0e33d Use 3.x instead of hardcoded CPython versions in CI 2026-02-21 16:19:22 +03:00
Sergey B Kirpichev 3d84b6f851 Skip installing gmpy2 deps (binary wheels are available) 2026-02-21 16:19:22 +03:00
dependabot[bot] bdba15bb79 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-01 22:21:25 +00:00
Sergey B Kirpichev f580874a54 Revert testing of GMP-backends for PyPy, see #1013 2025-10-13 08:36:01 +03:00
Sergey B Kirpichev e274405100 Test on CPython 3.14t 2025-10-12 15:51:25 +03:00
Sergey B Kirpichev 0039506d7b Run test.yml on schedule and allow workflow dispatch for all jobs 2025-10-12 15:13:12 +03:00
dependabot[bot] 1984ee7780 Bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 04:21:14 +00:00
Sergey B Kirpichev aee92a48e7 Allow gmpy2/gmp for PyPy 2025-09-03 07:43:34 +03:00
Sergey B Kirpichev c3c9849651 Test no-gmpy2 backends on CPython 3.14 2025-09-03 05:56:41 +03:00
Sergey B Kirpichev 49a7d7a8b8 Test without gmp/gmpy2 on CPython 2025-09-03 05:26:32 +03:00
Sergey B Kirpichev bb1087f6f1 Runner image: ubuntu-latest -> ubuntu-24.04 2025-09-02 13:14:20 +03:00
Sergey B Kirpichev 362261271a Update actions 2025-09-02 13:10:09 +03:00
Sergey B Kirpichev 4d75799077 Test on free-threading builds 2025-09-01 07:15:19 +03:00
Sergey B Kirpichev f5b3e07ce4 Drop pypy3.10 from testing matrix (not supported by upstream) 2025-08-06 07:31:42 +03:00
Sergey B Kirpichev 33eb8b787b Add python-gmp as optional backend (gmpy2 alternative)
Closes #895
2025-04-28 20:52:16 +03:00
Sergey B Kirpichev a0bd397484 Test on PyPy3.11 2025-03-03 04:37:10 +03:00
Sergey B Kirpichev 198fe541fc Test on stable PyPy3.10 2025-03-03 04:37:10 +03:00
Sergey B Kirpichev 23b5d390bc Revert "Add python-gmp as optional backend (gmpy2 alternative)" 2025-03-01 05:29:44 +03:00
Sergey B Kirpichev 4d166d8853 Add python-gmp as optional backend (gmpy2 alternative)
Closes #895
2025-02-28 08:48:32 +03:00
Sergey B Kirpichev 5c719770ae Drop support for CPython 3.8
Closes #910
2025-01-29 10:35:48 +03:00
Sergey B Kirpichev 4fb7367100 Ignore missing ~/.python_history for default console
Closes #907
2025-01-29 03:43:08 +03:00
Sergey B Kirpichev ab7055fdc7 Refactor Github Actions
Split out separate workflows for linting, documentation builds, coverage
tests and regular tests.
2025-01-22 07:42:26 +03:00
Sergey B Kirpichev 372b71de1b Drop PyPy workarounds (and test on nightly builds again) 2024-09-09 10:35:09 +03:00
Sergey B Kirpichev 83b32f84fc Drop testing on PyPy 3.9
It seems, there will be no bugfix releases anymore,
see https://github.com/pypy/pypy/issues/5028#issuecomment-2337104585
2024-09-09 10:00:58 +03:00
Sergey B Kirpichev e42c111244 Enable testing on 3.14 2024-08-29 18:10:22 +03:00
Sergey B Kirpichev 042133d72b Clarify gmpy2 support
Closes #840
2024-08-18 12:36:36 +03:00
Sergey B Kirpichev 37a6271681 Test on stable pypy builds
The #772 was merged at Apr; new stable releases
dated 2024-04-23, which should include fixes for #762.
2024-08-18 10:01:04 +03:00
Sergey B Kirpichev 9a174a0806 Run CI also on schedule 2024-06-23 18:38:29 +03:00
Sergey B Kirpichev 698d97c7b6 Update codecov-action
Now coverage reports will be submitted for pr's (this doesn't require a
token).  But not for the master.

Not very helpful, as coverage diff will be wrt very outdated version of
the master, but...
2024-05-06 06:25:45 +03:00
Sergey B Kirpichev 5d88099e00 Use diff-cover to test diff coverage 2024-04-27 14:32:05 +03:00
Sergey B Kirpichev 5f724296dd Run mpmath as a module for interactive work
Example:
```
$ python -m mpmath --prec 100 --no-ipython
>>> 10.9
mpf('10.899999999999999999999999999995')
>>> mpf(1090/100)
mpf('10.899999999999999999999999999995')
>>> mpf('10.9')
mpf('10.899999999999999999999999999995')
>>> mpf(109)/mpf(10)
mpf('10.899999999999999999999999999995')
>>> mpf(10.9)
mpf('10.899999999999999999999999999995')
```

Closes #677
Closes #765
2024-04-14 10:20:44 +03:00
Sergey B Kirpichev 745b2420a1 Don't fail on coverage upload
See codecov/codecov-action#1359
2024-04-09 06:18:52 +03:00
Sergey B Kirpichev 2e6a1a6ff1 Test against PyPy nightly builds
This also drops testing against PyPy 3.8 (it's unmaintained).

Closes #762
2024-03-31 16:33:48 +03:00
Sergey B Kirpichev 7a13848342 Run flake8 on mpmath/ dir only 2024-03-01 07:31:21 +03:00
Sergey B Kirpichev 0429f855f2 Revert update for codecov-action (v4 requires a token) 2024-02-26 13:02:43 +03:00
Sergey B Kirpichev 6932ee99f4 Cleanup test.yml, run no-gmpy tests on 3.11 2024-02-26 08:36:19 +03:00
Sergey B Kirpichev 529daf5b8f Update versions for GA actions 2024-02-24 08:01:27 +03:00
Sergey B Kirpichev 25d326c95a Use asserts in normalize(), drop MPMATH_STRICT
For production code this could be removed by -O optimization.
2024-02-24 06:28:44 +03:00
Sergey B Kirpichev 9ac75475eb Run tests on CPython 3.13 (no gmpy2) 2024-02-23 18:19:01 +03:00