Skip to content

CI: Add support for Python 3.11 - #450

Merged
amotl merged 1 commit into
amo/fix-codecov-upload-errorsfrom
amo/python311
Oct 10, 2022
Merged

amotl merged 1 commit into
amo/fix-codecov-upload-errorsfrom
amo/python311

Conversation

@amotl

@amotl amotl commented Sep 29, 2022 •

Copy link
Copy Markdown
Contributor

Python 3.11 will be released in about a month, on 2022-10-24.

@amotl

amotl commented Sep 29, 2022 •

Copy link
Copy Markdown
Contributor Author

Problem

Downloading the CrateDB tarball fails on Python 3.11.

Error: Error downloading extends for URL https://cdn.crate.io/downloads/releases/cratedb/x64_mac/crate-5.0.1.tar.gz: 
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)>
Error: Process completed with exit code 1.

-- https://github.com/crate/crate-python/actions/runs/3152435065/jobs/5127728530

Solution

Maybe wait until actions/setup-python#512 has been resolved, 243820d is just a temporary workaround.

@amotl

amotl commented Oct 3, 2022 •

Copy link
Copy Markdown
Contributor Author

Problem

Code coverage report upload to Codecov started failing intermittently. See #451.

amotl added a commit that referenced this pull request Oct 3, 2022
The patch explicitly adds the use of the `with.token` option, as
confirmed by others to improve the behaviour even on public repos.

The token is not required for public repos, but it makes the workflow
less likely to randomly fail because of a limit in Codecov CI
capabilities.

Reference: #450 (comment)
@amotl
amotl force-pushed the amo/python311 branch 2 times, most recently from 1a4f069 to 792e7a2 Compare October 3, 2022 21:49
amotl added a commit that referenced this pull request Oct 4, 2022
Codecov occasionally responds with:

    404 Not Found: Unable to locate build via Github Actions API.

Some workaround-like mitigations have been tried, but to no avail.

#450 (comment)
@amotl
amotl force-pushed the amo/python311 branch 2 times, most recently from c5f335e to 150beea Compare October 4, 2022 09:16
@amotl
amotl marked this pull request as ready for review October 4, 2022 11:22
@amotl
amotl changed the base branch from master to amo/fix-codecov-upload-errors October 4, 2022 15:38
@amotl
amotl merged commit b780104 into amo/fix-codecov-upload-errors Oct 10, 2022
@amotl
amotl deleted the amo/python311 branch October 10, 2022 09:03
@amotl
amotl restored the amo/python311 branch October 10, 2022 09:29
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.

3 participants