python-hyper / python-hyper/rfc3986
rfc3986 uses its own deprecated method - warning spam
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 189
- Fork
- 38
- Merge medio
- 13h 36m
- PR unite (30g)
- 1
Descrizione
In Version 2.0, in URIMixin.resolve_with() rfc3986 uses the deprecated URIReference.is_valid() instead of a Validator.
Apart from it being a bad look, it causes literally thousands of warnings in our pipeline (since resolve_with() is used often from the json-schema and jschon packages) - see below. This spams our logs and can make it hard to debug.
I made a fix: https://github.com/jpmaterial/rfc3986/tree/release/2.0 (and verified it), but there is no branch that offers itself for a pull request.
Are you interested in the fix (and releasing a 2.0.1 I guess) and if yes, on which branch should I request a pull?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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.
Direzione di ricerca
Inizia dall’implementazione di URIMixin.resolve_with() e verifica come chiama URIReference.is_valid(). Sostituisci il percorso di validazione deprecato con un Validator, quindi esegui i controlli pertinenti del progetto e conferma che il flusso incessante di avvisi sia scomparso.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- backend
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 35/100