Skip to content

Commit 8b5f06f

Browse files
authored
Merge branch 'main' into pyi059
2 parents 8e3f28a + 7ff653f commit 8b5f06f

11 files changed

Lines changed: 20 additions & 14 deletions

File tree

.github/workflows/daily.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
matrix:
3737
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
38-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
38+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3939
fail-fast: false
4040

4141
steps:

.github/workflows/meta_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
with:
6666
version: PATH
6767
python-platform: ${{ matrix.python-platform }}
68-
python-version: "3.9" # Oldest version supported for running scripts and tests
68+
python-version: "3.10" # Oldest version supported for running scripts and tests
6969
project: ./pyrightconfig.scripts_and_tests.json
7070
stubsabot-dry-run:
7171
name: Stubsabot dry run

.github/workflows/stubtest_stdlib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
matrix:
3333
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
34-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
34+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3535
fail-fast: false
3636

3737
steps:

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
matrix:
4444
platform: ["linux", "win32", "darwin"]
45-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
45+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
4646
fail-fast: false
4747
steps:
4848
- uses: actions/checkout@v6
@@ -84,7 +84,7 @@ jobs:
8484
strategy:
8585
matrix:
8686
python-platform: ["Linux", "Windows", "Darwin"]
87-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
87+
python-version: ["3.11", "3.12", "3.13", "3.14"]
8888
fail-fast: false
8989
steps:
9090
- uses: actions/checkout@v6

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ skip-magic-trailing-comma = true
1212

1313
[tool.ruff]
1414
line-length = 130
15-
# Oldest supported Python version
16-
target-version = "py39"
1715
fix = true
1816
exclude = [
1917
# virtual environment
@@ -255,8 +253,6 @@ extra-standard-library = [
255253
"_typeshed",
256254
"typing_extensions",
257255
# Extra modules not recognized by Ruff
258-
# Added in Python 3.9
259-
"zoneinfo",
260256
# Added in Python 3.14
261257
"compression",
262258
]

stubs/gunicorn/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "25.0.*"
1+
version = "25.0.2"
22
upstream_repository = "https://github.com/benoitc/gunicorn"
33
requires = ["types-gevent"]
44

stubs/gunicorn/gunicorn/config.pyi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,16 @@ class ASGILifespan(Setting):
11751175
default: ClassVar[str]
11761176
desc: ClassVar[str]
11771177

1178+
class ASGIDisconnectGracePeriod(Setting):
1179+
name: ClassVar[str]
1180+
section: ClassVar[str]
1181+
cli: ClassVar[list[str]]
1182+
meta: ClassVar[str]
1183+
validator: ClassVar[_IntValidatorType]
1184+
type: ClassVar[type[int]]
1185+
default: ClassVar[int]
1186+
desc: ClassVar[str]
1187+
11781188
class RootPath(Setting):
11791189
name: ClassVar[str]
11801190
section: ClassVar[str]

tests/mypy_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
print_error("Cannot import mypy. Did you install it?")
4545
sys.exit(1)
4646

47-
SUPPORTED_VERSIONS = ["3.14", "3.13", "3.12", "3.11", "3.10", "3.9"]
47+
SUPPORTED_VERSIONS = ["3.14", "3.13", "3.12", "3.11", "3.10"]
4848
SUPPORTED_PLATFORMS = ("linux", "win32", "darwin")
4949
DIRECTORIES_TO_TEST = [STDLIB_PATH, STUBS_PATH]
5050

tests/regr_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
TYPESHED = "typeshed"
4242

4343
SUPPORTED_PLATFORMS = ["linux", "darwin", "win32"]
44-
SUPPORTED_VERSIONS = ["3.14", "3.13", "3.12", "3.11", "3.10", "3.9"]
44+
SUPPORTED_VERSIONS = ["3.14", "3.13", "3.12", "3.11", "3.10"]
4545

4646

4747
def distribution_with_test_cases(distribution_name: str) -> DistributionTests:

tests/runtests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def main() -> None:
5050
parser.add_argument(
5151
"--python-version",
5252
default=None,
53-
choices=("3.9", "3.10", "3.11", "3.12", "3.13", "3.14"),
53+
choices=("3.10", "3.11", "3.12", "3.13", "3.14"),
5454
# We're using the oldest fully supported version because it's the most likely to produce errors
5555
# due to unsupported syntax, feature, or bug in a tool.
5656
help="Target Python version for the test (defaults to oldest supported Python version).",

0 commit comments

Comments
 (0)