Convert doc.yml workflow to be reusable#103914
Conversation
cbf7985 to
3f8d6d2
Compare
April 27, 2023 22:23
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
|
Thanks for making the requested changes! @hugovk: please review the changes made to this pull request. |
Sorry, something went wrong.
|
How far back do we want to backport this (and its parent #97533), if at all? |
Sorry, something went wrong.
|
@hugovk are there huge differences? I think it's okay to backport all the way back to 3.7, if the difference isn't big. Even if it is, I'm willing to explore solving all the cherry-picking conflicts, if necessary. |
Sorry, something went wrong.
|
As for the "parent PR" I envision that @ambv would want it fully backported because he wanted to make auto-merge painless... |
Sorry, something went wrong.
|
The general policy is to only backport non-security things for bugfix branches (i.e. 3.11), but CI changes can usually go further back because we need to test older security branches (i.e. 3.7-3.10) when we do get security fixes, and keeping them in sync makes backporting easier. https://devguide.python.org/versions/ So we're probably fine backporting to 3.7, and we can always check with the release managers. |
Sorry, something went wrong.
|
Yep, that was my thinking too. |
Sorry, something went wrong.
|
I've implemented a similar change in pypa/build recently, it seems to work well so far: pypa/build@04df94c. |
Sorry, something went wrong.
1c7f95d to
0a04207
Compare
May 24, 2023 16:50
Sorry, something went wrong.
This is necessary because paths with whitespaces tend to crash said action[[1]][[2]][[3]]. Also, we don't need to use JSON as it's harder to parse while the value isn't used except for the emptiness check. The change fixes [[4]] [1]: https://github.com/Ana06/get-changed-files#get-all-changed-files-as-space-delimited [2]: python#103914 (comment) [3]: python#103914 (comment) [4]: python#103914 (comment)
This is necessary because paths with whitespaces tend to crash said action[[1]][[2]][[3]]. Also, we don't need to use JSON as it's harder to parse while the value isn't used except for the emptiness check. The change fixes [[4]] [1]: https://github.com/Ana06/get-changed-files#get-all-changed-files-as-space-delimited [2]: python#103914 (comment) [3]: python#103914 (comment) [4]: python#103914 (comment)
|
Thanks @webknjaz for the PR, and @pradyunsg for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
|
Thanks @webknjaz for the PR, and @pradyunsg for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
|
Sorry, @webknjaz and @pradyunsg, I could not cleanly backport this to |
Sorry, something went wrong.
|
Sorry @webknjaz and @pradyunsg, I had trouble checking out the |
Sorry, something went wrong.
|
Thanks @webknjaz for the PR, and @pradyunsg for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
Sorry, something went wrong.
|
Sorry, @webknjaz and @pradyunsg, I could not cleanly backport this to |
Sorry, something went wrong.
|
Thanks @webknjaz for the PR, and @pradyunsg for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
Sorry, something went wrong.
|
Sorry @webknjaz and @pradyunsg, I had trouble checking out the |
Sorry, something went wrong.
|
Thanks @webknjaz for the PR, and @pradyunsg for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Sorry, something went wrong.
|
Sorry, @webknjaz and @pradyunsg, I could not cleanly backport this to |
Sorry, something went wrong.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> (cherry picked from commit 88d14da) Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
This patch is meant to simplify the maintenance of multiple complex workflow definitions that are tied together into a single workflow later on.
It is separated out of #97533 for atomicity.