<#1433 set maximum python version to 3.10> Pull re...
# flyte-github
a
#1433 set maximum python version to 3.10 Pull request opened by cosmicBboy Signed-off-by: Niels Bantilan niels.bantilan@gmail.com TL;DR Fixes flyteorg/flyte#3313, which allows users to install flytekit on python 3.11 but then come up against errors on import. Type ☑︎ Bug Fix ☐ Feature ☐ Plugin Are all requirements met? ☑︎ Code completed ☑︎ Smoke tested • [ ] Unit tests added • [ ] Code documentation added • [ ] Any pending items have an associated Issue Complete description This restriction was expressed softly in the
classifiers
tags but not programmatically enforced. Test Plan • Create a python virtual environment on python 3.11 (either with
pyenv
or
miniconda
) • Go to the
flytekit
root repo •
pip install -e .
to do an editable install • Expected outcome: you should see an error:
Copy code
ERROR: Package 'flytekit' requires a different Python: 3.11.0 not in '<3.11,>=3.7'
Tracking Issue https://github.com/flyteorg/flyte/issues/ Follow-up issue NA OR https://github.com/flyteorg/flyte/issues/ flyteorg/flytekit ✅ All checks have passed 30/30 successful checks