Skip to content

Schema includes new Python versions before they are supported in the build environment (causing premature Renovate PRs) #12619

@vivodi

Description

@vivodi

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.

  1. Renovate detected the change in schema.json (allowing 3.14) immediately after it was merged into the main branch.
  2. It opened a PR to update our configuration (e.g., chore(deps): update dependency python to v3.14 Flexget/Flexget#4679).
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions