Arca backend used in tests
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia da pytest.ini e dal test_arca_render che fallisce, quindi traccia come il backend configurato sovrascrive VenvBackend e l'impostazione della CLI. Conferma con i maintainer quale backend devono usare i test; il lavoro è completato quando il backend previsto viene selezionato in modo coerente e test_arca_render non viene più eseguito con un backend imprevisto dell'ambiente corrente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
So I was looking at the failing test in test_arca_render and at first, I also had no clue what the problem is... But then after crawling through the logs and some experiments, I found the issue: the test is being run with arca.backend.CurrentEnvironmentBackend and the current environment has got naucse-render installed.
I really struggled to find why the hell CurrentEnvironmentBackend is used even though VenvBackend is configured in the tests (and even when I set the environ variable), but I finally found it in pytest.ini, the environ there overrides the VenvBackend in tests and even the backend provided in CLI.
I'm not exactly sure what backend you actually want to run it with so I'm not making a PR.
Also, just as a heads up, VenvBackend does not work on Travis (https://github.com/travis-ci/travis-ci/issues/8589, issue closed because it was stale, but AFAIK still not resolved)
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 335
- Fork
- 119
- Merge medio
- 3h 6m
- PR unite (30g)
- 1
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.
Altre issue di pyvec/naucse.python.cz
-
Update lxml Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
pyvec/naucse.python.cz#777 ·
-
Autofile.tmp Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 25/100
pyvec/naucse.python.cz#709 · 4 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
pyvec/naucse.python.cz#683 · 3 commenti ·
-
bug content MI-PYT
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
pyvec/naucse.python.cz#673 ·
-
content MI-PYT
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
pyvec/naucse.python.cz#670 · 1 commento ·
Tutte le issue di pyvec/naucse.python.cz
Issue simili
-
货币战争手改优先级配置缺少列表元素类型校验(P3) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
syfoud/Simulated_Scepter#172 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
crossplane/crossplane#7859 ·
-
bot:ai-assisted component:compact-js status:untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
midnightntwrk/midnight-sdk#403 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nightscout/nocturne#1379 ·