Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/manual_update_screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '3.10'

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/playwright_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
fail-fast: false
matrix:
browser-name: [ "chrome", "firefox", "safari" ]
python-version: [ "3.8", "3.12.7" ] # 3.12.8 (latest) throws unexpected error inside container
python-version: [ "3.10", "3.14" ] # 3.12.8 (latest) throws unexpected error inside container

container:
image: mcr.microsoft.com/playwright/python:v1.48.0-noble
image: mcr.microsoft.com/playwright/python:v1.58.0-noble
options: --ipc=host

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
id: setup
uses: ./.github/actions/setup
with:
python-version: '3.8'
python-version: '3.10'

- name: Build package
run: |
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Ruff

on:
push:
branches:
- 'master'
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- 'LICENSE'
- '.gitignore'
pull_request:

jobs:
ruff:
runs-on: ubuntu-24.04

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Environment
uses: ./.github/actions/setup
with:
python-version: '3.12'

- name: Ruff lint
run: uv run ruff check

- name: Ruff format
run: uv run ruff format --check
2 changes: 1 addition & 1 deletion .github/workflows/selenium_safari_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.12" ]
python-version: [ "3.10", "3.14" ]

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/selenium_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
image: [ "selenoid/chrome:128.0", "selenoid/firefox:125.0"]
python-version: [ "3.8", "3.12" ]
python-version: [ "3.10", "3.14" ]

services:
selenoid:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.9", "3.11", "3.12", "3.13"]
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- name: Checkout code
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,6 @@ cython_debug/
/allure-report
/tests/adata/artifacts
tests/adata/visual/reference/reference_with_rerun.png

# AI
.claude
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.8
hooks:
- id: ruff
args: [--fix]
pass_filenames: false
- id: ruff-format
pass_filenames: false
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

<br>

## v3.5.0
*Release date: 2026-04-22*

### Breaking Changes
- **Python 3.8 and 3.9 dropped** — minimum supported version is now Python 3.10

### Added
- **Ruff linter** integrated: new CI workflow (`ruff.yml`), pre-commit hook, and full config in `pyproject.toml`
- **Python 3.13 and 3.14** support

### Changed
- `playwright` bumped `>=1.58.0`
- `numpy` bumped to `>=2.3.2`
- `opencv-python` bumped to `>=4.13.0`
- `scikit-image` bumped to `>=0.26.0`
- `Pillow` bumped to `>=12.1.0`
- `greenlet>=3.3.2` added as constraint-dependency

---

## v3.4.3
*Release date: 2026-04-21*

Expand Down
2 changes: 1 addition & 1 deletion docs/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.10"
commands:
- asdf plugin add uv
- asdf install uv latest
Expand Down
4 changes: 3 additions & 1 deletion mops/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
__version__ = '3.4.3'
"""Wrapper of Selenium, Appium and Playwright with a single API."""

__version__ = '3.5.0'
__project_name__ = 'mops'
Loading
Loading