Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: 3.11
- name: Install dependencies
Expand All @@ -25,15 +25,15 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
include:
- os: ubuntu-latest
python-version: '3.13'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Get conda
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
exclude: meta.yaml
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.11.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.13.0
rev: v1.18.2
hooks:
- id: mypy
additional_dependencies: [types-python-slugify==6.1.0]
additional_dependencies: [types-python-slugify==8.0.2.20240310]
- repo: https://github.com/pycqa/flake8
rev: 7.1.1
rev: 7.3.0
hooks:
- id: flake8
8 changes: 4 additions & 4 deletions local-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
black==24.3.0
black==25.11.0
pytest-cov==7.0.0
mypy==0.961
mypy==1.18.2
build==1.2.2.post1
twine==4.0.1
wheel==0.38.1
flake8==7.1.1
pre-commit==4.0.1
flake8==7.3.0
pre-commit==4.4.0
Django==4.2.24
pytest-xdist==3.8.0
pytest-asyncio==1.3.0
7 changes: 4 additions & 3 deletions pytest-playwright-asyncio/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,18 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Framework :: Pytest",
]
dynamic = ["version"]
dependencies = [
"playwright>=1.18",
"pytest>=6.2.4,<10.0.0",
"playwright>=1.26",
"pytest>=7.4.4,<10.0.0",
"pytest-base-url>=1.0.0,<3.0.0",
"python-slugify>=6.0.0,<9.0.0",
"pytest-asyncio>=0.24.0",
"pytest-asyncio>=0.26.0",
]

[project.urls]
Expand Down
5 changes: 3 additions & 2 deletions pytest-playwright/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Framework :: Pytest",
]
dynamic = ["version"]
dependencies = [
"playwright>=1.18",
"pytest>=6.2.4,<10.0.0",
"playwright>=1.26",
"pytest>=7.4.4,<10.0.0",
"pytest-base-url>=1.0.0,<3.0.0",
"python-slugify>=6.0.0,<9.0.0",
]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ async def test_base_url(page):
"""
)
result = testdir.runpytest("--browser", "test123")
assert any(["--browser: invalid choice" in line for line in result.errlines])
assert any("--browser: invalid choice" in line for line in result.errlines)


def test_browser_context_args_device(testdir: pytest.Testdir) -> None:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
# limitations under the License.

import os
from pathlib import Path
import signal
import subprocess
import sys
from pathlib import Path

import pytest

Expand Down Expand Up @@ -497,7 +497,7 @@ def test_base_url(page):
"""
)
result = testdir.runpytest("--browser", "test123")
assert any(["--browser: invalid choice" in line for line in result.errlines])
assert any("--browser: invalid choice" in line for line in result.errlines)


def test_django(testdir: pytest.Testdir) -> None:
Expand Down
Loading