Remove /pkgs#41610
Conversation
|
Documentation preview for this PR (built with commit 9050427; changes) is ready! 🎉 |
e38ae2d to
02cdf48
Compare
|
Aside from the sagemath_doc issues, I think this actually works now. The CI failures are for the usual reasons (our of space, can't download a tarball, etc.) |
|
Would it work to keep the docbuild folders for now (and remove everything else)? |
|
I'm not sure (I was guessing at all of this), but there's not a lot stopping us from removing them. We just need to replace |
02cdf48 to
da31cf6
Compare
|
I added a commit on to the end of this that brings back the doc targets as doc: doc-html
doc-html:
$(PYTHON_FOR_VENV) -m sage_docbuild all html </dev/null
doc-pdf:
$(PYTHON_FOR_VENV) -m sage_docbuild all pdf </dev/nullThat probably doesn't work but it should make it easier to experiment. |
d8a6e58 to
5d9f1bd
Compare
|
I think doc-html:
if [ -x "$(SAGE_VENV)/bin/meson" ]; then \
"$(SAGE_VENV)/bin/meson" compile -C "$(SAGE_ROOT)/build/sage-distro" doc-html; \
else \
meson compile -C "$(SAGE_ROOT)/build/sage-distro" doc-html; \
fiI have actually tested it this time. |
tobiasdiez
left a comment
There was a problem hiding this comment.
LGTM. Since I haven't tested this with sage-the-distro, I let someone else change it to "positive review"
|
So this does not work for me, but maybe I did not do what I had to. |
Does the latest |
|
You are right, I thought develop builded because I'm working with it since weeks without issues, but it does not. Maybe something bad happened when I did all the tests in the previous PR. Let me rebuild everything and tell you again, sorry for the noise. |
|
No problem, I really appreciate the testing. |
|
So the PARI error was actually triggered by the changes here. After checking to develop, running a clean and successful Then, I tried I need to go, and I should not be able to test again until Wednesday. |
|
It turns out I had a little bit of time tonight. So the PARI error is now gone, yeepee! But this is new: Sorry for my French. If you need I can perhaps change my locales settings. It then fails with the same error as in my above comment. If I further do Then: Then the above error (from my previous comment) again. If I run |
|
I don't understand why it's failing, and it's not the French that's the problem! Aside from the |
|
Yes, it is not very clear why it failed, and it's not even (or so I believe) giving a path to a log file which could help us... I actually don't know what's going on. What is weird is the line saying |
0f4462b to
49c361b
Compare
|
Is this ready for review? |
It works for me, but only in a clinical setting. I don't use the sage distro any more, and can't build it on my riscv machine, so I'm doing this on a boring amd64 box at work where the git checkout is clean, and sage was never installed, etc. @r-mb was nice enough to try it but was running into docbuild issues that I haven't been able to reproduce. Maybe some dependency issue that snuck in after replacing the pseudo-package with meson? |
c0221c9 to
3b24b9f
Compare
|
Sorry, these are extremely busy weeks for me so I had no time not test your last updates. I just did, and, good news! The bug is gone, and For the rest, I really am not knowledgable at all on this to give a "s: positive review". So this is a "s: does not break my workflow review". All I can say is that it seems to simplify the build process, which might help new people (just like me) to more easily learn/debug/help with building. |
|
@orlitzky the pdf doc build CI still seems to have a problem. Otherwise this looks good to me as well. |
|
The latest force-push drops about half of the commits, hoping to narrow down the problem. I think the CI failure may actually be one of the random ones, I'll try re-pushing. |
|
The docbuild is OK this time around, and the one new failure is from ECL (unrelated). I think it's ready for review and testing. It's a little ugly, but this one is safer. The rest can be removed a little bit at a time. |
The /pkgs tree is going to be removed, but first we have to make copies of any SPKG.rst that are symlinks pointing there.
We remove the src -> /pkgs symlinks from the categories, environment, objects, and repl packages, since they are no longer used. For sage_docbuild and sage_setup we instead make copies of the corresponding /pkgs directory, to keep them working when /pkgs is removed.
The entire pkgs directory was removed, so there is nothing to ignore.
Don't try to update nonexistent VERSION.txt files under pkgs. The entire pkgs directory has been removed, with only the sage_docbuild and sage_setup src directories being retained (but relocated).
The pkgs directory has been deleted, and there are no more symlinks to them.
The pkgs directory has been removed.
This effectively disables these packages.
These no longer exist, so the xrefs break the docbuild.
Remove the
/pkgsdirectory and handle the fallout. This is a first step towards removing the sagemath-objects, sagemath-categories (etc.) packages from the repository.There is still a lot to do:
And so on. Here we do just enough that it doesn't break the CI:
pkgs/references