8000 Fix bitrot in Github Actions on older Python versions by pganssle · Pull Request #1380 · dateutil/dateutil · GitHub
[go: up one dir, main page]

Skip to content

Fix bitrot in Github Actions on older Python versions #1380

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

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

pganssle
Copy link
Member
@pganssle pganssle commented Jul 29, 2024

Unsurprisingly, the CI has started to bitrot again.

Looks like the current issues are actions/setup-python#866 and macos-latest being an arm runner that does not have support for some older versions of Python.

Codecov was also giving some errors due to rate limiting, so I've made it a soft check, since I am hoping to switch to a native GHA solution anyway.

@pganssle pganssle changed the title Pin older verison of MacOS Pin older verison of MacOS in CI Jul 29, 2024
@pganssle pganssle changed the title Pin older verison of MacOS in CI Fix bitrot in Github Actions on older Python versions Jul 29, 2024
@pganssle pganssle force-pushed the fix_ci branch 2 times, most recently from 2e30039 to 7c1b331 Compare July 29, 2024 14:40
@pganssle pganssle added the build label Jul 29, 2024
This fixes three issues blocking the Github Actions CI.

1. macos-latest now refers to an arm runner, which doesn't support some
   older verisons of Python. These need to be pinned.
2. pip on Python 3.5 now throws SSL errors as part of the setup-python
   action, and so we need to whitelist the PyPI hosts. We are not too
   concerned with MITM in this situation so this is probably fine.
3. The Codecov upload job is kind of flaky, so we will no longer fail CI
   if it fails.
@pganssle pganssle merged commit 07be95d into dateutil:master Jul 29, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0