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

Drop support for Python 3.7 end of year 2023 #2158

Closed
idanov opened this issue Dec 22, 2022 · 9 comments
Closed

Drop support for Python 3.7 end of year 2023 #2158

idanov opened this issue Dec 22, 2022 · 9 comments
Assignees
Labels
Issue: Feature Request New feature or improvement to existing feature

Comments

@idanov
Copy link
Member

idanov commented Dec 22, 2022

Description

Python's end of life for version 3.7 ends in June 2023 so we should be prepared, since a lot of packages might stop supporting 3.7, which will make our support for 3.7 more difficult. Therefore I would suggest we drop official support for 3.7 before June, and possibly with the release of 0.19. As a benefit, we can start using some nice features, as listed here. I am especially interested in the walrus operator, the improved support for typing, performance optimisations and last, but not least, importlib.metadata which can be super helpful for checking for installed versions of other Python packages (think of kedro-viz, kedro-datasets and other plugin compatibilities with kedro).

Context

To make sure we move along in pace with the rest of the ecosystem in Python.

Possible Implementation

Removing Python 3.7 support with Kedro 0.19.0.

Possible Alternatives

Waiting for Kedro 0.20.0 to drop Python 3.7 support.

@idanov idanov added the Issue: Feature Request New feature or improvement to existing feature label Dec 22, 2022
@merelcht merelcht changed the title Drop support for Python 3.7 from June 2023 Drop support for Python 3.7 end of year 2023 Jan 4, 2023
@merelcht merelcht added this to the Improve DevOps and DevSetup milestone Jan 10, 2023
@astrojuanlu
Copy link
Member

+1 to removing Python 3.7 support with Kedro 0.19.0. But I think we should communicate this in the 0.18.x releases.

@astrojuanlu
Copy link
Member

it looks like 3.7 is reaching end-of-life. Unless another security release happens in June, 3.7.17 will be the final release of Python 3.7.

https://mail.python.org/archives/list/python-announce-list@python.org/message/XEQ7I3YDDXJJA3JSARTHFDCBVXD6CPHT/

@merelcht
Copy link
Member

merelcht commented Sep 27, 2023

Done for core Kedro in #3060

Left to do:

  • kedro-plugins
  • kedro-starters

@astrojuanlu
Copy link
Member

Development versions of plugins and starters no longer support Python 3.7 and the next releases will have Python 3.8+ or 3.9+ support #2815 closing

@merelcht
Copy link
Member

merelcht commented Oct 24, 2023

This isn't done for kedro-datasets yet right? 1.8.0 has to be released first.

@astrojuanlu
Copy link
Member

As far as I understand 3.7 was dropped already kedro-org/kedro-plugins#392 what we have to do now for kedro-datasets is drop 3.8 kedro-org/kedro-plugins#404

@lrcouto
Copy link
Contributor

lrcouto commented Oct 24, 2023

As far as I understand 3.7 was dropped already kedro-org/kedro-plugins#392 what we have to do now for kedro-datasets is drop 3.8 kedro-org/kedro-plugins#404

We left kedro-datasets to be done on a separate PR, since it depended on the release.

@astrojuanlu
Copy link
Member

I stand corrected, thanks @lrcouto 👍🏽

@merelcht
Copy link
Member

This is completed now kedro-org/kedro-plugins#419 has been merged 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Feature Request New feature or improvement to existing feature
Projects
Status: Done
Development

No branches or pull requests

4 participants