8000 Bump python_requires to 3.5.3 for typing.Type and to 3.5.4 for the lowest avaiable python on GHA by graingert · Pull Request #1524 · twisted/twisted · GitHub
[go: up one dir, main page]

Skip to content

Bump python_requires to 3.5.3 for typing.Type and to 3.5.4 for the lowest avaiable python on GHA #1524

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

Merged
merged 4 commits into from
Feb 26, 2021

Conversation

graingert
Copy link
Member
@graingert graingert commented Feb 25, 2021

Scope and purpose

typing.Type[str] doesn't work on py3.5.2 fixed in python 3.5.3 ​python/typing#267

Contributor Checklist:

@graingert graingert requested a review from adiroiban February 25, 2021 22:41
Copy link
Member
@adiroiban adiroiban left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks. Nothing major here.

I have a suggestion for a release note so that it will not read less like a commit message :) but nothing major.

If we decide to go for 3.5.3 as the minimum, I think that GitHub Actions should be updated to use that version.
Otherwise, why not go with 3.5.4? as this is the version used on Azure Windows tests

diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index ef83fd47e..c1368bde8 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -15,7 +15,7 @@ jobs:
       TOXENV: "alldeps-withcov-posix,coverage-prepare,codecov-push,coveralls-push"
     strategy:
       matrix:
-          python-version: [3.5, 3.6, 3.7, 3.8, 3.9, pypy-3.6, pypy-3.7]
+          python-version: [3.5.3, 3.6, 3.7, 3.8, 3.9, pypy-3.6, pypy-3.7]
 
     steps:
     - uses: actions/checkout@v2

Please check the comments and merge as you think it's best :)

Thanks!

@graingert graingert changed the title Bump python_requires to 3.5.3 for typing.Type Bump python_requires to 3.5.4 for typing.Type Feb 26, 2021
@graingert graingert closed this Feb 26, 2021
@graingert graingert reopened this Feb 26, 2021
@graingert graingert changed the title Bump python_requires to 3.5.4 for typing.Type Bump python_requires to 3.5.3 for typing.Type and to 3.5.4 for the lowest avaiable python on GHA Feb 26, 2021
@graingert graingert merged commit 229b37a into twisted:trunk Feb 26, 2021
@graingert graingert deleted the python-requires branch February 26, 2021 20:31
@rodrigc
Copy link
Contributor
rodrigc commented Feb 27, 2021

@graingert can you answer the question that @glyph asked you here: https://twistedmatrix.com/pipermail/twisted-python/2021-February/065432.html , preferably sending your answer to the mailing list.

@adiroiban @exarkun @glyph

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.

3 participants
0