Closed mkoeppe closed 2 years ago
Description changed:
---
+++
@@ -1,4 +1,12 @@
-https://trac.sagemath.org/wiki/ReleaseTours/sage-9.7#Sage9.7doesnotsupportCygwinuseWindowsSubsystemforLinuxinstead
+In the 9.6 release cycle, https://groups.google.com/g/sage-release/c/GOGWk66zaCQ/m/M_jQiOjaAAAJ:
+ Users/developers who like to continue using the Cygwin port are asked to step up to investigating and fixing these bugs on Cygwin.
+Otherwise, it is unlikely that we'll be able to continue offering the Cygwin port.
+
+This has not happened, and on top of the problems at runtime in Sage 9.6, there are now several issues that prevent a successful installation on Cygwin.
We update README.md and manuals accordingly.
+Announcement:
+- https://trac.sagemath.org/wiki/ReleaseTours/sage-9.7#Sage9.7doesnotsupportCygwinuseWindowsSubsystemforLinuxinstead
+
+
Description changed:
---
+++
@@ -1,6 +1,5 @@
In the 9.6 release cycle, https://groups.google.com/g/sage-release/c/GOGWk66zaCQ/m/M_jQiOjaAAAJ:
- Users/developers who like to continue using the Cygwin port are asked to step up to investigating and fixing these bugs on Cygwin.
-Otherwise, it is unlikely that we'll be able to continue offering the Cygwin port.
+ Users/developers who like to continue using the Cygwin port are asked to step up to investigating and fixing these bugs on Cygwin. Otherwise, it is unlikely that we'll be able to continue offering the Cygwin port.
This has not happened, and on top of the problems at runtime in Sage 9.6, there are now several issues that prevent a successful installation on Cygwin.
Description changed:
---
+++
@@ -3,7 +3,7 @@
This has not happened, and on top of the problems at runtime in Sage 9.6, there are now several issues that prevent a successful installation on Cygwin.
-We update README.md and manuals accordingly.
+To avoid user frustration (https://groups.google.com/g/sage-devel/c/_z1Fv_OH1mk/m/nYZFkRi7AQAJ, https://groups.google.com/g/sage-devel/c/JNDU9Fa0Ths/m/2zDrFH91AQAJ, https://groups.google.com/g/sage-devel/c/qB8CU0JdC1I/m/jFUeImPZAAAJ, https://groups.google.com/g/sage-devel/c/pXN2B1NKpsQ/m/Vbn0HHN_FQAJ), we update README.md and manuals to reflect reality.
Announcement:
- https://trac.sagemath.org/wiki/ReleaseTours/sage-9.7#Sage9.7doesnotsupportCygwinuseWindowsSubsystemforLinuxinstead
Author: Matthias Koeppe
Description changed:
---
+++
@@ -1,7 +1,7 @@
In the 9.6 release cycle, https://groups.google.com/g/sage-release/c/GOGWk66zaCQ/m/M_jQiOjaAAAJ:
Users/developers who like to continue using the Cygwin port are asked to step up to investigating and fixing these bugs on Cygwin. Otherwise, it is unlikely that we'll be able to continue offering the Cygwin port.
-This has not happened, and on top of the problems at runtime in Sage 9.6, there are now several issues that prevent a successful installation on Cygwin.
+This has not happened, and on top of the problems at runtime in Sage 9.6, there are now several [issues](https://trac.sagemath.org/query?status=closed&status=needs_info&status=needs_review&status=needs_work&status=new&status=positive_review&component=porting%3A+Cygwin&milestone=sage-9.8&milestone=sage-9.7&milestone=sage-9.6&milestone=sage-9.5&milestone=sage-9.4&milestone=sage-9.3&milestone=sage-9.2&milestone=sage-9.1&col=id&col=summary&col=component&col=status&col=type&col=priority&col=milestone&order=priority) that prevent a successful installation on Cygwin.
To avoid user frustration (https://groups.google.com/g/sage-devel/c/_z1Fv_OH1mk/m/nYZFkRi7AQAJ, https://groups.google.com/g/sage-devel/c/JNDU9Fa0Ths/m/2zDrFH91AQAJ, https://groups.google.com/g/sage-devel/c/qB8CU0JdC1I/m/jFUeImPZAAAJ, https://groups.google.com/g/sage-devel/c/pXN2B1NKpsQ/m/Vbn0HHN_FQAJ), we update README.md and manuals to reflect reality.
Description changed:
---
+++
@@ -3,7 +3,7 @@
This has not happened, and on top of the problems at runtime in Sage 9.6, there are now several [issues](https://trac.sagemath.org/query?status=closed&status=needs_info&status=needs_review&status=needs_work&status=new&status=positive_review&component=porting%3A+Cygwin&milestone=sage-9.8&milestone=sage-9.7&milestone=sage-9.6&milestone=sage-9.5&milestone=sage-9.4&milestone=sage-9.3&milestone=sage-9.2&milestone=sage-9.1&col=id&col=summary&col=component&col=status&col=type&col=priority&col=milestone&order=priority) that prevent a successful installation on Cygwin.
-To avoid user frustration (https://groups.google.com/g/sage-devel/c/_z1Fv_OH1mk/m/nYZFkRi7AQAJ, https://groups.google.com/g/sage-devel/c/JNDU9Fa0Ths/m/2zDrFH91AQAJ, https://groups.google.com/g/sage-devel/c/qB8CU0JdC1I/m/jFUeImPZAAAJ, https://groups.google.com/g/sage-devel/c/pXN2B1NKpsQ/m/Vbn0HHN_FQAJ), we update README.md and manuals to reflect reality.
+To avoid user frustration (2022 sage-devel posts: https://groups.google.com/g/sage-devel/c/_z1Fv_OH1mk/m/nYZFkRi7AQAJ, https://groups.google.com/g/sage-devel/c/JNDU9Fa0Ths/m/2zDrFH91AQAJ, https://groups.google.com/g/sage-devel/c/qB8CU0JdC1I/m/jFUeImPZAAAJ, https://groups.google.com/g/sage-devel/c/pXN2B1NKpsQ/m/Vbn0HHN_FQAJ), we update README.md and manuals to reflect reality.
Announcement:
- https://trac.sagemath.org/wiki/ReleaseTours/sage-9.7#Sage9.7doesnotsupportCygwinuseWindowsSubsystemforLinuxinstead
Description changed:
---
+++
@@ -1,7 +1,7 @@
In the 9.6 release cycle, https://groups.google.com/g/sage-release/c/GOGWk66zaCQ/m/M_jQiOjaAAAJ:
Users/developers who like to continue using the Cygwin port are asked to step up to investigating and fixing these bugs on Cygwin. Otherwise, it is unlikely that we'll be able to continue offering the Cygwin port.
-This has not happened, and on top of the problems at runtime in Sage 9.6, there are now several [issues](https://trac.sagemath.org/query?status=closed&status=needs_info&status=needs_review&status=needs_work&status=new&status=positive_review&component=porting%3A+Cygwin&milestone=sage-9.8&milestone=sage-9.7&milestone=sage-9.6&milestone=sage-9.5&milestone=sage-9.4&milestone=sage-9.3&milestone=sage-9.2&milestone=sage-9.1&col=id&col=summary&col=component&col=status&col=type&col=priority&col=milestone&order=priority) that prevent a successful installation on Cygwin.
+This has not happened, and on top of the problems at runtime in Sage 9.6, there are now several [issues](https://trac.sagemath.org/query?status=closed&status=needs_info&status=needs_review&status=needs_work&status=new&status=positive_review&component=porting%3A+Cygwin&milestone=sage-9.8&milestone=sage-9.7&milestone=sage-9.6&milestone=sage-9.5&milestone=sage-9.4&milestone=sage-9.3&milestone=sage-9.2&milestone=sage-9.1&col=id&col=summary&col=milestone&col=status&col=priority&col=changetime&col=author&col=reviewer&desc=1&order=changetime) that prevent a successful installation on Cygwin.
To avoid user frustration (2022 sage-devel posts: https://groups.google.com/g/sage-devel/c/_z1Fv_OH1mk/m/nYZFkRi7AQAJ, https://groups.google.com/g/sage-devel/c/JNDU9Fa0Ths/m/2zDrFH91AQAJ, https://groups.google.com/g/sage-devel/c/qB8CU0JdC1I/m/jFUeImPZAAAJ, https://groups.google.com/g/sage-devel/c/pXN2B1NKpsQ/m/Vbn0HHN_FQAJ), we update README.md and manuals to reflect reality.
Also https://wiki.sagemath.org/SageWindows needs to be updated
And https://github.com/sagemath/sage-windows should be archived
And https://www.sagemath.org/download.html needs to be updated
Replying to @mkoeppe:
Also https://wiki.sagemath.org/SageWindows needs to be updated
I've removed a big chunk of outdated information.
There is a bit of info on there that should be reviewed for usefulness for #31156 (Document running Sage + Jupyter in WSL, with a browser in Windows)
It seems like we have a more nuanced description of support we have for it. It seems like the biggest issue is in docbuilding and (recently) giac. If we fully drop support for it as the ticket proposes, then almost certainly we will never get it back.
I am willing to do what I can to help as I have a Windows machine (that previously built Sage successfully on at least 9.5 IIRC, but I think it was one of the 9.6 beta versions). Although I am a bit stretched thin right now and package building is not something I know much about. However, I do think it is not something we should drop for WSL for the next few years until we are more certain most people have migrated to a Windows version that has WSL.
If we do decide to fully drop support (rather than just being honest about what we know doesn't work), we might want to include instructions to build the last stable version that we know works.
Replying to @mkoeppe:
Replying to @mkoeppe:
Also https://wiki.sagemath.org/SageWindows needs to be updated
I've removed a big chunk of outdated information.
There is a bit of info on there that should be reviewed for usefulness for #31156 (Document running Sage + Jupyter in WSL, with a browser in Windows)
Does that also work for pdfs (e.g., view(x^2 + cos(x))
) and animate()
outputs?
Replying to @tscrim:
If we fully drop support for it as the ticket proposes, then almost certainly we will never get it back.
It's trivial to revert the doc changes when someone fixes the build.
Until then it's crucial that we don't mislead prospective users.
Replying to @mkoeppe:
Replying to @tscrim:
If we fully drop support for it as the ticket proposes, then almost certainly we will never get it back.
It's trivial to revert the doc changes when someone fixes the build.
The documentation change is trivial, yes. However, it is the policy change of no longer putting any effort to care about Cygwin builds means is will further bitrot. So it will likely take much more effort to resupport Cygwin in the future.
Until then it's crucial that we don't mislead prospective users.
+1 but this ticket isn't just about that. The biggest issue with Cygwin right now is the building of giac #34269, right? Once this is resolved, it is expected that Sage builds, starts, and passes (most) tests on Cygwin, right?
Replying to @tscrim:
The biggest issue with Cygwin right now is the building of giac #34269, right? Once this is resolved, it is expected that Sage builds, starts, and passes (most) tests on Cygwin, right?
No, it was already badly broken in the 9.6 series. Per https://groups.google.com/g/sage-release/c/GOGWk66zaCQ/m/M_jQiOjaAAAJ (March 2022) "various segfaults, likely related to GAP", in the testsuite.
The broken Giac build stops us from seeing other build problems with packages that we updated in the 9.7 series. Giac upstream does not test Cygwin, and I have no line of communication with them. There's also another critical bug in Giac (#33848) and no reaction from upstream.
Replying to @tscrim:
If we do decide to fully drop support (rather than just being honest about what we know doesn't work), we might want to include instructions to build the last stable version that we know works.
The release notes (https://trac.sagemath.org/wiki/ReleaseTours/sage-9.7#Sage9.7doesnotsupportCygwinuseWindowsSubsystemforLinuxinstead) are a good place for this, but not the documentation
Replying to @tscrim:
Replying to @mkoeppe:
Replying to @tscrim:
If we fully drop support for it as the ticket proposes, then almost certainly we will never get it back.
It's trivial to revert the doc changes when someone fixes the build.
The documentation change is trivial, yes. However, it is the policy change of no longer putting any effort to care about Cygwin builds means is will further bitrot. So it will likely take much more effort to resupport Cygwin in the future.
Until then it's crucial that we don't mislead prospective users.
+1 but this ticket isn't just about that.
I worded https://trac.sagemath.org/wiki/ReleaseTours/sage-9.7#Sage9.7doesnotsupportCygwinuseWindowsSubsystemforLinuxinstead carefully -- it does not say that we have "dropped" Cygwin support; it only says that Sage 9.7 doesn't support it, and it lists the issues.
Also note that this ticket does not remove the Cygwin testing infrastructure -- in fact, I made major investments in it during the 9.7 cycle - #33791, which makes it very easy for upstream projects to reuse this infrastructure to test the portability of their project. (see for example https://github.com/latte-int/latte/blob/master/.github/workflows/ci-sage.yml#L93) But we need engagement of developers on our side and in upstream projects with the Cygwin port.
Description changed:
---
+++
@@ -7,5 +7,6 @@
Announcement:
- https://trac.sagemath.org/wiki/ReleaseTours/sage-9.7#Sage9.7doesnotsupportCygwinuseWindowsSubsystemforLinuxinstead
+- https://groups.google.com/g/sage-devel/c/jDsOz7qWwV0
Thanks. I weakened the language should
-> can
to further indicate that we hope to bring back Cygwin support in future versions.
I will also try to be more active in maintaining Cygwin support, but starting sometime next month, I will become very busy with family stuff. At the very least, I can test stuff on my Windows machine.
Reviewer: Travis Scrimshaw
I should point out that we should make similar changes here for this ticket. In particular, saying Cygwin support has discontinued means, to me, that we will not bring back support later on.
Thinking a bit more, I think we should leave the Cygwin installation guide in the docs because someone might want to install, say, 9.5 using Cygwin. This way the instructions are still there for people who might need to use Cygwin and are fine with an older version.
It says that about the Windows binaries, not the build from source.
Ah, right, we've discontinued all binaries.
Replying to @tscrim:
I think we should leave the Cygwin installation guide in the docs because someone might want to install, say, 9.5 using Cygwin. This way the instructions are still there for people who might need to use Cygwin and are fine with an older version.
People who want to install the old version need to read the README of the old version.
Replying to @mkoeppe:
Replying to @tscrim:
I think we should leave the Cygwin installation guide in the docs because someone might want to install, say, 9.5 using Cygwin. This way the instructions are still there for people who might need to use Cygwin and are fine with an older version.
People who want to install the old version need to read the README of the old version.
But it won't be in our online documentation any more for installing from source. If nobody knows it exists, then there is no compelling reason to try to support Cygwin anymore.
OK I think we can restore the instructions in the installation guide and include what used to be in the README.md there.
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
393808c | src/doc/en/installation/binary.rst: No more cygwin binaries |
fe98ca1 | README.md, src/doc/en/installation: Move all Cygwin instructions to one section of the installation manual |
550b337 | README.md, src/doc/en/installation/index.rst: Remove mention of Cygwin |
Thank you. This is okay with me.
Doc does not build -
[sagemath_doc_html-none] [installat] /__w/sagetrac-mirror/sagetrac-mirror/src/doc/en/installation/source.rst:359: WARNING: Inline interpreted text or phrase reference start-string without end-string.
[sagemath_doc_html-none] [installat] /__w/sagetrac-mirror/sagetrac-mirror/src/doc/en/installation/source.rst:359: WARNING: hardcoded link 'https://trac.sagemath.org/query?status=closed&status=needs_info&status=needs_review&status=needs_work&status=new&status=positive_review&component=porting%3A+Cygwin&milestone=sage-9.8&milestone=sage-9.7&milestone=sage-9.6&milestone=sage-9.5&milestone=sage-9.4&milestone=sage-9.3&milestone=sage-9.2&milestone=sage-9.1&col=id&col=summary&col=milestone&col=status&col=priority&col=changetime&col=author&col=reviewer&desc=1&order=changetime' could be replaced by an extlink (try using ':trac:`query?status=closed&status=needs_info&status=needs_review&status=needs_work&status=new&status=positive_review&component=porting%3A+Cygwin&milestone=sage-9.8&milestone=sage-9.7&milestone=sage-9.6&milestone=sage-9.5&milestone=sage-9.4&milestone=sage-9.3&milestone=sage-9.2&milestone=sage-9.1&col=id&col=summary&col=milestone&col=status&col=priority&col=changetime&col=author&col=reviewer&desc=1&order=changetime`' instead)
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
e3af6c9 | src/doc/en/installation/index.rst: Fix markup |
PDF docs don't build
Branch pushed to git repo; I updated commit sha1. New commits:
cd72e6b | src/doc/en/installation/source.rst: Fix up markup of material converted from README.md |
Sorry, fixed now
Changed branch from u/mkoeppe/remove_claims_that_cygwin_is_supported to cd72e6b
In the 9.6 release cycle, https://groups.google.com/g/sage-release/c/GOGWk66zaCQ/m/M_jQiOjaAAAJ: Users/developers who like to continue using the Cygwin port are asked to step up to investigating and fixing these bugs on Cygwin. Otherwise, it is unlikely that we'll be able to continue offering the Cygwin port.
This has not happened, and on top of the problems at runtime in Sage 9.6, there are now several issues that prevent a successful installation on Cygwin.
To avoid user frustration (2022 sage-devel posts: https://groups.google.com/g/sage-devel/c/_z1Fv_OH1mk/m/nYZFkRi7AQAJ, https://groups.google.com/g/sage-devel/c/JNDU9Fa0Ths/m/2zDrFH91AQAJ, https://groups.google.com/g/sage-devel/c/qB8CU0JdC1I/m/jFUeImPZAAAJ, https://groups.google.com/g/sage-devel/c/pXN2B1NKpsQ/m/Vbn0HHN_FQAJ), we update README.md and manuals to reflect reality.
Announcement:
CC: @jhpalmieri @tscrim @slel
Component: porting: Cygwin
Author: Matthias Koeppe
Branch/Commit:
cd72e6b
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/34301