Skip to content

fix: detect python version for GH deployment workflow#40

Merged
rich-iannone merged 2 commits intomainfrom
fix-gh-deploy-py-version-detect
Mar 22, 2026
Merged

fix: detect python version for GH deployment workflow#40
rich-iannone merged 2 commits intomainfrom
fix-gh-deploy-py-version-detect

Conversation

@rich-iannone
Copy link
Member

This PR enhances the setup-github-pages command in the great_docs CLI to automatically detect the appropriate Python version for CI from the project's pyproject.toml, falling back to a sensible default if detection fails. It introduces a helper function for version detection, updates documentation and command options to reflect the new behavior, and adds tests to ensure correct functionality and edge case handling.

Fixes: #38

@rich-iannone rich-iannone merged commit 3aa679b into main Mar 22, 2026
7 checks passed
@rich-iannone rich-iannone deleted the fix-gh-deploy-py-version-detect branch March 22, 2026 04:13
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.

GitHub Actions for deployment hardcodes python 3.11 and does not respect package's python requirements

1 participant