Skip to content
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

Adds support to python 3.13 #466

Merged
merged 3 commits into from
Oct 25, 2024
Merged

Conversation

jairhenrique
Copy link
Contributor

No description provided.

@@ -63,6 +63,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
Copy link
Member

Choose a reason for hiding this comment

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

Is this needed? Python 3.13 should not be a prerelease anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@The-Compiler to Python 3.13 no, Github already release the final version, but it could be useful if we want to prepare the ci/code to next version!

In the manifest 3.14 is now available https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json.

Do you think it's better to take it off?

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 it is published now, so we can take it off? I'm doing it to see.

Seems to be broken at the moment:

```
Run actions/attest-build-provenance@v1
Run actions/attest-build-provenance@f1185f1
Error: Failed to get ID token: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable
```
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

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

Thanks @jairhenrique!

@nicoddemus nicoddemus merged commit 51bebd3 into pytest-dev:main Oct 25, 2024
18 checks passed
@jairhenrique jairhenrique deleted the python313 branch October 25, 2024 14:45
@@ -25,7 +25,8 @@ jobs:
- name: Build and Check Package
uses: hynek/build-and-inspect-python-package@v2.9.0
with:
attest-build-provenance-github: 'true'
# Disabling because this is failing currently, see #466.
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

To summarize, it is better then to use with attestations in the publish-pypi action instead of in hynek/build-and-inspect-python-package?

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, that's my stance. Though, not everybody feels that way.

FWIW, GitHub's own attestations are embedded into the UI. The PyPI ones are upload provenance, not necessarily build provenance, technically.

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.

4 participants