Skip to content

Conversation

martinfleis
Copy link
Member

moving image opening to the retryer in hope that it could resolve rare occasions of UnidentifiedImageError popping up. Reported in networkx/networkx#7301 and seen once in our CI (here). I wasn't able to reproduce the issue locally in any form so I am not sure if it will fix it but it is the only thing I could think of.

To get a better control of retries, we should also probably expose wait, max_retries, n_connections and use_cache on add_basemap level, not only in bounds2img but I'll do that separately.

@martinfleis martinfleis requested a review from ljwolf March 1, 2024 22:00
@martinfleis
Copy link
Member Author

3770fda just updates the expected values changed in the test tiles. same issue is on main, just fixing this to get green CI. irrelevant to the contents here.

Copy link
Member

@jorisvandenbossche jorisvandenbossche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@martinfleis martinfleis merged commit afc96d6 into geopandas:main Mar 4, 2024
@martinfleis martinfleis deleted the retry branch March 4, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants