Skip to content

Conversation

@jrbourbeau
Copy link
Member

@jrbourbeau jrbourbeau commented Jan 14, 2022

This PR removes support for Python 3.7. Ideally this would be merged around the same time as #8566

EDIT: Closes #2568

@jakirkham
Copy link
Member

Follows from this community discussion: dask/community#213

@jcrist
Copy link
Member

jcrist commented Feb 15, 2022

What's the status on this @jrbourbeau?

@jrbourbeau jrbourbeau changed the title [WIP] Drop Python 3.7 Drop Python 3.7 Feb 15, 2022
@jrbourbeau
Copy link
Member Author

Thanks for the ping @jcrist. I just brought this PR back to life (there were several merge conflicts from some recent mypy additions). Based on the conversation in dask/community#213, I think we're okay to drop support for Python 3.7. I'll update the corresponding PR over in distributed (xref dask/distributed#5683) but I think this should be good for a review. cc @jakirkham for visibility

@jcrist
Copy link
Member

jcrist commented Feb 15, 2022

Excellent, thanks @jrbourbeau. With the CI errors on 3.7 windows, it'd be good to get this in soon (rather than pushing up an eventually unneeded CI fix).

Copy link
Member

@jcrist jcrist 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 done a full grep through to see if you've found all the 3.7 compatibility logic (worst case we delete more lines later), but the changes here look good to me.

@jrbourbeau
Copy link
Member Author

Thanks @jcrist! I totally share the desire to get this in sooner rather than later. The only thing we should do is make sure this and dask/distributed#5683 go in at the same time (otherwise Python 3.7 CI builds will start failing)

@jakirkham
Copy link
Member

Sorry missed the ping earlier. Will try to look tonight or tomorrow. Thanks for working on these James 🙂

Copy link
Member

@jakirkham jakirkham left a comment

Choose a reason for hiding this comment

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

Thanks James! 😄

Generally looks good. Had one question below 🙂

return acc


_PY_VERSION = parse_version(".".join(map(str, sys.version_info[:3])))
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't appear to be used anywhere (including Dask generally). Should we just drop this? Maybe this whole module?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. In general, I tend to agree that if something isn't used we should just drop it. That said, _PY_VERSION has been used in the past and, while it's not needed at the moment, I anticipate it will be useful again in the future (e.g. xfailing a test on a specific Python version). So in this particular case I'm inclined to keep it around, but I don't think it's a huge deal either way (let me know if you'd like it removed)

Copy link
Member

Choose a reason for hiding this comment

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

Sounds reasonable

@jrbourbeau
Copy link
Member Author

Thanks @jakirkham @jcrist -- planning to merge this and dask/distributed#5683 later today if no further comment

@jakirkham jakirkham merged commit bd8e8dc into dask:main Feb 16, 2022
@jakirkham
Copy link
Member

Thanks James for the PR and everyone for the reviews! 😄

@ian-r-rose
Copy link
Collaborator

Woo!

@jrbourbeau jrbourbeau deleted the drop-python-3.7 branch February 17, 2022 01:27
jbusecke pushed a commit to jbusecke/xmovie that referenced this pull request Mar 9, 2023
Just noticed [these]() errors in the CI for python 3.7. It seems related to dask, and I noticed that dask does not support 3.7 since over a [year](dask/dask#8572). So I am removing 3.7 support here.
jbusecke pushed a commit to jbusecke/xmovie that referenced this pull request Mar 9, 2023
* Drop Python 3.7

Just noticed [these]() errors in the CI for python 3.7. It seems related to dask, and I noticed that dask does not support 3.7 since over a [year](dask/dask#8572). So I am removing 3.7 support here.

* Update ci.yaml

* Update whats-new.rst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RTD config file in the repo

4 participants