FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

really drop python<=3.7 support by kloczek · Pull Request #608 · MagicStack/uvloop · GitHub

really drop python<=3.7 support - #608

Open
kloczek wants to merge 2 commits into
MagicStack:masterfrom
kloczek:master
Open

really drop python<=3.7 support#608
kloczek wants to merge 2 commits into
MagicStack:masterfrom
kloczek:master

Conversation

kloczek commented Jun 18, 2024

Copy link
Copy Markdown

Filter all code over pyupgrade --py38-plus.

kloczek added 2 commits June 18, 2024 19:08
Filter all code over `pyupgrade --py38-plus`.

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
"requires-python = '>=3.8.0'" in pyproject.toml is enough.

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>

fantix left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for the PR! I feel neutral about most of the changes here, but still approving.

Comment thread setup.py
Comment on lines -3 to -6
vi = sys.version_info
if vi < (3, 8):
raise RuntimeError('uvloop requires Python 3.8 or greater')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

"requires-python = '>=3.8.0'" in pyproject.toml is enough.

I'd keep this extra check. For people who uses Python < 3.8, they may also have a pip around year 2016 or earlier, which doesn't honor requires-python.

Comment thread tests/test_pipes.py

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

unused import io now

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL