-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Description
I noticed a synchronization issue regarding the schema.json update and the actual build environment support for Python 3.14.
Previously, I encountered build errors when trying to use Python 3.14, even though it was already listed as valid in the schema file.
It works now, but there was a time lag (whether hours or days) between the schema update in this repository and the actual infrastructure support.
Impact
We use Renovate to automate our dependency updates based on your schema.
- Renovate detected the change in
schema.json(allowing3.14) immediately after it was merged into themainbranch. - It opened a PR to update our configuration (e.g., chore(deps): update dependency python to v3.14 Flexget/Flexget#4679).
- The PR checks failed because the Read the Docs build servers had not yet been deployed with the new version support at that specific moment.
Hypothesis
I suspect this happens because the schema.json lives in the source code repository. When a PR merging support for a new Python version is merged, the schema updates immediately on GitHub, but there is a delay before that code is deployed to the production build servers.
Suggestion
Publish the official schema to a live URL (e.g., on docs.readthedocs.io or an API endpoint) representing the current production state.
If we could point Renovate to a URL that is only updated after (or during) the production deployment, it would ensure the schema is never ahead of the actual build capabilities. Relying on the file in the main branch of the source repo seems to be the root cause of these premature PRs.