Improve error messages
I maintainer di solito rispondono entro 10 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- developer-experience
Direzione di ricerca
The payload names no source files, tests or entry points, only a sample resolver error from RIP and a related issue in another repository. Start by finding where resolvo builds its unsolvable-error report and how it groups incompatible candidates. Done would need a design agreed with maintainers on collapsing version ranges and an extensible way to render errors, which the thread does not settle.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently it is possible to add your own custom error messages. However, it can now quickly explode with the information that is displayed.
E.g with usage in RIP
× Could not solve for the requested requirements:
│ The following packages are incompatible
│ |-- opentelemetry-exporter-prometheus * cannot be installed because there are no viable options:
│ |-- opentelemetry-exporter-prometheus 1.12.0rc1 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 1.10a0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.42b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.41b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.40b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.39b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.38b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.37b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.36b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.35b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.34b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.33b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.32b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.30b1 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.30b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.29b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.17b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.16b1 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.16b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.15b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.14b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.13b0 is excluded because prereleases are not allowed
│ |-- opentelemetry-exporter-prometheus 0.12b0 is excluded because prereleases are not allowed
It would be good to create certain version ranges for instance that could collapse into a single message.
Also see this issue in rip for another example: https://github.com/prefix-dev/rip/issues/26
The difficulty with this is that users can provider their own way to display errors so ideally we provide the tools to make these error messages nice. I think there are some ways to generalize this over packaging ecosystems.
- Lingua principale
- Rust
- Stelle
- 224
- Fork
- 31
- Merge medio
- 7g 17h
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di prefix-dev/resolvo
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
prefix-dev/resolvo#202 ·
I maintainer di solito rispondono entro 10 giorni
-
BUG: resolver ignores `pytorch 2.7.1 cuda129...` as valid option for `pytorch * cuda*` constraintAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
prefix-dev/resolvo#199 · 7 commenti ·
I maintainer di solito rispondono entro 10 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
prefix-dev/resolvo#185 · 1 commento ·
I maintainer di solito rispondono entro 10 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
prefix-dev/resolvo#252 · 3 commenti ·
I maintainer di solito rispondono entro 10 giorni
-
good first issue
Difficoltà 3/5 Mezza giornata Idoneità per principianti 50/100
prefix-dev/resolvo#140 · 2 commenti ·
I maintainer di solito rispondono entro 10 giorni
Tutte le issue di prefix-dev/resolvo
Issue simili
-
Four problem loader browser tests fail on WindowsForse già presa @Patriciaath999 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Claude Code guards in .claude/settings.json never block: they read unset variables and exit 1Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
starkware-libs/sequencer#15229 ·
I maintainer di solito rispondono entro 1 giorno
-
`fnox set` ignores piped stdin when `--description` is given, saving the secret without a valueAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
ActivityWatch/aw-notify-rs#47 · 1 commento ·