Skip to content

Migrate to hatch#24

Open
stephenfin wants to merge 4 commits intotesting-cabal:masterfrom
stephenfin:hatch
Open

Migrate to hatch#24
stephenfin wants to merge 4 commits intotesting-cabal:masterfrom
stephenfin:hatch

Conversation

@stephenfin
Copy link
Contributor

  • Remove references to unittest2
  • Migrate to hatch
  • Drop Python 3.10 support
  • Stop skipping test

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>
Signed-off-by: Stephen Finucane <stephen@that.guru>
return permutations

def testBasicSortTests(self):
self.skipTest("flaky, see LP #1645008")
Copy link
Member

Choose a reason for hiding this comment

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

Why can we stop skipping this test? The bug in Launchpad is still open.

__version__ = _version.semantic_version().version_tuple()
version = _version.release_string()
from testresources._version import __version_tuple__ as __version__ # noqa
from testresources._version import __version__ as version # noqa
Copy link
Member

Choose a reason for hiding this comment

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

what is going to create _version.py in "regular" cases, e.g. when running from git?

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.

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