Skip to content

Update deprecation markers (3.1 -> 3.0.1) - #3422

Merged
deruyter92 merged 1 commit into
mainfrom
jaap/update-deprecation-markers
Jul 21, 2026
Merged

Update deprecation markers (3.1 -> 3.0.1)#3422
deruyter92 merged 1 commit into
mainfrom
jaap/update-deprecation-markers

Conversation

@deruyter92

@deruyter92 deruyter92 commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Several deprecation markers now are introduced for the new release (e.g. @deprecated or @renamed_parameter) that emit a message that a function or parameter is deprecated "since version 3.1". As we are releasing version 3.0.1 (minor release), this should be adapted accordingly.

@deruyter92 deruyter92 changed the title Update deprecation markers (They said 3.1, but will be 3.0.1 release Update deprecation markers (3.1 -> 3.0.1) Jul 20, 2026
@deruyter92
deruyter92 changed the base branch from main to jaap/pathlib-hardening July 20, 2026 16:08
@deruyter92 deruyter92 mentioned this pull request Jul 20, 2026
9 tasks
@deruyter92
deruyter92 force-pushed the jaap/update-deprecation-markers branch from ba50483 to add1845 Compare July 20, 2026 20:34
@MMathisLab
MMathisLab self-requested a review July 21, 2026 02:14
@deruyter92
deruyter92 force-pushed the jaap/pathlib-hardening branch from 92cdc1a to 0a9bbbc Compare July 21, 2026 06:48
@deruyter92
deruyter92 force-pushed the jaap/update-deprecation-markers branch from add1845 to 30c469d Compare July 21, 2026 06:49
@deruyter92
deruyter92 changed the base branch from jaap/pathlib-hardening to main July 21, 2026 06:49
@deruyter92
deruyter92 merged commit ab9e270 into main Jul 21, 2026
3 checks passed
@deruyter92
deruyter92 deleted the jaap/update-deprecation-markers branch July 21, 2026 08:01
deruyter92 added a commit that referenced this pull request Aug 13, 2026
Every @deprecated and @renamed_parameter marker spelled its version inline, so
a round of deprecations could only be retargeted by grepping for version
strings across the codebase. That is how the 3.1 -> 3.0.1 sweep in #3422 missed
analyze_time_lapse_frames, and it makes it easy to move an unrelated API while
retargeting one round.
DeprecatedSince now holds one constant per round, named after the migration
rather than its version so a retargeted round keeps its name, and annotated
with the PR that introduced it. All 67 markers reference it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants