Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

feat(compat): add support for python 3.10 #13

Merged
merged 7 commits into from
Oct 6, 2021
Merged

Conversation

TheKevJames
Copy link
Member

Though 3.10 is still in RC, there's a bunch of things they've already settled on which we need to tackle before being able to support it. Most noteably, a bunch of the deprecated usages of loop for asyncio have now been removed entirely, which means we'll need to update accordingly. Since >=3.6 supports removing this flag and 3.5 is already EOL'd, I've elected to drop support for 3.5 rather than maintain duplicate flows for all relevant code paths.

A good chunk of this PR ended up being lint fixes; the test file needed to be split since pre-commit was whinging, the linters getting updated to py3.6 where able to migrate us to f-strings, and the now-unnecessary iter* "convenience" methods could be removed.

Note that, as this removes support for 3.5, it should be considered a breaking change.

@TheKevJames TheKevJames merged commit dda3b5d into master Oct 6, 2021
@TheKevJames TheKevJames deleted the kj/support-py310 branch October 6, 2021 01:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant