Skip to content

Conversation

@simonw
Copy link
Owner

@simonw simonw commented Dec 29, 2025

  • Create pyproject.toml with project metadata, dependencies, and build config
  • Add dependency-groups for dev (pytest, cogapp, pytest-mock) and docs
  • Use hatchling as build backend
  • Remove obsolete setup.py and Pipfile

📚 Documentation preview 📚: https://shot-scraper--186.org.readthedocs.build/en/186/

claude and others added 7 commits December 29, 2025 02:43
- Create pyproject.toml with project metadata, dependencies, and build config
- Add dependency-groups for dev (pytest, cogapp, pytest-mock) and docs
- Use hatchling as build backend
- Remove obsolete setup.py and Pipfile
- Switch build backend from hatchling to uv_build
- Set homepage to shot-scraper.datasette.io
- Update requires-python to >=3.10
- Use correct [tool.uv.build-backend] section for flat layout
- Add version constraint to uv_build (>=0.9.18,<0.10.0)
@simonw
Copy link
Owner Author

simonw commented Dec 29, 2025

This is weird, all the Python versions are stuck at the same point in the tests:

CleanShot 2025-12-28 at 19 48 31@2x

@simonw
Copy link
Owner Author

simonw commented Dec 29, 2025

Claude pointed out that we are running on macos-latest:

runs-on: macos-latest

But the Playwright cache uses the Linux path convention:

- name: Cache Playwright browsers
uses: actions/cache@v5
with:
path: ~/.cache/ms-playwright/
key: ${{ runner.os }}-browsers

I don't see why that would cause the tests to pause like this though. Trying Ubuntu anyway.

@simonw
Copy link
Owner Author

simonw commented Dec 29, 2025

@simonw simonw merged commit 94c5ab7 into main Dec 29, 2025
11 checks passed
@simonw simonw deleted the claude/apply-changes-QsXz2 branch December 29, 2025 04:25
simonw added a commit that referenced this pull request Dec 29, 2025
simonw added a commit that referenced this pull request Dec 29, 2025
* Fix accessibility command for Playwright 1.57+

Playwright 1.57.0 removed `page.accessibility.snapshot()` after 3 years
of deprecation. This updates the accessibility command to use the new
`locator.aria_snapshot()` API instead.

Note: The output format has changed due to the new API returning a
different accessibility tree structure (using semantic landmark roles
like banner, main, contentinfo, navigation).

* -3.9, +3.14

* Enable accessibilty tests again

Refs #186 (comment)

---------

https://gistpreview.github.io/?f8ce6bdb7ee606c6eac20a9b1357c7e1/index.html
simonw added a commit that referenced this pull request Dec 29, 2025
simonw added a commit that referenced this pull request Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants