GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Replace local release-cycle.json with PEPs repo version by hugovk · Pull Request #1685 · python/devguide

Conversation

@hugovk

@hugovk hugovk commented Nov 10, 2025 •
edited by github-actions Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

We now generate and publish release-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/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@hugovk
Replace local file with https://peps.python.org/api/release-cycle.json
9edafb0
@hugovk hugovk changed the title Replace local file with https://peps.python.org/api/release-cycle.json Replace local release-cycle.json with PEPs repo version Nov 10, 2025
@hugovk
hugovk marked this pull request as draft November 10, 2025 14:53
hugovk added 2 commits November 10, 2025 17:21
@hugovk
Make output dir if needed
bf47e6d
@hugovk
Cache response
0dec214
StanFromIreland
StanFromIreland reviewed Nov 10, 2025
View reviewed changes
Comment thread include/release-cycle.json Outdated

@StanFromIreland StanFromIreland Nov 10, 2025

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@hugovk hugovk Nov 10, 2025

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

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 to https://peps.python.org/api/release-cycle.json

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sco1 reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@hugovk
Only call generate_release_cycle.py once via 'make html'
0e5cb84
@hugovk hugovk mentioned this pull request Nov 10, 2025
Update release-cycle.json URL to use PEPs API python/buildmaster-config#643
Merged
hugovk added a commit to hugovk/github-tools that referenced this pull request Nov 10, 2025
@hugovk
Update release-cycle.json URL to use PEPs API
8736dcf
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

AA-Turner commented Nov 10, 2025

Copy link
Copy Markdown
Member

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

A

StanFromIreland reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hugovk hugovk mentioned this pull request Nov 10, 2025
Note that release-cycle.json is now sourced from peps.python.org python/docsbuild-scripts#314
Merged
@hugovk

hugovk commented Nov 10, 2025

Copy link
Copy Markdown
Member Author

Yes, that's a good idea.

StanFromIreland reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 10, 2025
Update release-cycle.json URL python-docs-translations/transifex-automations#205
Merged
Update release-cycle.json URL pawamoy/yore#16
Merged
Update release-cycle.json URL encukou/buildbot-status-dashboard#6
Open
Update release-cycle.json URL RafaelWO/pirel#16
Merged
Update release-cycle.json URL sco1/pre-commit-python-eol#5
Merged
Update release-cycle.json URL chrisjbillington/ci-helper#1
Merged
Update release-cycle.json URL neersighted/dotfiles#3
Closed
Update release-cycle.json URL jprosser/my-build-python#1
Open
hugovk added a commit to hugovk/dotfiles-2 that referenced this pull request Nov 10, 2025
@hugovk
Update release-cycle.json URL
ff19462
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 hugovk mentioned this pull request Nov 10, 2025
Update release-cycle.json URL MtkN1/dotfiles#22
Merged
@hugovk

hugovk commented Nov 10, 2025

Copy link
Copy Markdown
Member Author

Yeah, they also need updating to point to peps.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 PEPs release-cycle.json?

A

Hm, seeing as this was never published under https://devguide.python.org/ and people were just fetching the file directly from the repo using something like https://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 then commits 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"}?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AA-Turner

AA-Turner commented Nov 10, 2025

Copy link
Copy Markdown
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

hugovk reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@m-aciek m-aciek mentioned this pull request Nov 10, 2025
Use PEP's versions API python-docs-translations/dashboard#142
Closed
AA-Turner
AA-Turner reviewed Nov 24, 2025
View reviewed changes
Comment thread conf.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@hugovk
hugovk marked this pull request as ready for review November 25, 2025 13:47
@hugovk

hugovk commented Nov 25, 2025

Copy link
Copy Markdown
Member Author

It's been a fortnight and most of the update PRs, and all the important ones, have been merged.

Ready for merge!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

AA-Turner
AA-Turner reviewed Nov 25, 2025
View reviewed changes
Comment thread _tools/generate_release_cycle.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread _tools/generate_release_cycle.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread conf.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread conf.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread _tools/generate_release_cycle.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@hugovk @AA-Turner
Fix return type
51829e3
Co-authored-by: Adam Turner <[email protected]>
AA-Turner
AA-Turner approved these changes Dec 21, 2025
View reviewed changes
@AA-Turner
AA-Turner merged commit 43b50c3 into python:main Dec 21, 2025
5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@hugovk
hugovk deleted the peps-toml branch December 21, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@StanFromIreland StanFromIreland StanFromIreland left review comments
@AA-Turner AA-Turner AA-Turner approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@hugovk @AA-Turner @StanFromIreland
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.