Skip to content

Allow most recent versions of dependencies to be used in documentation builds #332

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

namurphy
Copy link
Contributor

@namurphy namurphy commented Mar 25, 2025

In #330, we were getting SunPyDeprecationWarnings when using the most recent version of SunPy in documentation builds (see #327). To temporarily alleviate this, I added an --exclude-newer flag that is invoked by uv when installing packages for the doc builds. This flag prevents dependency resolutions from including packages that were added after a particular date in the environment.

This PR removes the --exclude-newer flag, which will allow the most recent versions of dependencies to be used in the Python environments for documentation builds. The deprecation warning is still happening, so this PR is mostly a placeholder so that we don't forget about it later on. This PR should only be merged when the documentation build is passing.

namurphy and others added 2 commits March 25, 2025 18:16
This flag was added for documentation builds to prevent a
SunPyDeprecationWarning from happening.
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