Movatterモバイル変換


[0]ホーム

URL:


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

Replace local release-cycle.json with PEPs repo version#1685

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
hugovk wants to merge4 commits intopython:main
base:main
Choose a base branch
Loading
fromhugovk:peps-toml

Conversation

@hugovk
Copy link
Member

@hugovkhugovk commentedNov 10, 2025
edited by github-actionsbot
Loading

We now generate and publishrelease-cycle.json from the PEPs repo (python/peps#4331) so can use that directly and don't need to duplicate this data.


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

@hugovkhugovk changed the titleReplace local file with https://peps.python.org/api/release-cycle.jsonReplace local release-cycle.json with PEPs repo versionNov 10, 2025
@hugovkhugovk marked this pull request as draftNovember 10, 2025 14:53

Choose a reason for hiding this comment

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

This will break scripts that depend on this file, e.g. your GitHub tools.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Yeah, they also need updating to point tohttps://peps.python.org/api/release-cycle.json

Let's update/notify the ones we know about before merging.

sco1 reacted with heart emoji
hugovk added a commit to hugovk/github-tools that referenced this pull requestNov 10, 2025
This file is now generated and published from the PEPs repo (python/peps#4331) and will be removed from the devguide soon (python/devguide#1685).
@AA-Turner
Copy link
Member

It might be better ad interim to have the devguide just copy & republish (or redirect to?) the PEPsrelease-cycle.json?

A

StanFromIreland reacted with thumbs up emoji

@hugovk
Copy link
MemberAuthor

Yes, that's a good idea.

StanFromIreland reacted with thumbs up emoji

hugovk added a commit to hugovk/dotfiles-2 that referenced this pull requestNov 10, 2025
This file is now generated and published from the PEPs repo (python/peps#4331) and will be removed from the devguide soon (python/devguide#1685).
@hugovk
Copy link
MemberAuthor

Yeah, they also need updating to point topeps.python.org/api/release-cycle.json

Let's update/notify the ones we know about before merging.

I've opened a bunch of PRs to update most of the public GitHub repos using this file.

It might be better ad interim to have the devguide just copy & republish (or redirect to?) the PEPsrelease-cycle.json?

A

Hm, seeing as this was never published underhttps://devguide.python.org/ and people were just fetching the file directly from the repo using something likehttps://raw.githubusercontent.com/python/devguide/main/include/release-cycle.json, we can't have a redirect, because there's nothing to redirect.

It's just a file in the repo. So we'd need to add some automation that downloads the new file, and thencommits it here.

Or we do update it manually from time to time.

I'm not so keen on either of those.

Because we never "officially published" this file, it was something used internally in this repo, I suggest we wait a little while for the important PRs above to be merged, then go ahead with this one.

And rather than completely delete the file here (which would give 404) we could put an error message in the file saying to use the new file instead. This could either be plain text, or some basic JSON such as{"notice": "This file has moved to https://peps.python.org/api/release-cycle.json"}?

@AA-Turner
Copy link
Member

Ah, yes. Perhaps let's wait at least a fortnight, but no later than the end of the year -- the only downside will be stale data in the devguide (I don't propose we'd make any further updates here).

I'd prefer to delete entirely, but adding some sort of note in the file could make sense. We could also add something to README / use an announcement issue. A 404 isn't terrible as it is an early and hard failure, whereas changing the JSON structure could have confusing errors. Luckily though the impact doesn't seem massive, there's only a dozen or so third-party uses on GitHub.

A

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

Reviewers

@StanFromIrelandStanFromIrelandStanFromIreland left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@hugovk@AA-Turner@StanFromIreland

[8]ページ先頭

©2009-2025 Movatter.jp