question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

APE 20: Of black and backport

See original GitHub issue

In 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 and black 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

Also cc @astropy/astropy-project-release-team

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mhvkcommented, Oct 6, 2022

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 doing isort 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…

0reactions
pllimcommented, Nov 1, 2022

This was decided upon and sent out as memos to mailing list.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found