-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: drop support for EOL py37 (#743)
* build: drop support for EOL py37 * Test on PyPy 3.10 Co-authored-by: Henry Schreiner <[email protected]> * Add changelog entry --------- Co-authored-by: Henry Schreiner <[email protected]>
- Loading branch information
Showing
10 changed files
with
28 additions
and
46 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 |
---|---|---|
|
@@ -7,7 +7,7 @@ name = "build" | |
version = "1.1.1" | ||
description = "A simple, correct Python build frontend" | ||
readme = "README.md" | ||
requires-python = ">= 3.7" | ||
requires-python = ">= 3.8" | ||
license.file = "LICENSE" | ||
authors = [ | ||
{ name = "Filipe Laíns", email = "[email protected]" }, | ||
|
@@ -19,7 +19,6 @@ classifiers = [ | |
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
|
@@ -128,7 +127,7 @@ filterwarnings = [ | |
|
||
[tool.mypy] | ||
files = "src" | ||
python_version = "3.7" | ||
python_version = "3.8" | ||
strict = true | ||
show_error_codes = true | ||
enable_error_code = ["ignore-without-code", "truthy-bool", "redundant-expr"] | ||
|
This file contains 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 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 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 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 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,16 +1,11 @@ | ||
# SPDX-License-Identifier: MIT | ||
|
||
import sys | ||
|
||
import pytest | ||
|
||
import build | ||
|
||
|
||
def test_version(): | ||
assert build.__version__ | ||
|
||
|
||
@pytest.mark.skipif(sys.version_info < (3, 7), reason='Python 3.7+ required for dir support') | ||
def test_dir(): | ||
assert set(dir(build)) == set(build.__all__) |
This file contains 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