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
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ on:

jobs:
test:
# ubuntu-24.04, not -latest: Playwright 1.58 cannot install Chromium on 26.04.
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
# broken cross-references and bad docstrings are caught before merge.
build:
name: Build docs
# ubuntu-24.04, not -latest: Playwright 1.58 cannot install Chromium on 26.04.
runs-on: ubuntu-24.04
runs-on: ubuntu-latest

steps:
- name: Checkout repository
Expand Down Expand Up @@ -91,8 +90,7 @@ jobs:
deploy:
name: Deploy docs
needs: build
# ubuntu-24.04, not -latest: Playwright 1.58 cannot install Chromium on 26.04.
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
# Skip deployment for pull requests.
if: github.event_name != 'pull_request'

Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# ubuntu-24.04, not -latest: Playwright 1.58 cannot install Chromium on 26.04.
os: [ubuntu-24.04, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
exclude:
- os: macos-latest
Expand Down Expand Up @@ -56,8 +55,7 @@ jobs:

minimum-deps:
name: Minimum deps (Python 3.10 / ubuntu)
# ubuntu-24.04, not -latest: Playwright 1.58 cannot install Chromium on 26.04.
runs-on: ubuntu-24.04
runs-on: ubuntu-latest

steps:
- name: Checkout repository
Expand Down
Binary file modified anyplotlib/tests/baselines/inset_1d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified anyplotlib/tests/baselines/inset_maximized.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified anyplotlib/tests/baselines/inset_minimized.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified anyplotlib/tests/baselines/inset_normal_2d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified anyplotlib/tests/baselines/inset_stacked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified anyplotlib/tests/baselines/inset_stacked_one_minimized.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion anyplotlib/tests/test_layouts/test_inset.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def test_repr():
# Visual regression tests
# ─────────────────────────────────────────────────────────────────────────────

BASELINES = pathlib.Path(__file__).parent / "baselines"
BASELINES = pathlib.Path(__file__).parent.parent / "baselines"


def _check(name: str, arr: np.ndarray, update: bool) -> None:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ docs = [
"sphinx-gallery>=0.18",
"pillow>=10.0",
"matplotlib>=3.7",
"playwright>=1.58.0",
"playwright>=1.65.3",
"plotly>=5.0",
"bokeh>=3.0",
"scipy>=1.15.3",
Expand All @@ -66,7 +66,7 @@ jupyter = [
[dependency-groups]
dev = [
"docutils>=0.19",
"playwright>=1.58.0",
"playwright>=1.65.3",
"pytest>=9.0.2",
"pytest-cov>=5.0.0",
"scipy>=1.15.3",
Expand Down
1 change: 1 addition & 0 deletions upcoming_changes/+playwright-1.65.maintenance.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgraded the test and docs builds to Playwright 1.65, which installs Chromium on Ubuntu 26.04, and restored the inset screenshot tests, which had silently skipped since they moved.
38 changes: 13 additions & 25 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading