feat: use python3.11+ for cibuildwheel driver (#1912)
* chore: use SPEC 0 schedule for cibuildwheel
* remove support for {python} and {pip} in commands
* Remove specific Python versions from the update-dependencies job
The requirements pinning is done by uv now, so we don't need to
run the versions of Python to do the pinning anymore.
---------
Co-authored-by: Joe Rickerby <joerick@mac.com>
This commit is contained in:
co-authored by
Joe Rickerby
parent
1608f7567e
commit
a96545b729
+4
-15
@@ -8,7 +8,7 @@ version = "2.22.0"
|
||||
description = "Build Python wheels on CI with minimal configuration."
|
||||
readme = "README.md"
|
||||
license = "BSD-2-Clause"
|
||||
requires-python = ">=3.8"
|
||||
requires-python = ">=3.11"
|
||||
authors = [
|
||||
{ name = "Joe Rickerby", email = "joerick@mac.com" },
|
||||
]
|
||||
@@ -30,9 +30,6 @@ classifiers = [
|
||||
"Natural Language :: English",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
@@ -46,9 +43,7 @@ dependencies = [
|
||||
"dependency-groups>=1.2",
|
||||
"filelock",
|
||||
"packaging>=20.9",
|
||||
"platformdirs",
|
||||
"tomli;python_version < '3.11'",
|
||||
"typing-extensions>=4.1.0;python_version < '3.11'",
|
||||
"platformdirs"
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
@@ -110,7 +105,7 @@ log_cli_level = "info"
|
||||
|
||||
|
||||
[tool.mypy]
|
||||
python_version = "3.8"
|
||||
python_version = "3.11"
|
||||
files = [
|
||||
"cibuildwheel/*.py",
|
||||
"test/**/*.py",
|
||||
@@ -142,7 +137,7 @@ ignore_missing_imports = true
|
||||
|
||||
|
||||
[tool.pylint]
|
||||
py-version = "3.8"
|
||||
py-version = "3.11"
|
||||
jobs = "0"
|
||||
fail-on = ["E", "F"]
|
||||
fail-under = "9.8"
|
||||
@@ -212,7 +207,6 @@ ignore = [
|
||||
"PYI025", # Set as AbstractSet
|
||||
"ISC001", # Conflicts with formatter
|
||||
]
|
||||
typing-modules = ["cibuildwheel._compat.typing"]
|
||||
flake8-unused-arguments.ignore-variadic-names = true
|
||||
|
||||
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
||||
@@ -221,14 +215,9 @@ flake8-unused-arguments.ignore-variadic-names = true
|
||||
"typing.Iterator".msg = "Use collections.abc.Iterator instead."
|
||||
"typing.Sequence".msg = "Use collections.abc.Sequence instead."
|
||||
"typing.Set".msg = "Use collections.abc.Set instead."
|
||||
"typing.NotRequired".msg = "Use cibuildwheel._compat.typing.NotRequired instead."
|
||||
"typing.assert_never".msg = "Use cibuildwheel._compat.typing.assert_never instead."
|
||||
"tomllib".msg = "Use cibuildwheel._compat.tomllib instead."
|
||||
"tomli".msg = "Use cibuildwheel._compat.tomllib instead."
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"unit_test/*" = ["PLC1901"]
|
||||
"cibuildwheel/_compat/**.py" = ["TID251"]
|
||||
"bin/*" = ["TID251"]
|
||||
|
||||
[tool.repo-review]
|
||||
|
||||
Reference in New Issue
Block a user