File tree 5 files changed +26
-27
lines changed
5 files changed +26
-27
lines changed Original file line number Diff line number Diff line change 80
80
name : sdist
81
81
path : dist/*.tar.gz
82
82
83
- test_rst :
84
- needs : build_wheels
85
- name : Test rst docs
86
- runs-on : ubuntu-20.04
87
-
88
- steps :
89
- - uses : actions/checkout@v4
90
-
91
- - uses : actions/setup-python@v5
92
- with :
93
- python-version : ' 3.12'
94
-
95
- - uses : actions/download-artifact@v4
96
- with :
97
- name : wheels-ubuntu-20.04
98
- path : wheelhouse
99
-
100
- - run : pip install --upgrade pip
101
- - run : pip install pytest
102
- - run : pip install --no-index --find-links wheelhouse python_flint
103
- - run : pytest --doctest-glob='*.rst' doc/source
104
-
105
83
test_wheels :
106
84
needs : build_wheels
107
85
name : Test ${{ matrix.python-version }} wheel on ${{ matrix.os }}
@@ -143,6 +121,22 @@ jobs:
143
121
- run : pip install .
144
122
- run : python -m flint.test --verbose
145
123
124
+ test_docs :
125
+ name : Test docs (build and doctest)
126
+ runs-on : ubuntu-24.04
127
+ steps :
128
+ - uses : actions/checkout@v4
129
+ - uses : actions/setup-python@v5
130
+ with :
131
+ python-version : ' 3.12'
132
+ - run : sudo apt-get update
133
+ - run : sudo apt-get install libflint-dev
134
+
135
+ - run : pip install --upgrade pip
136
+ - run : pip install -r requirements-dev.txt
137
+ - run : spin run -- pytest --doctest-glob='*.rst' doc/source
138
+ - run : spin docs
139
+
146
140
# Test build with minimum Cython and meson-python versions.
147
141
test_old_build_requires :
148
142
name : ' Test old Cython/meson-python'
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ and Arb (arbitrary-precision ball arithmetic). Features:
9
9
* Polynomials, power series and matrices over all the above types
10
10
* Lots of mathematical functions
11
11
12
- Documentation: http ://fredrikj.net/ python-flint/
12
+ Documentation: https ://python-flint.readthedocs.io/en/latest /
13
13
14
14
Repository: https://github.com/flintlib/python-flint/
15
15
@@ -67,7 +67,7 @@ as follows:
67
67
See the documentation for further notes on building and installing
68
68
python-flint:
69
69
70
- * https://fredrikj.net/ python-flint/setup.html
70
+ * https://python-flint.readthedocs.io/en/latest /setup.html
71
71
72
72
Examples
73
73
-------------------------------------
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ description = "Bindings for FLINT"
4
4
version = " 0.7.0a4"
5
5
# This needs to be in sync with README, cibuildwheel and CI config.
6
6
requires-python = " >= 3.10"
7
- urls = {Homepage = " https://github.com/flintlib/python-flint" }
8
7
authors = [
9
8
{
name =
" Fredrik Johansson" ,
email =
" [email protected] " },
10
9
]
@@ -13,6 +12,12 @@ classifiers = [
13
12
" Topic :: Scientific/Engineering :: Mathematics" ,
14
13
]
15
14
15
+ [project .urls ]
16
+ Homepage = " https://github.com/flintlib/python-flint"
17
+ Documentation = " https://python-flint.readthedocs.io/en/latest/"
18
+ Repository = " https://github.com/flintlib/python-flint"
19
+ Changelog = " https://github.com/flintlib/python-flint/blob/master/README.md#changelog"
20
+
16
21
[project .readme ]
17
22
file = " README.md"
18
23
content-type = " text/markdown"
Original file line number Diff line number Diff line change @@ -1660,7 +1660,7 @@ cdef class fmpz_mod_poly(flint_poly):
1660
1660
:math:`f^e \mod x^n`/
1661
1661
1662
1662
Note: For exponents larger that 2^31 (which do not fit inside a ulong) use the
1663
- method :method :`~.pow_mod` with the explicit modulus `x^n`.
1663
+ method :meth :`~.pow_mod` with the explicit modulus `x^n`.
1664
1664
1665
1665
>>> R = fmpz_mod_poly_ctx(163)
1666
1666
>>> x = R.gen()
Original file line number Diff line number Diff line change @@ -1139,7 +1139,7 @@ cdef class fq_default_poly(flint_poly):
1139
1139
:math:`f^e \mod x^n`/
1140
1140
1141
1141
Note: For exponents larger that 2^31 (which do not fit inside a ulong) use the
1142
- method :method :`~.pow_mod` with the explicit modulus `x^n`.
1142
+ method :meth :`~.pow_mod` with the explicit modulus `x^n`.
1143
1143
1144
1144
>>> R = fq_default_poly_ctx(163)
1145
1145
>>> x = R.gen()
You can’t perform that action at this time.
0 commit comments