Skip to content

Update Python version support to 3.9+#63

Merged
arauhala merged 7 commits into
masterfrom
feature/update-python-version-support
Dec 16, 2025
Merged

Update Python version support to 3.9+#63
arauhala merged 7 commits into
masterfrom
feature/update-python-version-support

Conversation

@arauhala
Copy link
Copy Markdown
Contributor

Summary

  • 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

Rationale

Python 3.6, 3.7, and 3.8 have reached end-of-life:

  • Python 3.6 EOL: December 2021
  • Python 3.7 EOL: June 2023
  • Python 3.8 EOL: October 2024

The SDK has been tested and works correctly on Python 3.11 (used in development Docker container and CI).

Changes

setup.py

python_requires='>=3.9',
classifiers=[
    ...
    'Programming Language :: Python :: 3.9',
    'Programming Language :: Python :: 3.10',
    'Programming Language :: Python :: 3.11',
    'Programming Language :: Python :: 3.12',
]

.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:

  • Removed pandas == 0.25.3; python_full_version <= "3.6.0"
  • Removed pandas ~= 1.0; python_full_version > "3.6.0" and python_full_version < "3.9.0"
  • Simplified to just pandas ~= 2.0
  • Removed aiohttp ~= 3.4; python_version < "3.8"

Test plan

  • CI tests pass
  • ReadTheDocs builds successfully with new config
  • Package installs correctly on Python 3.9+

Notes

The CircleCI config still has jobs named py_36, py_37, py_38 but 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

- 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>
@arauhala arauhala force-pushed the feature/update-python-version-support branch from 7d690e3 to 0758ded Compare December 15, 2025 18:37
araufuturice and others added 4 commits December 15, 2025 21:19
- 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>
@arauhala arauhala force-pushed the feature/update-python-version-support branch from 93dadaa to 87d1d7d Compare December 15, 2025 20:19
araufuturice and others added 2 commits December 15, 2025 22:31
- 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>
@arauhala arauhala merged commit 7bcb8c5 into master Dec 16, 2025
8 checks passed
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.

2 participants