-
Notifications
You must be signed in to change notification settings - Fork 290
chore: drop python 3.6 for cibuildwheel driver #1175
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
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,13 +17,8 @@ repos: | |
rev: v2.37.1 | ||
hooks: | ||
- id: pyupgrade | ||
name: PyUpgrade 3.6+ | ||
args: ["--py36-plus"] | ||
exclude: ^bin/ | ||
- id: pyupgrade | ||
name: PyUpgrade 3.7+ on bin | ||
exclude: ^(cibuildwheel|unit_test|test)/ | ||
args: ["--py37-plus"] | ||
exclude: ^cibuildwheel/resources/.*py$ | ||
|
||
# Autoremoves unused imports | ||
- repo: https://github.com/hadialqattan/pycln | ||
|
@@ -37,6 +32,8 @@ repos: | |
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
args: ["-a", "from __future__ import annotations"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You added this before I could suggest it. :D There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ooo 👀 |
||
exclude: ^cibuildwheel/resources/.*py$ | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 22.6.0 | ||
|
@@ -52,9 +49,9 @@ repos: | |
rev: v0.961 | ||
hooks: | ||
- id: mypy | ||
name: mypy 3.6 on cibuildwheel/ | ||
exclude: ^(bin|cibuildwheel/resources|docs)/.*py$ | ||
args: ["--python-version=3.6"] | ||
name: mypy 3.7 on cibuildwheel/ | ||
exclude: ^cibuildwheel/resources/.*py$ | ||
args: ["--python-version=3.7"] | ||
additional_dependencies: &mypy-dependencies | ||
- nox | ||
- packaging>=21.0 | ||
|
@@ -70,11 +67,6 @@ repos: | |
- types-requests | ||
- bracex | ||
- dataclasses | ||
- id: mypy | ||
name: mypy 3.7+ on bin/ | ||
files: ^((bin|docs)/.*py)$ | ||
args: ["--python-version=3.7"] | ||
additional_dependencies: *mypy-dependencies | ||
- id: mypy | ||
name: mypy 3.10 | ||
args: ["--python-version=3.10"] | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
This is a summary of the Python versions and platforms covered by the different CI platforms: | ||
|
||
| | 3.6 | 3.7 | 3.8 | | ||
|----------|------------------------------|-----------------------------|------------------| | ||
| Linux | Travis CI / CircleCI | AppVeyor¹ / GitHub Actions | Azure Pipelines | | ||
| macOS | CircleCI | AppVeyor¹ / GitHub Actions | Azure Pipelines | | ||
| Windows | Travis CI / Azure Pipelines | AppVeyor¹ / GitHub Actions | Azure Pipelines | | ||
| | 3.7 | 3.8 | 3.9 | 3.10 | | ||
|----------|-----------------------|---------------------------|----------|----------------| | ||
| Linux | AppVeyor¹ / Travis CI | Azure Pipelines / GitLab | CircleCI | GitHub Actions | | ||
| macOS | AppVeyor¹ / Travis CI | Azure Pipelines | CircleCI | GitHub Actions | | ||
| Windows | AppVeyor¹ / Travis CI | Azure Pipelines | | GitHub Actions | | ||
|
||
> ¹ AppVeyor only runs the "basic" test to reduce load. | ||
|
||
Non-x86 architectures are covered on Travis CI using Python 3.6. | ||
Non-x86 architectures are covered on Travis CI using Python 3.7. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from __future__ import annotations | ||
|
||
import argparse | ||
import os | ||
import subprocess | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env python3 | ||
# This file supports 3.6+ | ||
|
||
from __future__ import annotations | ||
|
||
import os | ||
import shutil | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from __future__ import annotations | ||
|
||
import re | ||
import sys | ||
from pathlib import Path | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
from __future__ import annotations | ||
|
||
__version__ = "2.8.1" |
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.