Skip to content

Set up the primary Python version in the docs workflow - #208

Open
timkpaine wants to merge 1 commit into
mainfrom
tkp/docs-python-version
Open

timkpaine wants to merge 1 commit into
mainfrom
tkp/docs-python-version

Conversation

@timkpaine

Copy link
Copy Markdown
Member

The docs job set up Python without a version, so it ran on the setup action's default, 3.11. A project with requires-python = ">=3.12" then fails at "Install from wheel" with No solution found when resolving dependencies (dau-scheduler's first docs run). The job now passes python_version_primary the way the build job does, in every variant that renders a docs workflow.

The docs job installed the project on the setup action's default Python, 3.11, so a project whose requires-python is newer failed to resolve its own wheel. It now asks for python_version_primary like the build job.

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant