Skip to content
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 build script and docs config to handle newer versions #58

Merged
merged 1 commit into from
May 14, 2024

Conversation

evertrol
Copy link
Contributor

Newer versions of Python, Jupyter-nbconvert and Sphinx can now work with the build system, using a few simple workarounds.

Newer versions of Python, Jupyter-nbconvert and Sphinx can now work
with the build system.
@evertrol
Copy link
Contributor Author

I'm aware of the discussion in #47 . It's mostly that while searching for ODE examples with SciPy, I came across this cookbook. I can see it's definitely outdated, but it still had some use for me, and I've tried to update the ODE examples (see pr #59 ) with minimal changes.

If there is still interest in revitalizing this cookbook (perhaps as discussed with omission of various topics), I might attempt to update other notebooks as well. Updates so far mostly have been largely stylistic, and consist of applying more of a notebook style with code spread across multiple cells instead of being a single script, and using either newer APIs (pyplot instead of pylab mostly, and solve_ivp instead of odeint for the ODEs) or fixing arguments in older-style APIs.

To test and build the cookbook myself, I had to fix a few issues in the build script, which is why this PR exists.

@j-bowhay j-bowhay self-requested a review April 27, 2024 13:34
Copy link
Member

@j-bowhay j-bowhay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @evertrol apologies for the wait!

@j-bowhay j-bowhay merged commit 3247ecb into scipy:main May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants