Skip to content

chore: modernize packaging#15

Merged
tseaver merged 14 commits into
masterfrom
chore-modernize-packaging
May 3, 2026
Merged

chore: modernize packaging#15
tseaver merged 14 commits into
masterfrom
chore-modernize-packaging

Conversation

@tseaver

@tseaver tseaver commented May 3, 2026

Copy link
Copy Markdown
Member

No description provided.

tseaver added 14 commits April 25, 2026 11:05
- Add support for Python 3.14.
- Drop support for Python 3.9.
- Adopt 'src/' / 'tests/unit' layout.
- Remove running tests inside 'docs' build.
- Drop 'pkg_resources' namespace declaration.
- Drop runtime use of 'pkg_resources' for parsing retryables.
- Replace conditional imports w/ 'importlib.util.find_spec'

- Import stdlib modules at testcase module scope.

- Import 'repoze.retry' at testcase module scope:  use it to
  find the exception types, versus the now-removed 'CEBase'
  testcase class, as well as the 'Retry' class itself.

- Rename helpers for clarity.

- Replace 'unittest'-style assertions with 'assert'; 'self.assertRaises'
  with 'pytest.raises'.

- Remove testcase classes; replace class-level factories with fixtures.

- Use 'mock.Mock' for fixtures, versus hand-rolls.

- Lint tests to 'ruff check' standards.
Even though they don't get alled, the 'wsgiref.validator' asserts
if they aren't present.
@tseaver
tseaver merged commit 6657f15 into master May 3, 2026
8 checks passed
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