Skip to content

Conversation

@woodruffw
Copy link
Member

@woodruffw woodruffw commented Jun 13, 2023

Closes #60.

Closes #55.

Closes #58.

Closes #32.

@woodruffw woodruffw self-assigned this Jun 13, 2023
These are seemingly intentionally incompatible with pytest.
Comment on lines 31 to 34
class TestSysModules(CurrentVersionBase):
# class TestSysModules(CurrentVersionBase):
# # This relies on invocation in a clean python environment using unittest
# # not using pytest.
Copy link
Member

Choose a reason for hiding this comment

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

I think I'd prefer to just remove these rather than comment them out if we're not going to be able to make them functional in this PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, I'm still messing around here -- I'm currently seeing whether it's feasible to update the older lists in CI, and I'll remove tests depending on how that pans out 🙂

Copy link
Member Author

Choose a reason for hiding this comment

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

Done; I've rewritten the tests entirely (and enforced 100% coverage).

@woodruffw
Copy link
Member Author

The automation here opened up #65 and #66, which should probably be merged first so that I can close the loop and fix the tests on all supported Python versions 🙂

@woodruffw
Copy link
Member Author

Okay, this should be good to go. To summarize:

  • The CI now runs and passes on the versions of Python supported by this library (3.7+)
  • The unit tests now enforce 100% test coverage and have been mostly deleted/rewritten
  • There's a new listgen.yml workflow that keeps the version lists up to date (currently only 3.7+, but additional strategies could possibly be added for even older versions)

@woodruffw woodruffw requested a review from di June 16, 2023 01:36
Comment on lines +32 to +40
# lint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v4
# with:
# python-version: "3.10"
# - name: lint
# run: make lint INSTALL_EXTRA=lint
Copy link
Member Author

Choose a reason for hiding this comment

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

NB: Intentionally not enabled; will do in a separate PR.

@woodruffw woodruffw mentioned this pull request Jun 16, 2023
@woodruffw woodruffw added this to the 0.9.0 milestone Jun 19, 2023
Copy link
Member

@miketheman miketheman left a comment

Choose a reason for hiding this comment

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

Reviewed in Conventional Comments style. Let me know if any don't make sense!

@woodruffw woodruffw requested a review from miketheman June 20, 2023 03:09
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.

Use GitHub Actions for CI/CD Py 3.10+ support Time for a new release with 3.10 and 3.11 support? Why are some versions not included?

4 participants