APE 20: Of black and backport
See original GitHub issueIn APE 20, an implementation plan was laid out and the target was for v5.2. Since we are still on the hook to support v5.0.x as LTS until end of 2023 (see APE 2 and Release Calendar), there is the matter of how do we backport to v5.0.x branch in a sane way after this implementation for v5.2.
Some ideas:
- We also apply
isort
andblack
to v5.0.x branch to keep it in sync enough for the auto-backport bot to still work.- Concern: While the automation part should be relatively painless, any manual edit that has to go in risk actually breaking the code that we have promised would be “long-term stable.”
- We keep v5.0.x as-is but only limit manual backport to critical fixes in the event that auto-backport fails for any reason. See existing LTS policy at https://docs.astropy.org/en/latest/lts_policy.html .
This issue was a result of 2022-10-04 dev telecon discussions. cc @saimn @dhomeier @eerovaher @WilliamJamieson @braingram
Issue Analytics
- State:
- Created a year ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Adding black as linter? - scikit-image - Scientific Python
One unfortunate side-effect is that black will make many older PRs unmergeable if applied wholesale to the project, but we could also just...
Read more >astropy-dev - Google Groups
APE 20: Of black and backport. Hello, If you are interested to discuss backport policy to LTS for astropy post-black, please leave. unread,....
Read more >DUPLEX PS4 Fake Packages (FPKGs) Latest PlayStation 4 ...
pkg file to the root of your USB drive/key - Plug your USB drive/key to one of the USB ports of your PS4...
Read more >Untitled
Blast ended skank, Limited range of emotions, Black-n-blues? Hotel modera portland or, ... Welle 20 h8, Wine-searcher rating, Diamond nail and spa.
Read more >Untitled
Black motion live videos, Iipl usa llc, Dj lubuk pakam, Temuduga penguatkuasa ... Berault metro 1, Patthorster, Backport git ubuntu, Jayem sison 2013!...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Really this should be left to the black proponents to worry about, but I thought one nice thing about black at least is that it is guaranteed to not change the code, so no visual inspection would be necessary. This is a bit less true for
isort
, though any problems really should be caught by testing – and doingisort
is less important since changes in the imports are less common(?).I do think later in a LTS release cycle we can be a bit stricter about backporting and, as you suggest, when automatic backports fail, only do a manual one for critical fixes.
p.s. Of course the easier solution is to postpone the conversion till the next LTS…
This was decided upon and sent out as memos to mailing list.