enthought / traits

Observable typed attributes for Python classes
Other
421 stars 85 forks source link

Use earlier macOS for earlier Python versions #1789

Closed mdickinson closed 2 months ago

mdickinson commented 2 months ago

This PR should get the CI back to a working baseline state. It fixes one of the various reasons that CI is currently failing on the main branch: GitHub Actions switched to ARM runners for macos-latest, and the setup-python action doesn't have Python 3.8 and 3.9 builds available for those ARM runners.

The PR also includes a version constraint on PySide6, to work around #1787, and the addition of defusedxml to the test dependencies, since it's needed by the most recent versions of Sphinx.

mdickinson commented 2 months ago

Marking this as ready for review. I'll fix the test-from-pypi workflow separately.

@flongford Another one for you, if you have the cycles. The branch protections will need to be updated for the new matrix combinations; I'll do that immediately prior to merge.

mdickinson commented 2 months ago

I'm going to leave this open for a bit; it looks as though we might have Python 3.8 and 3.9 available again on macos-latest soon, in which case this PR won't be necessary: https://github.com/actions/setup-python/issues/808

mdickinson commented 2 months ago

Python 3.8 and Python 3.9 are now available again via setup-python on GitHub-hosted macos-latest runners, so this PR is no longer necessary.