-
-
Notifications
You must be signed in to change notification settings - Fork 482
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to primecount 4.7 #27662
Comments
Branch: u/slelievre/primecount-4.6 |
Commit: |
comment:2
After applying the changes in this ticket, downloading the tarball, and running
testing on python3 gives:
New commits:
|
comment:3
Indeed, this is invalid Python 3 in Cython |
This comment has been minimized.
This comment has been minimized.
comment:4
Thanks for the analysis. I'll make that change in |
comment:5
Did you mean this? diff --git a/src/sage/interfaces/primecount.pyx b/src/sage/interfaces/primecount.pyx
index e1ef2b6da1..f9f4f85c15 100644
--- a/src/sage/interfaces/primecount.pyx
+++ b/src/sage/interfaces/primecount.pyx
@@ -110,7 +110,7 @@ cpdef prime_pi_128(n):
sage: nth_prime_128(2**65) # not tested
?
"""
- cdef cppstring s = str(n)
+ cdef cppstring s = bytes(n)
cdef bytes ans
sig_on()
ans = primecount.pi(s) This gives me the following doctest failure (with primecount 4.7):
|
comment:6
At least the error changed. It now looks weird and the traceback does not give a clue of what went wrong. |
Changed branch from u/slelievre/primecount-4.6 to u/slelievre/primecount-4.7 |
comment:8
Here is the branch if anyone can look into it. New commits:
|
Author: Samuel Lelièvre, Vincent Delecroix |
Changed branch from u/slelievre/primecount-4.7 to u/vdelecroix/27662 |
Reviewer: Dima Pasechnik |
comment:11
LGTM |
comment:12
Could someone please review #27487 ? This is very easy, if you have autotools installed. |
Changed branch from u/vdelecroix/27662 to |
This ticket is to upgrade to primecount 4.7, released 2019-04-17.
Starting with primecount 4.6, released 2019-04-13, the cmake
dependency is relaxed from ≥ 3.9 to ≥ 3.4 (discussed at #27487).
Tarball (to be renamed
primecount-4.7.tar.gz
):CC: @slel @vinklein @videlec @embray
Component: packages: optional
Keywords: upgrade, primecount
Author: Samuel Lelièvre, Vincent Delecroix
Branch/Commit:
4d06dee
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/27662
The text was updated successfully, but these errors were encountered: