Twine 6.2.0 breaking changes: Remove hacks that support --skip-existing for indexes other than PyPI and TestPyPI.

Aperta
#1,716 17 commenti 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
aws, python, typescript
Ambito
cloud, devops, release

Direzione di ricerca

Inizia riproducendo la pubblicazione di publib su AWS CodeArtifact con Twine 6.2.0 e --skip-existing abilitato. Segui l'invocazione di Twine di publib e determina come viene gestito il flag non supportato; il lavoro è completato quando la pubblicazione su CodeArtifact riesce mantenendo il comportamento previsto per gli indici supportati.

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

Descrizione

Publishes to AWS CodeArtifact are failing with twine 6.2.0. It appears publib pulls latest twine version and then sets --skip-existing flag which results in this error now on CodeArtifact:

ERROR    UnsupportedConfiguration: The configured repository
--
'https://******.d.codeartifact.us-west-2.amaz
onaws.com/pypi/***/' does not have support for the following
features: --skip-existing and is an unsupported configuration

There is no workaround AFAICT as the twine version nor the --skip-existing flag is configurable.

Details on the twine change are here:
https://twine.readthedocs.io/en/stable/changelog.html

Remove hacks that support --skip-existing for indexes other than PyPI and TestPyPI.

To date, these hacks continue to accrue and there have been numerous issues with them, not the least of which being that every time we update them, the paid index providers change things to break the compatibility we implement for them. Beyond that, these hacks do not work when text is internationalized in the response from the index provider.
Lingua principale
TypeScript
Stelle
61
Fork
24
Merge medio
3h 37m
PR unite (30g)
17

Preparare l'ambiente

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 cdklabs/publib

Tutte le issue di cdklabs/publib

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.