File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change @@ -155,3 +155,33 @@ jobs:
155155 - run : bin/install_flint_ubuntu.sh ${{ matrix.flint-tag }}
156156 - run : pip install .
157157 - run : python -m flint.test --verbose
158+
159+ # Deploy wheels and sdist to PyPI
160+
161+ pypi_release :
162+ name : Publish to PyPI
163+ needs : [build_wheels, build_sdist]
164+ # Run only when a tag is pushed to the flintlib/python-flint repo
165+ if : " github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.owner == 'flintlib'"
166+ environment :
167+ name : pypi
168+ url : https://pypi.org/p/sympy
169+ permissions :
170+ id-token : write
171+ runs-on : ubuntu-latest
172+
173+ steps :
174+ # Downloads all artifacts
175+ - name : Download release artifacts
176+ uses : actions/download-artifact@v4
177+ with :
178+ path : wheelhouse
179+
180+ - name : Copy the PyPI files into dist
181+ run : mkdir dist && cp wheelhouse/*.whl wheelhouse/*.tar.gz dist
182+
183+ - name : Publish package on PyPI
184+ # It is recommended to pin a commit hash here for security but it
185+ # should be kept up to date. Possibly all actions and dependencies used
186+ # by the build script should be pinned...
187+ uses : pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
Original file line number Diff line number Diff line change @@ -133,8 +133,19 @@ CHANGELOG
133133
134134Next release:
135135
136+ - [ gh-148 ] ( https://github.com/flintlib/python-flint/pull/148 )
137+ Remove debug symbols to make smaller Linux binaries.
138+ - [ gh-144 ] ( https://github.com/flintlib/python-flint/pull/144 )
139+ Add ` rel_one_ccuracy_bits ` to ` arb ` and ` acb ` .
140+ - [ gh-142 ] ( https://github.com/flintlib/python-flint/pull/142 )
141+ Add ` acb_theta ` (only available for Flint >= 3.1).
142+ - [ gh-137 ] ( https://github.com/flintlib/python-flint/pull/137 )
143+ Add ` erfinv ` and ` erfcinv ` for ` arb ` .
144+ - [ gh-129 ] ( https://github.com/flintlib/python-flint/pull/129 )
145+ Use meson-python instead of setuptools as the build backend.
136146- [ gh-125 ] ( https://github.com/flintlib/python-flint/pull/125 )
137- Bump Flint version to 3.1.0
147+ Bump Flint version to 3.1.2 (Flint 3.0.0 - 3.1.2 is supported but the wheels
148+ are built with 3.1.2).
138149
1391500.6.0
140151
Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ MPIRVER=3.0.0 # MPIR build no longer works (not clear where to download from)
2121# These are the actual dependencies used (at least by default):
2222GMPVER=6.3.0
2323MPFRVER=4.1.0
24- FLINTVER=3.1.0
24+ FLINTVER=' 3.1.3-p1 '
Original file line number Diff line number Diff line change 5151# built documents.
5252#
5353# The short X.Y version.
54- version = '0.6.0 '
54+ version = '0.7.0a1 '
5555# The full version, including alpha/beta/rc tags.
56- release = '0.6.0 '
56+ release = '0.7.0a1 '
5757
5858# The language for content autogenerated by Sphinx. Refer to documentation
5959# for a list of supported languages.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "mesonpy"
55[project ]
66name = " python-flint"
77description = " Bindings for FLINT and Arb"
8- version = " 0.6.0 "
8+ version = " 0.7.0a1 "
99urls = {Homepage = " https://github.com/flintlib/python-flint" }
1010authors = [
1111 {name = " Fredrik Johansson" , email = " fredrik.johansson@gmail.com" },
Original file line number Diff line number Diff line change 3838 FLINT_RELEASE as __FLINT_RELEASE__ ,
3939)
4040
41- __version__ = '0.6.0 '
41+ __version__ = '0.7.0a1 '
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ def raises(f, exception):
3232
3333def test_pyflint ():
3434
35- assert flint .__version__ == "0.6.0 "
35+ assert flint .__version__ == "0.7.0a1 "
3636
3737 ctx = flint .ctx
3838 assert str (ctx ) == repr (ctx ) == _default_ctx_string
You can’t perform that action at this time.
0 commit comments