Skip to content

tests: Add -latest alias for each integration test suite#5706

Merged
sentrivana merged 4 commits intomasterfrom
ivana/add-latest-tox-aliases
Mar 19, 2026
Merged

tests: Add -latest alias for each integration test suite#5706
sentrivana merged 4 commits intomasterfrom
ivana/add-latest-tox-aliases

Conversation

@sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Mar 19, 2026

Summary

  • For every auto-generated integration, adds a tox environment that aliases the highest tested version (e.g. tox -e py3.14-httpx-latest = tox -e py3.14-httpx-v0.28.1)
  • Makes it easy to run tests against the latest version without looking up exact version strings

Notes

  • The new latest env is NOT run in CI
  • The new latest env points to the highest non-prerelease env

For every auto-generated integration, add a tox environment that aliases
the highest tested version. E.g. `tox -e py3.14-httpx-latest` is
equivalent to `tox -e py3.14-httpx-v0.28.1`.

This makes it easy to run the latest version's tests without having to
look up the exact version string.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (logging) Separate ignore lists for events/breadcrumbs and sentry logs by sl0thentr0py in #5698

Bug Fixes 🐛

Anthropic

  • Set exception info on streaming span when applicable by alexander-alderman-webb in #5683
  • Patch AsyncStream.close() and AsyncMessageStream.close() to finish spans by alexander-alderman-webb in #5675
  • Patch Stream.close() and MessageStream.close() to finish spans by alexander-alderman-webb in #5674

Documentation 📚

  • Add note on AI PRs to CONTRIBUTING.md by sentrivana in #5696

Internal Changes 🔧

  • Add -latest alias for each integration test suite by sentrivana in #5706
  • Use date-based branch names for toxgen PRs by sentrivana in #5704
  • 🤖 Update test matrix with new releases (03/19) by github-actions in #5703
  • Add client report tests for span streaming by sentrivana in #5677

Other

  • Update CHANGELOG.md by sentrivana in #5685

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2026

Codecov Results 📊

56 passed | Total: 56 | Pass Rate: 100% | Execution Time: 9.15s

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 13461 uncovered lines.


Generated by Codecov Action

runtox.sh uses grep to match tox environments, so a search like
"py3.14-httpx" would match both the versioned env and the -latest
alias, running tests twice. Filter out -latest envs unless explicitly
requested.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sentrivana sentrivana changed the title feat(tox): Add -latest alias for each integration test suite tests: Add -latest alias for each integration test suite Mar 19, 2026
sentrivana and others added 2 commits March 19, 2026 12:30
…release

If the highest tested version is a prerelease (rc, alpha, beta), the
-latest alias now points to the highest stable version instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sentrivana sentrivana marked this pull request as ready for review March 19, 2026 11:35
@sentrivana sentrivana requested a review from a team as a code owner March 19, 2026 11:35
@sentrivana sentrivana enabled auto-merge (squash) March 19, 2026 11:38
@sentrivana sentrivana merged commit f963475 into master Mar 19, 2026
159 checks passed
@sentrivana sentrivana deleted the ivana/add-latest-tox-aliases branch March 19, 2026 11:41
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.

2 participants