-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
Remove import of 'ppl' at startup using lazy_import with feature #30587
Comments
Changed keywords from none to sd111 |
comment:3
I'm looking at this at the moment. I think one needs to also take case of So if the goal is to have a working sage as good as possible without (I tested adding a line |
Commit: |
Author: Jonathan Kliem |
Branch: public/30587 |
Work Issues: use feature of lazy import |
comment:7
If the imports would not wind up in an extremely hot path, you might also work around the circular imports with local ones ( |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
So lazy import appears to be a bit slower. For New commits:
|
This comment has been minimized.
This comment has been minimized.
Changed work issues from use feature of lazy import to none |
comment:12
In the doctest for
will only appear on sage-the-distribution but not in downstream packaged sage, so it's best to use |
comment:13
Ok, I wasn't exactly sure, what part would appear and what part would not. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
In fact, perhaps |
comment:16
Also typo |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:27
Somehow forgot that. |
Reviewer: Matthias Koeppe |
comment:29
Thank you. So I guess I know how that mechanism works, you can ping me, to do it with other packages. |
comment:30
On OSX:
|
comment:31
Looks like we never tested the runtime system package advice on macOS without homebrew. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed author from Jonathan Kliem to Jonathan Kliem, Matthias Koeppe |
Changed reviewer from Matthias Koeppe to Matthias Koeppe, ... |
comment:35
Thanks for the quick fix. |
Changed reviewer from Matthias Koeppe, ... to Matthias Koeppe, Jonathan Kliem |
Changed branch from public/30587 to |
Currently, sage imports
ppl
(frompplpy
) at startup, viasage.geometry.cone
,sage.geometry.integral_points
, andsage.geometry.lattice_polytopes
.This should be changed, both
PyNormaliz
)In addition we add documentation to the option
feature
of lazy import and while we are at it, use this option for backend normaliz as well.CC: @kliem @novoselt @vbraun @w-bruns @jplab @orlitzky @videlec
Component: geometry
Keywords: sd111
Author: Jonathan Kliem, Matthias Koeppe
Branch/Commit:
17c4cdb
Reviewer: Matthias Koeppe, Jonathan Kliem
Issue created by migration from https://trac.sagemath.org/ticket/30587
The text was updated successfully, but these errors were encountered: