File tree Expand file tree Collapse file tree 6 files changed +57
-6
lines changed Expand file tree Collapse file tree 6 files changed +57
-6
lines changed Original file line number Diff line number Diff line change @@ -132,14 +132,20 @@ CHANGELOG
132
132
-------------
133
133
134
134
Next release:
135
+
136
+ - [ gh-132 ] ( https://github.com/flintlib/python-flint/pull/132 )
137
+ Add ` fmpz_mpoly ` and ` fmpq_mpoly ` types for multivariate polynomials with
138
+ integer or rational coefficients.
135
139
- [ gh-160 ] ( https://github.com/flintlib/python-flint/pull/160 )
136
140
Add ` bits ` to ` arb ` and ` acb ` , add ` log_base ` to ` arb ` .
137
141
- [ gh-148 ] ( https://github.com/flintlib/python-flint/pull/148 )
138
142
Remove debug symbols to make smaller Linux binaries.
139
143
- [ gh-144 ] ( https://github.com/flintlib/python-flint/pull/144 )
140
144
Add ` rel_one_ccuracy_bits ` to ` arb ` and ` acb ` .
141
145
- [ gh-142 ] ( https://github.com/flintlib/python-flint/pull/142 )
142
- Add ` acb_theta ` module for the numerical evaluation of [ theta functions] ( https://flintlib.org/doc/acb_theta.html ) (only available for Flint >= 3.1).
146
+ Add ` acb_theta ` module for the numerical evaluation of [ theta
147
+ functions] ( https://flintlib.org/doc/acb_theta.html ) (only available for
148
+ ` Flint >= 3.1 ` ).
143
149
- [ gh-137 ] ( https://github.com/flintlib/python-flint/pull/137 )
144
150
Add ` erfinv ` and ` erfcinv ` for ` arb ` .
145
151
- [ gh-129 ] ( https://github.com/flintlib/python-flint/pull/129 )
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python
2
+
3
+ filenames_default = [
4
+ "pyproject.toml" ,
5
+ "src/flint/__init__.py" ,
6
+ "doc/source/conf.py" ,
7
+ "src/flint/test/test_all.py" ,
8
+ ]
9
+
10
+ def main (version2 = None , * filenames ):
11
+ """Bump version number in files.
12
+
13
+ $ bin/bump_version.py
14
+ Current version: 0.1.0
15
+
16
+ $ bin/bump_version.py 0.1.0 0.1.1
17
+ Set version 0.1.0 to 0.1.1 in:
18
+ pyproject.toml
19
+ src/flint/__init__.py
20
+ doc/source/conf.py
21
+ src/flint/test/test_all.py
22
+
23
+ """
24
+ with open ("pyproject.toml" , "r" ) as f :
25
+ text = f .read ()
26
+ version1 = text .split ("version = \" " )[1 ].split ("\" " )[0 ]
27
+
28
+ if not version2 :
29
+ print (f"Current version: { version1 } " )
30
+ return
31
+
32
+ if not filenames :
33
+ filenames = filenames_default
34
+
35
+ print (f"Set version { version1 } to { version2 } in:" )
36
+ for filename in filenames :
37
+ print (filename )
38
+ with open (filename , "r" ) as f :
39
+ text = f .read ()
40
+ with open (filename , "w" ) as f :
41
+ f .write (text .replace (version1 , version2 ))
42
+
43
+ if __name__ == "__main__" :
44
+ import sys
45
+ main (* sys .argv [1 :])
Original file line number Diff line number Diff line change 51
51
# built documents.
52
52
#
53
53
# The short X.Y version.
54
- version = '0.7.0a2 '
54
+ version = '0.7.0a3 '
55
55
# The full version, including alpha/beta/rc tags.
56
- release = '0.7.0a2 '
56
+ release = '0.7.0a3 '
57
57
58
58
# The language for content autogenerated by Sphinx. Refer to documentation
59
59
# for a list of supported languages.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "mesonpy"
5
5
[project ]
6
6
name = " python-flint"
7
7
description = " Bindings for FLINT and Arb"
8
- version = " 0.7.0a2 "
8
+ version = " 0.7.0a3 "
9
9
urls = {Homepage = " https://github.com/flintlib/python-flint" }
10
10
authors = [
11
11
{name = " Fredrik Johansson" , email = " fredrik.johansson@gmail.com" },
Original file line number Diff line number Diff line change 43
43
Ordering ,
44
44
)
45
45
46
- __version__ = '0.7.0a2 '
46
+ __version__ = '0.7.0a3 '
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ def raises(f, exception):
32
32
33
33
def test_pyflint ():
34
34
35
- assert flint .__version__ == "0.7.0a2 "
35
+ assert flint .__version__ == "0.7.0a3 "
36
36
37
37
ctx = flint .ctx
38
38
assert str (ctx ) == repr (ctx ) == _default_ctx_string
You can’t perform that action at this time.
0 commit comments