Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support python 3.11 #1557

Merged
merged 11 commits into from
Mar 28, 2023
Merged

support python 3.11 #1557

merged 11 commits into from
Mar 28, 2023

Conversation

cosmicBboy
Copy link
Contributor

@cosmicBboy cosmicBboy commented Mar 22, 2023

TL;DR

Fixes flyteorg/flyte#3312. This PR makes the necessary changes to support python 3.11

It also addresses flyteorg/flyte#3166, removing the old numpy dtype aliases.

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

See TLDR

Tracking Issue

flyteorg/flyte#3312

Follow-up issue

NA

Signed-off-by: Niels Bantilan <[email protected]>
Signed-off-by: Niels Bantilan <[email protected]>
Signed-off-by: Niels Bantilan <[email protected]>
@codecov
Copy link

codecov bot commented Mar 22, 2023

Codecov Report

Merging #1557 (ce0e510) into master (a190431) will increase coverage by 0.00%.
The diff coverage is 25.00%.

@@            Coverage Diff            @@
##           master    #1557     +/-   ##
=========================================
  Coverage   69.58%   69.59%             
=========================================
  Files         311      311             
  Lines       28916    28918      +2     
  Branches     2755     5252   +2497     
=========================================
+ Hits        20122    20126      +4     
+ Misses       8281     8276      -5     
- Partials      513      516      +3     
Impacted Files Coverage Δ
flytekit/configuration/__init__.py 36.60% <0.00%> (ø)
flytekit/configuration/default_images.py 27.27% <0.00%> (-1.30%) ⬇️
flytekit/core/pod_template.py 0.00% <0.00%> (ø)
flytekit/types/schema/types.py 38.80% <ø> (+0.64%) ⬆️
plugins/setup.py 0.00% <ø> (ø)
setup.py 0.00% <ø> (ø)
tests/flytekit/unit/core/test_type_engine.py 98.59% <100.00%> (ø)

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Signed-off-by: Niels Bantilan <[email protected]>
wild-endeavor
wild-endeavor previously approved these changes Mar 22, 2023
@@ -4,7 +4,7 @@

microlib_name = f"flytekitplugins-{PLUGIN_NAME}"

plugin_requires = ["flytekit>=1.3.0b2,<2.0.0", "great-expectations>=0.13.30", "sqlalchemy>=1.4.23"]
plugin_requires = ["flytekit>=1.3.0b2,<2.0.0", "great-expectations>=0.13.30", "sqlalchemy>=1.4.23,<2.0.0"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needed? or just nice to have?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needed, since GE doesn't support sqlalchemy 2+ yet

Signed-off-by: Niels Bantilan <[email protected]>
@cosmicBboy cosmicBboy force-pushed the flytekit-python-3.11 branch from 3e65515 to b276bcb Compare March 23, 2023 13:55
Signed-off-by: Niels Bantilan <[email protected]>
wild-endeavor
wild-endeavor previously approved these changes Mar 23, 2023
Signed-off-by: Niels Bantilan <[email protected]>
wild-endeavor
wild-endeavor previously approved these changes Mar 23, 2023
Signed-off-by: Niels Bantilan <[email protected]>
@cosmicBboy
Copy link
Contributor Author

Note: this may also address flyteorg/flyte#2115 (?)

Copy link
Collaborator

@eapolinario eapolinario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

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.

[Core feature] Support Python 3.11
4 participants