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
[MAINTENANCE] move prepare_prior_versions to allow one version at a time #9246
Conversation
✅ Deploy Preview for niobium-lead-7998 canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing what can be simplified by being explicit about versions!
I haven't read this fully yet but have to run a meeting. I'm giving the LGTM since it looks equivalent to me. If there is something you want me to look closely at, let me know.
I realized ignoring whitespace changes made this simpler to review.
@@ -38,71 +56,21 @@ def change_paths_for_docs_file_references(verbose: bool = False) -> None: | |||
print(f"Processed {len(files)} files in change_paths_for_docs_file_references") | |||
|
|||
|
|||
def _paths_to_versioned_docs() -> list[pathlib.Path]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Being able to delete all of these is great!
Migrates prepare_prior_versions to allow just building specific versions. This will be used in a new versioning flow (coming in a subsequent PR) It can also be use for backward compatibility in case we need to rebuild v 0.17 or 0.18.
invoke lint
(usesblack
+ruff
)For more information about contributing, see Contribute.
After you submit your PR, keep the page open and monitor the statuses of the various checks made by our continuous integration process at the bottom of the page. Please fix any issues that come up and reach out on Slack if you need help. Thanks for contributing!