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
Update Sphinx to 1.4.1 #18497
Comments
Commit: |
Branch: u/aapitzsch/ticket/18497 |
comment:1
The given branch misses some dependencies (babel, snowballstemmer). Installing them via pip makes Sphinx build. But documentation failed to build. |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:3
Any ideas how to fix
without changing
to
because there are a lot of these warnings. |
This comment has been minimized.
This comment has been minimized.
comment:5
While building sphinx I get:
wget works just fine in downloading |
comment:6
The inability to download
in |
comment:7
Replying to @strogdon:
I don't see how #14243 is related. The proxy is obviously intentional, read the comment. |
comment:8
Replying to @jdemeyer:
You're right about #14243 not being related. I was a bit hasty. And I realize the proxy is intentional. But what's the work-around here to allow Sphinx to install correctly? If I'm not mistaken, the proxy is blocking |
comment:9
Replying to @strogdon:
Add a |
comment:10
This works for me, but not perfectly. In addition to the changes here, I used I ran into the issue mentioned in comment:3, so I made those references more explicit (changed
So I removed it from the reference manual. I'll keep looking at that file, though. Then in the second pass through the reference manual, the build stopped with complaints about missing references or citations. Maybe Sphinx is pickier now, and wants the reference before any citations to it, so I moved some of them to the top-level docstring in the file, and that helped. There is a few cross-file references, and I don't know what to do about that one except to run Sphinx again and hope it resolves the reference. The build completed this way. By the way, Sphinx 1.3.2 (a bug-fix release) is supposed to be released in a few days. |
comment:11
I have tried the same (I missed the
And I have been searching high and low to figure out the issue. Also, if
|
Changed branch from u/aapitzsch/ticket/18497 to u/jhpalmieri/ticket/18497 |
comment:13
I don't know why, but this change fixes the problem with diff --git a/src/sage/lfunctions/zero_sums.pyx b/src/sage/lfunctions/zero_sums.pyx
index 6c4535c..ff1dd86 100644
--- a/src/sage/lfunctions/zero_sums.pyx
+++ b/src/sage/lfunctions/zero_sums.pyx
@@ -1341,7 +1341,6 @@ cdef class LFunctionZeroSum_EllipticCurve(LFunctionZeroSum_abstract):
return small_primes, modulus, residue_chunks
- @parallel(ncpus=NCPUS)
def _sum_over_residues(self, residue_sum_data):
r"""
Return the p-power sum over residues in a residue chunk I have created a branch for testing purposes which does this and the other changes I outlined above. It is not at all ready for review. Issues:
New commits:
|
comment:14
When I first started making changes to deal with the issue mentioned in comment:#3 I only had to make changes to these files
I thought this odd and suspected that something else was the reason requiring the changes. |
comment:15
I wouldn't be surprised if something else was causing those problems. I didn't do a careful case-by-case test to see which changes were necessary. |
comment:16
The huge change to I would much prefer to stick with the current version of Sphinx (unless you have a good reason to upgrade) and first clean up the Sphinx mess. |
comment:17
See also OpenDreamKit/OpenDreamKit#87 |
comment:18
Sphinx 1.3.2 has now been released. |
comment:68
Replying to @strogdon:
I fixed this problem by simply installing |
comment:69
Replying to @jhpalmieri:
Yes, that's it. And there is a similar problem in
It appears this version of Sphinx is exposing some sphinx syntax issues in the documentation that now appear when generating the latex files for building the pdf-docs. The older sphinx -> latex must be a bit more forgiving. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:71
Replying to @strogdon:
Feel free to add commits to fix such issues. I will stop rebasing this branch to make it easier for other people to push fixes. Sage now builds and all doctests pass with this branch. On first sight, the documentation looks good too. |
comment:72
Also, I see two of
in
I suspect this should be
which does work. And since this is auto-generated, I suspect a bug? |
comment:73
Replying to @strogdon:
The real problem is that docutils interprets this as a list item (and that's a feature!):
This should work: -.. [2] E. Assmus, J. Key, Designs and their codes, CUP, 1992.
+.. [2] \E. Assmus, J. Key, Designs and their codes, CUP, 1992. |
comment:74
See #20496 for this. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:79
Is this ready for review? |
comment:80
So I've finally been able to build the pdf-docs without error. |
comment:81
Let's say it's ready for review then. |
comment:82
This looks good. Everything builds here. I do see
when building the Japanese pdfs (the two Japanese pdfs are generated and, as far as I can determine, look OK). Perhaps a consequence of my system Japanese lang installation which took some effort to get it to work. @jhpalmieri (John) add your name if you concur. |
Reviewer: Steven Trogdon |
Changed reviewer from Steven Trogdon to Steven Trogdon, John Palmieri |
comment:84
I never managed to get the Japanese docs working, so I cannot fully test that either. |
Changed branch from u/jdemeyer/ticket/18497 to |
Changes: http://sphinx-doc.org/changes.html
Tarballs:
Depends on #20496
Depends on #20498
CC: @kiwifb
Component: packages: standard
Keywords: days77
Author: André Apitzsch, Jeroen Demeyer
Branch/Commit:
bdc3f0b
Reviewer: Steven Trogdon, John Palmieri
Issue created by migration from https://trac.sagemath.org/ticket/18497
The text was updated successfully, but these errors were encountered: