Mnt rearrange next api again#17265
Conversation
|
I haven't had had to arrange the notes for the actual release, and I automated my rebase machinery anyways :-) so I'm fine with anything that works best for the actual release manager. |
|
@anntzer right, but you were concerned about misplaced API change notes. I think this satisfies your concern, but I could be wrong.... |
|
I guess I can just pay more attention to where my notes go :) |
| :file:`doc/api/api_changes`, by adding to the relevant file | ||
| (see :file:`doc/api/api_changes.rst` for more information) | ||
| :file:`doc/api/next_api_changes/behaviour`, by adding a new file with the | ||
| naming convention ``20202-02-17-JMK.rst`` where the date is followed by the |
There was a problem hiding this comment.
That's a bit too far in the future. Also maybe use the name of the template file.
| naming convention ``20202-02-17-JMK.rst`` where the date is followed by the | |
| naming convention ``2020-01-01-AL.rst`` where the date is followed by the |
| the most recent :file:`doc/api/api_changes_X.Y` | ||
| - Deprecations must be announced via a new file in | ||
| the most recent :file:`doc/api/next_api_changes/deprecations/` with | ||
| naming convention ``2020-01-01-JMK.rst`` where ``JMK`` are the contributor's |
There was a problem hiding this comment.
Same name as template:
| naming convention ``2020-01-01-JMK.rst`` where ``JMK`` are the contributor's | |
| naming convention ``2020-01-01-AL.rst`` where ``AL`` are the contributor's |
|
Oh, this isn't merged yet? No wonder I was confused making the release. |
|
Sorry, I think we were waiting for you to do a release and decide if this was the way to go? Now would be a good time to implement if its what is wanted. |
|
Anything works for me, I wrote my own personal script to automate the rebase ;) so the current approach is good, but putting everything in separate files is good too. |
dstansby
left a comment
There was a problem hiding this comment.
👍 to having different categories. If individual files makes in-between release work easier also 👍
The release manager will still have to concatenate the files, but that is pretty easy.
Concatenating is easy, tidying up and creating a coherent and consistently structured page from all the snippets less so 😉
|
(obviously the doc build failures should be fixed before this is merged!) |
|
I'm also fine either way. The advantage of a file with multiple entries is that the author can already place the notes next to similar stuff (at least I've done that). With one entry per file this is exclusively the burden for the release manager. The chronological order is not necessarily a good one. |
Thats fair enough. Ideal would be to have some sort of link to the pull request: numpy tracks those somehow https://numpy.org/doc/stable/release/1.19.0-notes.html |
bbd9296 to
b84da0c
Compare
|
As noted on the call, I think the toc tree glob in https://github.com/matplotlib/matplotlib/blob/master/doc/api/api_changes.rst#L19-L36 needs to also be updated. |
Right, and I need to move what's already been accumulated.... |
7c68201 to
9828374
Compare
|
OK, this should properly build now. Sorry about that. |
0cda28a to
b347421
Compare
|
This one will actually be a bit of a chore to rebase all the time if we keep getting API changes, so I'll ask for slightly expedited merging if its OK.... |
QuLogic
left a comment
There was a problem hiding this comment.
The directory is named behavior.
b347421 to
73fdc8b
Compare
73fdc8b to
7c06fcb
Compare
|
Travis is reporting twice, and confused. |
|
Thanks @QuLogic (and everyone else). Though this PR doesn't preclude our moving to towncrier so far as I'm concerned. I just haven't had time to look at how its set up. |
PR Summary
The
next_api_changeshas some recent changes that I think should be reconsidered. Less egregious, thenext_api_changeswere put into one of four files instead of individual files. As explained in #15158 this was so that the API changes were not a huge mishmash of deprecations, behaviour changes etc, all of which are far easier to track at the outset rather than when the release is made.However, this leads to endless rebasing, and I don't think is particularly sustainable.
This PR goes back to the one-file-per PR model, but introduces subdirectories:
so the organization is by subdirectory. The release manager will still have to concatenate the files, but that is pretty easy.
The other change that happened was we renamed the directory
3.3_api_changeswhich makes no sense if we have a PR that is slated for 3.4 or one that doesn't get into 3.4. If 3.3 gets cut then my API change is a directory that has been removed.The one-file per PR gets around all these issues because the file will only appear in a tagged release in the right spot.
ping @dstansby @QuLogic @anntzer
PR Checklist