8000 MNT Remove duplicated blank issue option by lesteve · Pull Request #30710 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

MNT Remove duplicated blank issue option #30710

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

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

lesteve
Copy link
Member
@lesteve lesteve commented Jan 23, 2025

on main Blank issue is duplicated

image

with this PR (tested on my fork)

image

@lesteve lesteve added the Quick Review For PRs that are quick to review label Jan 23, 2025
Copy link

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 2f465ef. Link to the linter CI: here

@@ -1,4 +1,4 @@
blank_issues_enabled: true
blank_issues_enabled: false
Copy link
Member

Choose a reason for hiding this comment

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

Last time I tested this I found that the https://github.com/scikit-learn/scikit-learn/issues/new does not exist, so the "Blank issue" on the bottom of this file does not work.

On your fork, does the link work now? (It should be https://github.com/lesteve/scikit-learn/issues/new on a fork)

Copy link
Member Author
@lesteve lesteve Jan 24, 2025

Choose a reason for hiding this comment

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

I push this PR branch in my fork main branch and https://github.com/lesteve/scikit-learn/issues/new works fine. I also double check that I can go to my fork issues click the "New issue" and select the blank template and it creates a blank issue.

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe there is something subtle I am missing though because even the link with scikit-learn repo https://github.com/scikit-learn/scikit-learn/issues/new works for me ...

Copy link
Member
@thomasjpfan thomasjpfan Jan 24, 2025

Choose a reason for hiding this comment

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

In the past, https://github.com/.../scikit-learn/issues/new exists on main because blank_issues_enabled: true.

In any case, it looks like this works now. Lets merge and see if there is an issue here.

Copy link
Member

Choose a reason for hiding this comment

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

Merged and checked that the link still works. 🥳

@thomasjpfan thomasjpfan merged commit e44742e into scikit-learn:main Jan 24, 2025
39 checks passed
@lucyleeow
Copy link
Member
lucyleeow commented Mar 20, 2025

I don't know if this is just me but clicking on the blank issue item at the bottom:

image

sends me to https://github.com/scikit-learn/scikit-learn/issues/new/ which then just redirects to https://github.com/scikit-learn/scikit-learn/issues/ne 8000 w/choose (which begins a forever loop)

(Alternatively maybe this was all just a clever ploy to prevent people from opening new blank issues? 😅 )

@lesteve
Copy link
Member Author
lesteve commented Mar 20, 2025

Oh well 🙄, I confirmed that I see the same behaviour as @lucyleeow.

I am pretty sure I opened a blank issue since this PR was merged e.g. #30888 and this worked fine, but maybe this was relying on some undefined behaviour ...

I guess reverting this PR is the easiest way forward ... maybe we want to remove the duplicated entry at the bottom?

According to the doc there does not seem a way to tweak the "Blank issue" description (i.e. to encourage using Discussions instead as was previously done)

@lesteve
Copy link
Member Author
lesteve commented Mar 20, 2025

Actually I found another way (which may be brittle, who knows what the future holds 😉).

Here is a link that works to open a blank issue: https://github.com/scikit-learn/scikit-learn/issues/new?template=BLANK_ISSUE

@lesteve
Copy link
Member Author
lesteve commented Mar 20, 2025

PR that fixes the "blank issue" link: #31038

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Quick Review For PRs that are quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0