Closed EdwardBetts closed 1 year ago
Hmm, that looks like some conflict between versions of the underlying JSON. choisirgeoportail
was used prior 2022.9.0 and is now replaced by essentiels
. It seems that an update went wrong somehow.
What do number you get sing this snippet?
import xyzservices.providers as xyz
len(xyz.flatten())
It should be 498 if the JSON is correctly loaded.
Also, pytest should collect 972 items, not 451. Something is weird there.
When I run the snippet I get 498.
I would try to reinstall the library, I am not sure what is causing this apart from the old JSON loaded by the new version.
I will close it for now as I cannot reproduce it and it seems to be a mismatch between installed JSON and package version. We can reopen if it comes back.
One of the tests is failing for me. I'm testing xyzservices 2022.9.0
Here is the test output.