-
-
Notifications
You must be signed in to change notification settings - Fork 674
Revert gh-40765 which breaks builds from the git repo #40877
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
Conversation
Documentation preview for this PR (built with commit 07a6950; changes) is ready! 🎉 |
I'm currently testing the alternative #40327 |
What's the issue? A bit more context would be helpful. |
…e git repo sagemath#40765 breaks builds from a clean repo. Revert it until it can be fixed. URL: sagemath#40877 Reported by: Volker Braun Reviewer(s):
basically,
|
Yes, then this is indeed better fixed by #40327 (ready for review now). (or if you want to have a hotfix, just restore the |
that's not enough, as you also need to restore the generation of .py from .py.in. Namely the line |
The issue is https://groups.google.com/g/sage-release/c/7LhB72fmw6k/m/QINoQj8YAgAJ I'm not going to attempt to fix this by another giant patch that touches 71 other files. Which is much larger than the poorly-tested pr that got us into the problem in the first place. You are welcome to suggest a narrow PR that just fixes the breakage introduced in #40765 |
Thanks!
I've created a minimal version of it in #40882 that should fix the problem (at least CI seems to pass now).
The underlying problem why this was not discovered during testing was that sage-the-distro didn't recognize that one of it's packages was changed and thus had to be reinstalled. |
How is that minimal, it still touches more files than just reverting the offending PR Also as you have seen you need to build from a clean checkout and not just trust the CI here. |
it removes an spkg - all 8 files in the spkg.
I'm testing it now from the clean checkout on macOS and on Linux. You might consider to make sure that one of the fast buildbots does |
It adds two lines, and removes 40 lines. That's very minimal, especially compared to +78 −186 in this PR here. It's also mostly deleting a single folder (which manifests the workaround to use
The changes in https://github.com/sagemath/sage/pull/40882/files#diff-625c2dc0791820d3e14dfd284ea78767685e0eb75f28eb67fce0304504608f12 (ci-distro.yml) exactly make sure that the full CI (that runs from a clean checkout) are activated. As you can see at https://github.com/sagemath/sage/actions/runs/17995565127/job/51194107594?pr=40882, all of those tests are succeeding (modulo the small doctest issue that dima just pointed out as well). I honestly have trouble understanding the bigger problem here. Sure #40765 introduced an annoying bug that should be fixed before the next stable release - and I'm very sorry that this issue was overlooked and made it into the last beta. But thinks like this, while unfortunate, are very normal and happen all the time in development (otherwise one would be eventually living in a bug free world). So let's work together to find a solution to the new issue. |
let's close this one in favour of #40882 |
If the release manager says that we should revert a PR, we should revert the PR. Any other changes can be built on top of this one. |
The release manager does not have to say anything if he could just revert it. There is currently a search for the optimal way forward going on. Actually Volker asked for it, @jhpalmieri Let us wait for his response. |
I was hoping to merge #40882 instead, but unfortunately it fails. I'll go ahead with reverting it for 10.8.beta5 |
@vbraun - please, a couple of long tests there fails for some reason I couldn't reproduce. |
#40765 breaks builds from a clean repo. Revert it until it can be fixed.