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 Python 3.7 support #2169

Merged
merged 24 commits into from
Jul 7, 2022
Merged

Drop Python 3.7 support #2169

merged 24 commits into from
Jul 7, 2022

Conversation

gsheni
Copy link
Contributor

@gsheni gsheni commented Jul 5, 2022

@gsheni gsheni changed the title Update setup.cfg Drop Python 3.7 support Jul 5, 2022
docs/source/release_notes.rst Outdated Show resolved Hide resolved
@gsheni gsheni requested a review from tamargrey July 5, 2022 19:01
@gsheni
Copy link
Contributor Author

gsheni commented Jul 5, 2022

This is blocked until Woodwork does a release.

Copy link
Contributor

@thehomebrewnerd thehomebrewnerd left a comment

Choose a reason for hiding this comment

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

I haven't fully kept up with all the dependency discussions, but on the surface I'm a little confused by some of the changes to the minimum versions that are made in this PR.

.github/workflows/build_docs.yaml Outdated Show resolved Hide resolved
setup.cfg Outdated
@@ -49,12 +48,12 @@ install_requires =
distributed >= 2021.10.0
holidays >= 0.13
numpy >= 1.21.0
pandas >= 1.3.0
pandas >= 1.4.0, != 1.4.2
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to bump the minimum pandas and woodwork versions for the base install?

setup.cfg Outdated
pyspark >=3.2.0
pandas >=1.3.0, <1.4.0
pyspark >= 3.2.0, <3.3.0
pandas >= 1.4.3
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to add this? Won't the dependency resolver figure this out, depending on the Woodwork version we have installed?

Copy link
Contributor

Choose a reason for hiding this comment

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

@gsheni @ozzieD Does this change have anything to do with dropping support for Python 3.7?

I'm trying to think thorough all the dependency changes, and I'm not sure I'm understanding everything yet, but this feels more like a change for compatibility with the upcoming release of Woodwork. If that is the case, would it be more appropriate to implement the change to these requirements when the new version of Woodwork is released?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, the latest released version of Woodwork restricts the pandas version, which makes implementing this PR hard.
We get the following errors:
Screen Shot 2022-07-06 at 12 02 23 PM

We are going to wait for Woodwork to do another release before proceeding in this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm confused still - why do we need to have pandas >= 1.4.3 here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Are you saying that if we leave the spark requirements section as it is on main currently, that we can't proceed with this PR?

@gsheni gsheni assigned ozzieD and unassigned gsheni Jul 6, 2022
setup.cfg Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
setup.cfg Outdated Show resolved Hide resolved
@gsheni gsheni enabled auto-merge (squash) July 7, 2022 15:45
Copy link
Contributor

@thehomebrewnerd thehomebrewnerd left a comment

Choose a reason for hiding this comment

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

LGTM!

@gsheni gsheni assigned gsheni and unassigned ozzieD Jul 7, 2022
@gsheni gsheni merged commit c9de1ae into main Jul 7, 2022
@gsheni gsheni deleted the remove_37 branch July 7, 2022 16:18
This was referenced Jul 19, 2022
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.

Drop support for Python 3.7 in the future
4 participants