Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Set up trusted publishing to PyPI

Aperta
#87 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
github-actions, python

Direzione di ricerca

Start with the linked GitHub Actions run and the workflow file pypi-release.yaml, then read the PyPI trusted-publishers and zizmor audit references. Configure the cupy-xarray PyPI publisher with environment name pypi and update the workflow as needed; done means the publishing warnings are resolved and releases can authenticate without username/password credentials or API tokens.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Some annotation warnings from https://github.com/xarray-contrib/cupy-xarray/actions/runs/23076335791/attempts/1#summary-67037324927:

Trusted Publishers allows publishing packages to PyPI from automated environments like GitHub Actions without needing to use username/password combinations or API tokens to authenticate with PyPI. Read more: https://docs.pypi.org/trusted-publishers

I don't have access to PyPI (https://pypi.org/project/cupy-xarray/), so can someone add me or set it up by going to https://pypi.org/manage/project/cupy-xarray/settings/publishing/?provider=github&owner=xarray-contrib&repository=cupy-xarray&workflow_filename=pypi-release.yaml? Set the 'Environment name:' to pypi (lowercase) and I can update the workflow.

References:

Lingua principale
Python
Stelle
86
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di xarray-contrib/cupy-xarray

Tutte le issue di xarray-contrib/cupy-xarray

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.