Skip to content

Integrate tox-dev/workflow's reusable-tox.yml#1711

Merged
bdraco merged 1 commit into
aio-libs:masterfrom
bdraco:ci/tox-dev-workflow
May 18, 2026
Merged

Integrate tox-dev/workflow's reusable-tox.yml#1711
bdraco merged 1 commit into
aio-libs:masterfrom
bdraco:ci/tox-dev-workflow

Conversation

@bdraco

@bdraco bdraco commented May 18, 2026

Copy link
Copy Markdown
Member

What do these changes do?

Adds a top-level tox.ini and routes the build, lint,
and metadata-validation jobs through
tox-dev/workflow's
reusable-tox.yml. The build-pure-python-dists job is
replaced by a build job that runs the new build-dists tox
env, lint becomes a matrix of pre-commit,
spellcheck-docs, and build-docs driven by the reusable
workflow, and a new metadata-validation job validates every
built dist. MyPy coverage uploads to Coveralls from a
post-tox-job hook, so reusable-linters.yml is retired.

Mirrors aio-libs/propcache#243.

Are there changes in behavior for the user?

No. CI-only change; end-user-visible behavior of yarl is
unaffected.

Is it a substantial burden for the maintainers to support this?

No; the new layout matches the one already in flight in
aiosignal and propcache.

Related issue number

N/A; tracks aio-libs/propcache#243.

Checklist

  • I think the code is well written
  • Unit tests for the changes exist — N/A (CI configuration)
  • Documentation reflects the changes — N/A (no user-visible change)
  • Add a new news fragment into the CHANGES/ folder
Agent run details (optional, for reviewers)

Drafted with Claude Code (Opus 4.7); reviewed by @bdraco.

Local verification on macOS:

  • tox r -e build-dists produces yarl-1.23.0.tar.gz and
    yarl-1.23.0-py3-none-any.whl in dist/.
  • tox r -e metadata-validation passes on both dists.
  • tox r -e build-docs builds the Sphinx HTML output.
  • tox r -e pre-commit -- <hook> exercises sampled hooks
    (yamllint, check-yaml, actionlint,
    check-github-workflows, check-github-workflows-timeout,
    file-contents-sorter, rst-linter, cython-lint,
    flake8, end-of-file-fixer, trailing-whitespace,
    codespell) and they pass.
  • tox r -e spellcheck-docs reproduces pre-existing macOS-only
    Hunspell divergence on words like quoter and unobvious
    that the Linux dictionary already accepts on master; my new
    CHANGES/1711.contrib.rst fragment is clean.

Scope intentionally narrow:

  • The lint matrix runs pre-commit, spellcheck-docs, and
    build-docs. doctest-docs is defined in tox.ini but
    not wired into the matrix because docs/index.rst has real
    .. doctest:: directives that need yarl installed; the
    install plumbing is a follow-up.
  • cibuildwheel test and benchmark jobs are untouched.

Adds a top-level tox.ini and routes the build, lint, and
metadata-validation jobs through tox-dev/workflow's
reusable-tox.yml. The build-pure-python-dists job is replaced by a
build job that runs the new build-dists tox env, lint becomes a
matrix of pre-commit, spellcheck-docs, and build-docs through the
reusable workflow, and a new metadata-validation job validates
every built dist. MyPy coverage uploads to Coveralls from a
post-tox-job hook; reusable-linters.yml is retired since its
responsibilities have moved into the new layout.

Mirrors aio-libs/propcache#243.
@psf-chronographer psf-chronographer Bot added the bot:chronographer:provided There is a change note present in this PR label May 18, 2026
@codspeed-hq

codspeed-hq Bot commented May 18, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 97 untouched benchmarks


Comparing bdraco:ci/tox-dev-workflow (92483e7) with master (c469ea2)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (8a7b505) during the generation of this report, so c469ea2 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@bdraco bdraco marked this pull request as ready for review May 18, 2026 23:25
@bdraco bdraco merged commit 806df57 into aio-libs:master May 18, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided There is a change note present in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant