Skip to content

Commit f2dc832

Browse files
committed
chore: drop support for Python 3.8
1 parent d9cdfbb commit f2dc832

File tree

5 files changed

+12
-22
lines changed

5 files changed

+12
-22
lines changed

.azure-pipelines/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ extends:
3333
steps:
3434
- task: UsePythonVersion@0
3535
inputs:
36-
versionSpec: '3.8'
36+
versionSpec: '3.9'
3737
displayName: 'Use Python'
3838
- script: |
3939
python -m pip install --upgrade pip

.github/workflows/ci.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,9 @@ jobs:
4747
fail-fast: false
4848
matrix:
4949
os: [ubuntu-latest, windows-latest, macos-latest]
50-
python-version: [3.8, 3.9]
50+
python-version: ['3.9', '3.10']
5151
browser: [chromium, firefox, webkit]
5252
include:
53-
- os: ubuntu-latest
54-
python-version: '3.10'
55-
browser: chromium
56-
- os: windows-latest
57-
python-version: '3.10'
58-
browser: chromium
59-
- os: macos-latest
60-
python-version: '3.10'
61-
browser: chromium
6253
- os: windows-latest
6354
python-version: '3.11'
6455
browser: chromium
@@ -78,14 +69,13 @@ jobs:
7869
python-version: '3.12'
7970
browser: chromium
8071
- os: windows-latest
81-
# TODO: Change to actual version when it's released
82-
python-version: '3.13.0-rc.2'
72+
python-version: '3.13'
8373
browser: chromium
8474
- os: macos-latest
85-
python-version: '3.13.0-rc.2'
75+
python-version: '3.13'
8676
browser: chromium
8777
- os: ubuntu-latest
88-
python-version: '3.13.0-rc.2'
78+
python-version: '3.13'
8979
browser: chromium
9080
runs-on: ${{ matrix.os }}
9181
steps:

meta.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ build:
1515

1616
requirements:
1717
build:
18-
- python >=3.8 # [build_platform != target_platform]
18+
- python >=3.9 # [build_platform != target_platform]
1919
- pip # [build_platform != target_platform]
2020
- cross-python_{{ target_platform }} # [build_platform != target_platform]
2121
host:
22-
- python >=3.8
22+
- python >=3.9
2323
- wheel
2424
- pip
2525
- curl
2626
- setuptools_scm
2727
run:
28-
- python >=3.8
28+
- python >=3.9
2929
- greenlet ==3.1.1
3030
- pyee ==12.0.0
3131

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ asyncio_mode = "auto"
1818

1919
[tool.mypy]
2020
ignore_missing_imports = true
21-
python_version = "3.8"
21+
python_version = "3.9"
2222
warn_unused_ignores = false
2323
warn_redundant_casts = true
2424
warn_unused_configs = true
@@ -35,7 +35,7 @@ profile = "black"
3535

3636
[tool.pyright]
3737
include = ["playwright", "tests", "scripts"]
38-
pythonVersion = "3.8"
38+
pythonVersion = "3.9"
3939
reportMissingImports = false
4040
reportTypedDictNotRequiredAccess = false
4141
reportCallInDefaultInitializer = true

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,15 +228,15 @@ def _download_and_extract_local_driver(
228228
"Topic :: Internet :: WWW/HTTP :: Browsers",
229229
"Intended Audience :: Developers",
230230
"Programming Language :: Python :: 3",
231-
"Programming Language :: Python :: 3.8",
232231
"Programming Language :: Python :: 3.9",
233232
"Programming Language :: Python :: 3.10",
234233
"Programming Language :: Python :: 3.11",
235234
"Programming Language :: Python :: 3.12",
235+
"Programming Language :: Python :: 3.13",
236236
"License :: OSI Approved :: Apache Software License",
237237
"Operating System :: OS Independent",
238238
],
239-
python_requires=">=3.8",
239+
python_requires=">=3.9",
240240
cmdclass={"bdist_wheel": PlaywrightBDistWheelCommand},
241241
entry_points={
242242
"console_scripts": [

0 commit comments

Comments
 (0)