-
Notifications
You must be signed in to change notification settings - Fork 69
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
local docs build "failure" #731
Comments
It is related to a version of Python. It works if you have 3.9 in the same environment, it fails under 3.11. Not sure what has changed though. |
Oh wow... Where would we report this? |
I am not certain it is a bug, on Python side. It may be some behaviour change we need to adapt to. |
Closing for now with viable solution in #733. Can revisit and open later if needed. |
The last time the
build_docs.yaml
action was run prior to these failures was in 2023-01 with the output being the current docs site -->spaghetti==1.7.2
. Here we can see that thespaghetti.Network
class1 and{savenetwork,loadnetwork}
methods2 API references are fully generated without error. However, starting from #726 I have not been able to get the docs to build properly locally, specifically having trouble with the parts just mentioned. What I am seeing locally is nospaghetti.Network
API reference being produced3 and the{savenetwork,loadnetwork}
methods not being generated4 with a warning fromautosummary
being thrown5.It may or may not be related to
setuptools_scm
,sphinx
, or something else entirely. Been trying to debug it for several weeks, but still seem to be no closer. The last time docs build proper we were still onversioneer
, now we have switched tosetuptools_scm=7.1.0
FWIW. I have seen this problem locally withsphinx={6.1.3, 6.2.1, 7.0.1}
. It's probably something simple that I'm overlooking, but at this point I'm confounded.Any set of eyes or an idea to look into would be super appreciated. @martinfleis, @weikang9009, @knaaptime, @gegen07
Footnotes
https://pysal.org/spaghetti/generated/spaghetti.Network.html#spaghetti.Network ↩
https://pysal.org/spaghetti/api.html#save-and-load-a-network ↩
warning
↩The text was updated successfully, but these errors were encountered: