-
-
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
absolute_import in Cython files #22808
Comments
comment:1
one step in #22975 |
comment:2
next step in #23068 |
comment:3
next step in #23589 |
comment:4
next step in #23641 |
comment:5
next step in #23662 |
comment:6
maybe the last step in #23745 but how can we check ? |
comment:7
Jeroen, do you have an idea how to find places where adding "absolute_import" is still needed ? |
comment:8
Do you mean for Python and Cython code in the Sage library or only Cython code? |
comment:9
Well, only Cython, to deal with this ticket. But of course one should also check for py files. |
comment:10
OK, both Python and Cython. I think it is best to treat Python and Cython the same here. Imports work the same way. The only difference is that Cython also has I think that I only created this ticket because at some point you were adding |
comment:11
So what should we do here ? I would like to have some certitude before closing, but I do not know how to test that everything is in order. |
comment:12
Actually, it might be easy to force Cython to use |
comment:13
Replying to @jdemeyer:
any idea on how to do that ? |
comment:14
Replying to @fchapoton:
Yes. |
Commit: |
Author: Jeroen Demeyer |
comment:16
Just one change required... New commits:
|
comment:17
Great ! |
comment:18
Replying to @fchapoton:
Yes. I didn't run doctests, but at least built and ran Sage. |
Reviewer: Frédéric Chapoton |
comment:19
Then let us consider that this ticket is fixed. Thanks ! |
Changed branch from u/jdemeyer/absolute_import_in_cython_files to |
Depends on #22806
CC: @fchapoton
Component: python3
Author: Jeroen Demeyer
Branch/Commit:
ac72aa1
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/22808
The text was updated successfully, but these errors were encountered: