Skip to content

Commit

Permalink
sagemathgh-39268: Upgrade dependency requirements in accordance with …
Browse files Browse the repository at this point in the history
…Spec 0

    
<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->

Following https://scientific-python.org/specs/spec-0000/, we update the
version requirements of a few dependencies so that sage code can use new
features form these libraries.


### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [ ] The title is concise and informative.
- [ ] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#39268
Reported by: Tobias Diez
Reviewer(s): Dima Pasechnik
  • Loading branch information
Release Manager committed Jan 6, 2025
2 parents 42942ac + 122e440 commit a04a932
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ requires = [
'cython >=3.0, != 3.0.3',
'gmpy2 ~=2.1.b999',
'memory_allocator',
'numpy >=1.19',
'numpy >=1.25',
'jinja2'
]
[project]
Expand All @@ -26,29 +26,21 @@ dependencies = [
'gmpy2 ~=2.1.b999',
'lrcalc ~=2.1',
'memory_allocator',
'numpy >=1.19',
'numpy >=1.25',
# Issue #30922: pplpy 0.8.4 and earlier do not declare dependencies correctly
'pplpy >=0.8.6',
'primecountpy',
'requests >=2.13.0',
# According to https://github.com/python/typing_extensions/blob/main/CHANGELOG.md,
# version 4.4.0 adds another Python 3.11 typing backport
'typing_extensions >= 4.4.0; python_version<"3.11"',
'ipython >=7.13.0',
'ipython >=8.9.0',
'pexpect >=4.8.0',
'sphinx >=5.2, <9',
'networkx >=2.4',
# 1.8 is known good version.
# Per https://docs.scipy.org/doc/scipy/dev/core-dev/index.html#version-numbering
# and https://docs.scipy.org/doc/scipy/dev/core-dev/index.html#deprecations,
# deprecations cannot be introduced in micro releases.
# SciPy devs wait "at least 6 months", "in practice two (minor) releases"
# from deprecation to removal of a feature.
'scipy >=1.5',
'networkx >=3.1',
'scipy >=1.11',
'sympy >=1.6, <2.0',
# Issue #33642: Set lower bound for use of matplotlib color maps introduced in #33491,
# and to suppress deprecation warnings (https://github.com/matplotlib/matplotlib/pull/21073)
'matplotlib >=3.5.1',
'matplotlib >=3.7.0',
'pillow >=7.2.0',
'mpmath >=1.1.0',
'ipykernel >=5.2.1',
Expand Down

0 comments on commit a04a932

Please sign in to comment.