Skip to content

Migrate to hatch#24

Merged
jelmer merged 4 commits intotesting-cabal:masterfrom
stephenfin:hatch
Mar 19, 2026
Merged

Migrate to hatch#24
jelmer merged 4 commits intotesting-cabal:masterfrom
stephenfin:hatch

Conversation

@stephenfin
Copy link
Contributor

@stephenfin stephenfin commented Mar 6, 2026

  • Remove references to unittest2
  • Migrate to hatch
  • Drop Python 3.10 support
  • Enable more ruff rules

Copy link
Member

@jelmer jelmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM. Some inline comments. Please also take a look at the failing tests.

unittest2 has not had a release in a decade [1].

[1] https://pypi.org/project/unittest2/

Signed-off-by: Stephen Finucane <stephen@that.guru>
The only meaningful change is that we now set requires-python, but we
haven't supported Python 2 is a long time so that's not a big issue.

Signed-off-by: Stephen Finucane <stephen@that.guru>
We also bump the GitHub Actions versions.

Signed-off-by: Stephen Finucane <stephen@that.guru>
This aligns us with testtools.

Signed-off-by: Stephen Finucane <stephen@that.guru>
@stephenfin
Copy link
Contributor Author

Overall LGTM. Some inline comments. Please also take a look at the failing tests.

I finally got around to addressing these plus the test failure (from additional ruff rules that I hadn't actually fixed).

@jelmer jelmer merged commit f66698a into testing-cabal:master Mar 19, 2026
5 checks passed
@stephenfin stephenfin deleted the hatch branch March 19, 2026 19:38
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