Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expand retryer to include image reading #236

Merged
merged 2 commits into from Mar 4, 2024

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
10 of 11 checks passed
@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.

None yet

2 participants