Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve label versions triaging #1613

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

Open
picnixz wants to merge 4 commits into python:main
base: main
Choose a base branch
Loading
from picnixz:feat/workflow/triage-version-labels

Conversation

@picnixz
Copy link
Member

@picnixz picnixz commented Jul 20, 2025
edited by github-actions bot
Loading

Some people asked me about how I actually apply my labels while triaging and I think I could actually share my workflow in the devguide instead for future triaging. I especially think that it's not necessary for bugs that span across all active versions to be labelled with the all labels... Ideally, I would have wanted a 3.X+ tag which implies that the bug started appearing in 3.X, and a bot would be able to automate the labels every time a new one is added but this would be a separate issue.

cc @hugovk


📚 Documentation preview 📚: https://cpython-devguide--1613.org.readthedocs.build/

johnslavik reacted with heart emoji johnslavik reacted with rocket emoji
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Comment on lines 131 to 138
- If we are currently in the *beta* period of :samp:`3.{N}.0` and
if a feature was implemented in its *alpha* period but requires a
non-trivial extension (hence a new *feature* issue), this new
feature issue is given the :samp:`3.{N}` label as the latest
version under development would now be :samp:`3.{N+1}.0a1`.

To indicate that the labelling is correct and the extension is
approved, the :gh-label:`triaged` label could also be applied.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, not sure if we need this? And I'm not sure about the triage label suggestion, it doesn't really say anything more than "issue is accepted by a triager".

ezio-melotti reacted with thumbs up emoji
Copy link
Member Author

@picnixz picnixz Aug 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, it's for a visual tag. Sometimes I don't remember the issues I've triaged. And if I see an issue with weird label I would say "oh this one could have been mistriaged maybe". But with a triaged label, I know that I don't need to change the labels (same for when I lack a topic-* or a directory for an issue; when there is just "type-bug" it's kind of .. hard to know that there is actually a project associated to the issue; projects can't be seen on the issue page)

The available version labels (with the form :samp:`3.{N}`) are updated
whenever new feature releases are created or retired.

Recommendations
Copy link
Member

@devdanzin devdanzin Sep 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a recommendation about whether to keep type-bug in type-security issues (are they truly redundant?)?

Copy link
Member

@StanFromIreland StanFromIreland Sep 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that the place for that is beside the type-security doc?

devdanzin reacted with thumbs up emoji
Copy link
Member

@StanFromIreland StanFromIreland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Comment on lines +128 to +135
- If we are currently in the *beta* period of :samp:`3.{N}.0` and
if a feature was implemented in its *alpha* period but requires a
non-trivial extension (hence a new *feature* issue), this new
feature issue is given the :samp:`3.{N}` label as the latest
version under development would now be :samp:`3.{N+1}.0a1`.

To indicate that the labelling is correct and the extension is
approved, the :gh-label:`triaged` label can also be applied.
Copy link
Member Author

@picnixz picnixz Dec 7, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- If we are currently in the *beta* period of :samp:`3.{N}.0` and
if a feature was implemented in its *alpha* period but requires a
non-trivial extension (hence a new *feature* issue), this new
feature issue is given the :samp:`3.{N}` label as the latest
version under development would now be :samp:`3.{N+1}.0a1`.
To indicate that the labelling is correct and the extension is
approved, the :gh-label:`triaged` label can also be applied.
- Assume that we are currently in the *beta* period of :samp:`3.{N}.0`,
that is, the latest version under development is :samp:`3.{N+1}.0a1`.
If a feature implemented in the *alpha* period of :samp:`3.{N}.0`
requires a non-trivial extension, a *new* feature issue must be
created and be given the :samp:`3.{N}` label.
To indicate that the labelling is correct and the extension is
approved, the :gh-label:`triaged` label can also be applied.

Copy link
Member Author

@picnixz picnixz Dec 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hugovk Something like this?

Copy link
Member Author

@picnixz picnixz Dec 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: another acceptable 3.N label is when we implement a PEP. It's good to have both feature & 3.N labels at the same time because the PEP is meant to be implemented in that version.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit confused :)

Filling in numbers to make this concrete:

Assume that we are currently in the beta period of 3.14.0,
that is, the latest version under development is 3.15.0a1.
If a feature implemented in the alpha period of 3.14.0
requires a non-trivial extension, a new feature issue must be
created and be given the 3.14 label.

The 3.14 beta was May to July 2025.

3.15 was still in pre-alpha, versioned 3.15.0a0 (from May to October 2025).

Did you mean 3.{N+1}.0a0 rather than 3.{N+1}.0a1?


In any case, I'm not sure we really need to document such exceptional things.

(Nit: "there are a few exceptional cases" but then we list just one case.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I meant 3.15.0.a0 sorry.

I think we need to document at least this case because we explicitly state that betas are feature frozen. As for the list, I thought I would have more but I do not think there will be more so I can rephrase this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hugovk hugovk hugovk left review comments

@devdanzin devdanzin devdanzin left review comments

@StanFromIreland StanFromIreland StanFromIreland approved these changes

@AA-Turner AA-Turner Awaiting requested review from AA-Turner

@ezio-melotti ezio-melotti Awaiting requested review from ezio-melotti

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /