Update Python version support to 3.9+#63
Merged
Conversation
- Update setup.py python_requires from >=3.6 to >=3.9 - Update setup.py classifiers to list Python 3.9, 3.10, 3.11, 3.12 - Update .readthedocs.yml to use Python 3.11 with new RTD v2 config format - Simplify requirements/build.txt by removing old Python version conditionals Python 3.6, 3.7, and 3.8 have reached end-of-life. The SDK has been tested and works correctly on Python 3.11 (used in development Docker container). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
7d690e3 to
0758ded
Compare
- Remove Python 3.6, 3.7, 3.8 test jobs (all EOL versions) - Rename jobs to remove version suffixes (now only testing on 3.11) - Update Windows Python version from 3.6.9 to 3.11.0 - Update postgres image to cimg/postgres:13.20 for consistency 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Deploy Sphinx docs to GitHub Pages on push to master - Triggers on changes to docs/, aito/, or requirements/docs.txt - Replaces ReadTheDocs integration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Usage: ./do deploy-docs - Builds Sphinx documentation - Pushes to gh-pages branch for GitHub Pages hosting 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
93dadaa to
87d1d7d
Compare
- Update logo - Set logo background color to #0c0f41 - Add changelog entry for version 0.5.3 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Force fresh venv cache after Python version update. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
setup.pypython_requiresfrom>=3.6to>=3.9setup.pyclassifiers to list Python 3.9, 3.10, 3.11, 3.12.readthedocs.ymlto use Python 3.11 with new RTD v2 config formatrequirements/build.txtby removing old Python version conditionalsRationale
Python 3.6, 3.7, and 3.8 have reached end-of-life:
The SDK has been tested and works correctly on Python 3.11 (used in development Docker container and CI).
Changes
setup.py
.readthedocs.yml
Updated to use the new RTD v2 configuration format with Python 3.11. This should fix ReadTheDocs builds.
requirements/build.txt
Removed version-specific conditionals for old Python versions:
pandas == 0.25.3; python_full_version <= "3.6.0"pandas ~= 1.0; python_full_version > "3.6.0" and python_full_version < "3.9.0"pandas ~= 2.0aiohttp ~= 3.4; python_version < "3.8"Test plan
Notes
The CircleCI config still has jobs named
py_36,py_37,py_38but some actually use Python 3.11. A separate PR could refactor the CI to use a proper Python version matrix for 3.9, 3.10, 3.11, 3.12.🤖 Generated with Claude Code