-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
update and promote spkg primecount #25009
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Commit: |
Branch: u/vdelecroix/25009-draft |
comment:4
The package Is it time to start using it? Because |
comment:7
|
Changed dependencies from #24966 to none |
comment:8
bump to 7.1, and standard, remove deprecations New commits:
|
Changed branch from u/vdelecroix/25009-draft to u/dimpase/packages/primecount/update-to-standard |
comment:10
this is a start for fixing #24960 |
comment:11
I am not sure whether there is much value in the branch That is, they are not for public consumption. Let us use this ticket to update and promote the package to standard. |
This comment has been minimized.
This comment has been minimized.
Author: Dima Pasechnik |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
Changes from optional to standard require a vote on sage-devel |
comment:14
It fixes a serious bug, I can't imagine any objections. Feel free to call the vote, though. |
comment:74
|
comment:75
time to drop gcc 4-based systems... |
comment:76
Please feel free to add patches. |
Changed branch from u/dimpase/packages/primecount/update-to-standard to u/mkoeppe/packages/primecount/update-to-standard |
comment:78
Replying to @dimpase:
Yes, soon, I'd say. I'll see if the failure on New commits:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:81
IMHO the patch for While strictly speaking putting new functions into namespace |
comment:82
And patching the system compiler sounds like a terrible idea. |
comment:83
the compiler is OK in this case, it's STL that it's not. If I recall correctly, that's how we patched STLs for CGAL back in 1999: All you need to to is to put |
comment:84
Sure, that's another way to do this, but I don't think it's better than what's already done and tested |
comment:85
OK, I've just rebased the branch of #32894 over the branch here, and will do a run on GH Actions there. |
comment:86
tests on https://github.com/sagemath/sagetrac-mirror/actions/runs/1517758345 (with primecountpy) |
Changed reviewer from https://github.com/sagemath/sagetrac-mirror/actions/runs/1500740315 to Matthias Koeppe |
comment:88
Can you add |
Changed branch from u/mkoeppe/packages/primecount/update-to-standard to |
The
prime_pi
function is currently a symbolic function that can hold its argument as inthat also contains the Cython code for evaluating it
Unfortunately, it is buggy, see #24960 (fixed in #32894, using this ticket). We will promote the spkg
primecount
to standard and use it instead. This ticket does this part, and reverts deprecations from #32412. It also removes obsolete deprecation warning, and the corresponding no longer available parameter.Upstream patch: kimwalisch/primesieve#107 (rejected)
Below is the original part, no longer too relevant.
We move the evaluation part as a standalone function in
arith/
and provide alternative implementationsPARI/GP
(only efficient in the range of tabulated primes)Upstream: Fixed upstream, but not in a stable release.
CC: @mkoeppe @miguelmarco @isuruf
Component: basic arithmetic
Author: Dima Pasechnik
Branch/Commit:
b9b4eaf
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/25009
The text was updated successfully, but these errors were encountered: