-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate support for EOL Python versions on MacOS #80
Comments
@bryant-finney |
I see here that the EOL for 3.6 is just a month away, so it seems like the timing is about right for macOS 11 dropping support. Hmmm I know GitLab avoids the need for if/else logic by defining the matrix like this: pytest:
# ...
parallel:
matrix:
- PY_MAJOR: 3
PY_MINOR: [5, 6, 7, 8]
OS: [macos-10.5, windows-latest, ubuntu-latest]
- PY_MAJOR: 3
PY_MINOR: [7, 8]
OS: macos-latest GitLab would generate 14 jobs from this definition (12 jobs from Do you know if GitHub actions supports an equivalent syntax? |
Not sure, I might have a look. That looks like the cleanest and most logical solution. Better than what I was thinking, which was something like: if: matrix.os == 'macOS-latest'
python-version: [3.7, 3.8]
if: matrix.os != 'macOS-latest'
python-version: [2.7, 3.5, 3.6, 3.7, 3.8] |
@jshwi this is interesting: I was under the impression that executing jobs with |
@bryant-finney Hm, this is what I gather from the build log. 2.7 was a miss for the cache, so I believe the python action downloaded it anyway. I suppose the safeness of the python action might not show an accurate representation for the average macos user... Regardless, seems the build still passes, but doubt that means much if users cannot find 2.7 in their own environment. |
@jshwi while working on #88, I bumped into |
@bryant-finney Well there won't be any more security patches etc for 2.7, so phasing it out should certainly be on the roadmap. Possible to just announce a deprecation warning up until the next minor release of this package. Would you know if removing 2.7 would be considered a breaking change (3.xx -> 4.x.x)? |
@jshwi I wouldn't think so. In an ideal world, nobody uses 2.7 anymore, so the change would not have any impact. In a real world, anyone who is still running 2.7 is unlikely to install updates/upgrades to dependencies (especially since |
Summary
PR #79 introduces GitHub actions for performing CI/CD. The pipeline executes the test suite across all supported Python versions on multiple operating systems.
actions/runner-images#4060 updates the
macOS-latest
workflow to referencemacOS-11
(frommacOS-10.5
); this is expected to remove support for Python versions2.7
,3.5
, and3.6
. Accordingly, the GitHub actions configuration must be updated to accommodate this change.Definition of Done
macOS
are skipped/allowed to fail/expected to fail for Python2.7
,3.5
, and3.6
on macOSThe text was updated successfully, but these errors were encountered: