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

Jupyter PyPI Trusted Publishers #63

Closed
blink1073 opened this issue May 3, 2023 · 3 comments
Closed

Jupyter PyPI Trusted Publishers #63

blink1073 opened this issue May 3, 2023 · 3 comments

Comments

@blink1073
Copy link

As mentioned in the meeting yesterday, we should consider using PyPI Trusted Publishers for Jupyter Projects.

I ran an experiment using my test-python-project repository. I made a release to the Test PyPI instance using my main account, and then one using a backup account, that does not have a login to Test PyPI.

image

Here is what the PyPI security log looks like:

image

Here is the deployment log from the repo:

image

The publish permissions would move from PyPI to the Environment Permissions on the repository:

image

@fcollonval
Copy link

FYI I opened a PR on jupyter_releaser to support this as well as NPM provenance: jupyter-server/jupyter_releaser#511

@fcollonval
Copy link

I'm starting rolling that to the major JupyterLab packages for the next release.

@blink1073
Copy link
Author

All of the repositories that use Jupyter Releaser now use PyPI trusted publishing.

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

No branches or pull requests

2 participants