-
Notifications
You must be signed in to change notification settings - Fork 250
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
Fix mixed image format for file, S3 and azureblob caches #796
Conversation
@weskamm Could you please review this PR? |
@weskamm Could you please take a look? If there are changes that need to be made I will fix them right away. |
Looks good to me, thanks for the fixup. |
We are reverting this PR because it was causing problems in production - especially with existing caches. I think we need backwards compatibility and unit tests to assure that everything works correctly. |
@simonseyock What are the problems that this causes? I will work on the issues ASAP. |
There was the problem that mapproxy did only return blank images for caches that were created before the update. In the PR itself I see this problems:
This will never cause a file with mapproxy/mapproxy/cache/file.py Line 55 in a73fe7f
So, if MapProxy should supported reading caches that mix |
I do not have a reproducible example, but I hope to get one. We reverted the commit because we needed a clean working release before merging all of the linting and deprecation issues. |
Thank you very much for your review! I will add a failing test as you requested and fix the existing tests. |
Fix the usage of
mixed
image format with theFile
,S3
andazureblob
caches.Fixes #605.