Skip to content
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

MAINT: Fix bugs with code credit and linking #12820

Merged
merged 5 commits into from
Aug 30, 2024
Merged

Conversation

larsoner
Copy link
Member

@larsoner larsoner commented Aug 29, 2024

Closes #12817
Closes #12818

Also fix the neo part of https://app.circleci.com/pipelines/github/mne-tools/mne-python/25126/workflows/44f5e760-f46a-4e48-8a46-775135dcee05/jobs/68338, need to wait for Dipy to push out new wheels for other fixes.

"Drew, J.": "Jordan Drew", # 10861
"Hamid": "Hamid Maymandi", # 10849
"jwelzel": "Julius Welzel", # 11118
"Jean-Rémi King": "Jean-Rémi King",
Copy link
Member

Choose a reason for hiding this comment

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

this one looks vacuous, maybe a "find/replace-all" mistake?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, removed!

@@ -84,6 +126,18 @@ def generate_credit_rst(app=None, *, verbose=False):

unknown_emails: set[str] = set()

# Use doc/changes/*.rst to map PR numbers to names
Copy link
Member

Choose a reason for hiding this comment

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

a bit concerned about this, as (1) authors listed in changelog won't necessarily match those in Co-authored-by commit trailers, and (2) for older changelog entries, we must take in on faith that the PR number was entered correctly.

doc/sphinxext/mne_doc_utils.py Show resolved Hide resolved
@drammock
Copy link
Member

hmm, looks like the quantities.QuantitiesDeprecationWarning only exists for the last 2 months. So just adding it to conftest.py will only work for CIs that get quantities 0.16.0. Ones that aren't getting that are old, minimal, and pip-pre

@larsoner
Copy link
Member Author

Comments addressed, removed the problematic changelog parsing, and pushed a simple fix for conftest (no need to specify the warning type, the regex is targeted enough) so marking for merge-when-green!

@larsoner larsoner enabled auto-merge (squash) August 30, 2024 18:24
@larsoner larsoner merged commit 13852f5 into mne-tools:main Aug 30, 2024
28 checks passed
@larsoner larsoner deleted the credit branch August 30, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

code credit dedup bug in auto-linking of PRs in changelog
3 participants