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
Fix python3 build on Cygwin #22666
Comments
comment:2
I can confirm that Python 3 builds for me with the patch (and does not without). |
comment:3
There may still be runtime issues that impact Sage, but I will address those as they come. This at least addresses building without error. |
comment:4
What's the upstream status of these patches? I always like when patches have some kind of pointer to an upstream ticket or commit or whatever... For this reason, I consider the renaming |
comment:5
It's just for consistency's sake with the rest of my patch set, who cares what the file is called? I can put in a reference to the issue it addresses. |
comment:6
Replying to @embray:
Please do (to be clear: renaming the file is fine in that case). |
comment:7
Yeah, no a problem. I'm pretty sure all of these patches are upstream already, but there might be one or two that aren't for various reasons. Need to double-check. |
comment:8
Did you double-check the patch status Erik? I'm ready to set a positive review unless Jeoren has any other comments (Python3 builds for me with this on Cygwin64). |
Reviewer: Travis Scrimshaw |
Upstream: None of the above - read trac for reasoning. |
Changed upstream from None of the above - read trac for reasoning. to none |
comment:11
No, I'll work on that now... |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
I removed a handful of patches that didn't actually seem to be needed, and added better descriptions for the rest. With this, Python 3 still builds, and at least nominally works. I should stress that that is the only goal of this ticket. Any other patches needed to Python 3 specifically for Sage features to work (if there are any at all) should be held off until those specific issues come up. |
comment:14
Jeroen, do you have any more comments? Otherwise, I will set a positive review. |
comment:15
[comment:6] |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:18
Feel free to disagree, but this addresses Jeroen's only comment. |
Changed reviewer from Travis Scrimshaw to Travis Scrimshaw, Jeroen Demeyer |
comment:20
Thanks! |
Changed branch from u/embray/cygwin/python3-build to |
Since #22354, Python 3 is now installed unconditionally as a standard package. That's fine, but the last Python 3 version known to work on Cygwin is Python 3.4 (though I have been working with Python upstream to fix that).
In the meantime, here is a patch set needed to get the Python 3 currently in Sage (3.5.1) to at least build, and nominally work.
Component: porting: Cygwin
Author: Erik Bray
Branch/Commit:
5031e42
Reviewer: Travis Scrimshaw, Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/22666
The text was updated successfully, but these errors were encountered: