Skip to content

Commit

Permalink
Merge pull request #26413 from oscarbenjamin/pr_mpmath_requirement
Browse files Browse the repository at this point in the history
maint(deps): require mpmath >= 1.1.0, < 1.4.0, Bump version to 1.12.1
  • Loading branch information
oscarbenjamin committed Mar 31, 2024
2 parents 43f2871 + 35e3497 commit a442992
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- '1.12'
env:
release_branch: '1.12'
release_version: '1.12.1a5'
release_version: '1.12.1rc1'
final_release_version: '1.12.1'
previous_version: '1.12'
dev_version: '1.13-dev'
Expand Down Expand Up @@ -136,11 +136,11 @@ jobs:
- name: Copy the PyPI files into dist
run: mkdir dist && cp dist.all/*.whl dist.all/*.tar.gz dist

#- name: Publish package on PyPI
- name: Publish package on PyPI
# It is recommended to pin a commit hash here for security but it
# should be kept up to date. Probably all actions and dependencies
# installed by the build script should be pinned...
# uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
# used by the build script should be pinned...
uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14

# -------------------- Make a GitHub release --------------------- #

Expand Down Expand Up @@ -168,7 +168,6 @@ jobs:
gh release create ${{ env.release_version }} dist/*
--title "SymPy ${{ env.release_version }}"
--notes "See https://github.com/sympy/sympy/wiki/release-notes-for-${{ env.final_release_version }} for release notes"
--draft
# -------------------- Update the docs repository ---------------- #

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,6 @@ sample.tex

# Files for pyodide test
pyodide

# Files for hypothesis test
.hypothesis/
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
from setuptools.command.sdist import sdist


min_mpmath_version = '0.19'

# This directory
dir_setup = os.path.dirname(os.path.realpath(__file__))

Expand Down Expand Up @@ -312,6 +310,9 @@ def run(self):
project_urls={
'Source': 'https://github.com/sympy/sympy',
},
install_requires=[
'mpmath >= 1.1.0, < 1.4.0',
],
py_modules=['isympy'],
packages=['sympy'] + modules + tests,
ext_modules=[],
Expand Down Expand Up @@ -350,8 +351,5 @@ def run(self):
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
install_requires=[
'mpmath>=%s' % min_mpmath_version,
],
**extra_kwargs
)
2 changes: 1 addition & 1 deletion sympy/release.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.12.1a5"
__version__ = "1.12.1rc1"

0 comments on commit a442992

Please sign in to comment.