Skip to content

Commit

Permalink
chore: drop Python 3.8 (#2627)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Oct 31, 2024
1 parent 286d49e commit f7cfdac
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ extends:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.8'
versionSpec: '3.9'
displayName: 'Use Python'
- script: |
python -m pip install --upgrade pip
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,9 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9']
python-version: ['3.9', '3.10']
browser: [chromium, firefox, webkit]
include:
- os: ubuntu-latest
python-version: '3.10'
browser: chromium
- os: windows-latest
python-version: '3.10'
browser: chromium
- os: macos-latest
python-version: '3.10'
browser: chromium
- os: windows-latest
python-version: '3.11'
browser: chromium
Expand Down
6 changes: 3 additions & 3 deletions meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ build:

requirements:
build:
- python >=3.8 # [build_platform != target_platform]
- python >=3.9 # [build_platform != target_platform]
- pip # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
host:
- python >=3.8
- python >=3.9
- wheel
- pip
- curl
- setuptools_scm
run:
- python >=3.8
- python >=3.9
- greenlet ==3.1.1
- pyee ==12.0.0

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ asyncio_mode = "auto"

[tool.mypy]
ignore_missing_imports = true
python_version = "3.8"
python_version = "3.9"
warn_unused_ignores = false
warn_redundant_casts = true
warn_unused_configs = true
Expand All @@ -36,7 +36,7 @@ profile = "black"
[tool.pyright]
include = ["playwright", "tests", "scripts"]
exclude = ["**/node_modules", "**/__pycache__", "**/.*", "./build"]
pythonVersion = "3.8"
pythonVersion = "3.9"
reportMissingImports = false
reportTypedDictNotRequiredAccess = false
reportCallInDefaultInitializer = true
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ def _download_and_extract_local_driver(
"Topic :: Internet :: WWW/HTTP :: Browsers",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -237,7 +236,7 @@ def _download_and_extract_local_driver(
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
python_requires=">=3.9",
cmdclass={"bdist_wheel": PlaywrightBDistWheelCommand},
entry_points={
"console_scripts": [
Expand Down

0 comments on commit f7cfdac

Please sign in to comment.