Skip to content

Modernize tooling and dependencies#456

Open
sandhose wants to merge 6 commits intoquenting/modern-tooling/docsfrom
quenting/modern-tooling/tooling
Open

Modernize tooling and dependencies#456
sandhose wants to merge 6 commits intoquenting/modern-tooling/docsfrom
quenting/modern-tooling/tooling

Conversation

@sandhose
Copy link
Copy Markdown
Member

@sandhose sandhose commented Apr 2, 2026

Summary

  • Replace coverage with pytest-cov
  • Upgrade mypy from 1.5.1 to >=1.20
  • Remove hand-written google-auth stubs (replaced by google-auth-stubs package)
  • Remove prometheus-client upper version cap (<0.8 → uncapped)
  • Remove pyopenssl, service-identity, types-pyopenssl (no longer needed post-Twisted)
  • Remove stale deps and stubs/ directory references
  • Switch dependabot to uv ecosystem
  • Use uv sync --resolution=lowest-direct for old-deps CI job
  • Upgrade Docker image from Python 3.12 to 3.14

Test plan

  • uv sync installs successfully
  • uv run pytest tests/ passes
  • uv run mypy sygnal/ tests/ passes
  • CI green

Part 5 of 7 in the repository modernisation series. Builds on #455.

@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from 285d656 to d8149ff Compare April 2, 2026 12:36
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch 2 times, most recently from 57932bc to b6531ee Compare April 2, 2026 16:53
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch 2 times, most recently from 3268987 to ab14e48 Compare April 2, 2026 17:29
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch 2 times, most recently from 0ecac1d to 9c5740a Compare April 2, 2026 17:39
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch 2 times, most recently from cf4025a to 93772ed Compare April 2, 2026 17:58
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from 9c5740a to 5d646f7 Compare April 2, 2026 17:58
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from 93772ed to 92d116c Compare April 2, 2026 22:18
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch 2 times, most recently from 66d915b to dc43142 Compare April 2, 2026 22:38
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from 92d116c to 43fdd6d Compare April 2, 2026 22:38
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from dc43142 to 14afac6 Compare April 2, 2026 22:48
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from 43fdd6d to cf97bee Compare April 2, 2026 22:48
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from 14afac6 to 933dc50 Compare April 2, 2026 22:52
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from cf97bee to 6af2185 Compare April 2, 2026 22:52
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from 933dc50 to d423d69 Compare April 2, 2026 23:02
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from 6af2185 to 85f3e42 Compare April 2, 2026 23:02
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from d423d69 to c8c4724 Compare April 2, 2026 23:05
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch 2 times, most recently from 5cbdc57 to 6882db4 Compare April 3, 2026 10:21
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch 2 times, most recently from 475876b to 2d01ba7 Compare April 3, 2026 10:22
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch 2 times, most recently from 5b98dc0 to 22a1320 Compare April 3, 2026 11:34
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from 2d01ba7 to a46865b Compare April 3, 2026 11:38
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from 22a1320 to 1b61f12 Compare April 3, 2026 11:38
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from 0bf98da to 5dbec70 Compare April 3, 2026 13:24
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch 2 times, most recently from 2b50fc9 to 56b7c1c Compare April 3, 2026 13:28
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch 2 times, most recently from 6cf0d3a to a0f315d Compare April 3, 2026 13:33
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from 56b7c1c to 143fb98 Compare April 3, 2026 13:33
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from a0f315d to fbd5b3a Compare April 3, 2026 13:40
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from 143fb98 to 24feab2 Compare April 3, 2026 13:40
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from fbd5b3a to 8f85065 Compare April 3, 2026 13:49
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from 24feab2 to 6f8546b Compare April 3, 2026 13:49
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from 8f85065 to 30260f7 Compare April 3, 2026 14:00
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from 6f8546b to 17a648c Compare April 3, 2026 14:00
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from 17a648c to 1f24aa4 Compare April 3, 2026 14:10
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from 30260f7 to 8b0e3d4 Compare April 3, 2026 14:10
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from 1f24aa4 to c6bdaa6 Compare April 3, 2026 14:15
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from 8b0e3d4 to b2c71c6 Compare April 3, 2026 14:15
Drop standalone coverage dep in favour of pytest-cov, so coverage
can be collected with `uv run pytest --cov=sygnal`.
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch from c6bdaa6 to 6bf3f1f Compare April 3, 2026 14:30
@sandhose sandhose force-pushed the quenting/modern-tooling/docs branch from b2c71c6 to d00ad3b Compare April 3, 2026 14:30
@sandhose sandhose marked this pull request as ready for review April 3, 2026 14:47
@sandhose sandhose requested a review from a team as a code owner April 3, 2026 14:47
sandhose and others added 5 commits April 3, 2026 16:53
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The google-auth-stubs package covers everything we need. The
hand-written stubs in stubs/google/ were vestigial and can be
removed along with the mypy_path=stubs config.
The <0.8 cap was keeping us on a 2019-era version with no
documented justification. The APIs we use (Counter, Gauge,
Histogram, start_http_server) are stable across all versions.
Remove pyopenssl, service-identity, types-pyopenssl from deps (no
longer needed after Twisted removal). Remove stale changelog
fragments referencing poetry lockfile. Switch dependabot to uv
ecosystem.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sandhose sandhose force-pushed the quenting/modern-tooling/tooling branch 2 times, most recently from 6c3b661 to abb4bab Compare April 3, 2026 15:02
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.

1 participant