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

Update openpyxl requirements to compatiblity fix #71

Closed
wants to merge 1 commit into from

Conversation

TurnrDev
Copy link

@TurnrDev TurnrDev commented Jan 31, 2023

drf_excel.renderers.XLSXRenderer uses openpyxl.writer.excel.save_virtual_workbook which has been deprecated since 2018 and removed in openpyxl 3.1.0

This is a temporary fix to solve dependency issues, but a proper fix should be to not use save_virtual_workbook

@alb3rto269
Copy link
Contributor

Thanks for this PR.

I also created #72 with a proposal to remove the deprecated dependency.

@FlipperPA FlipperPA mentioned this pull request Feb 3, 2023
@FlipperPA
Copy link
Member

Thanks for the PR, @TurnrDev - it is appreciated! I'm going to close this in lieu of #72, from @alb3rto269, which gives us compatibility with OpenPyXL 3.10+.

@FlipperPA FlipperPA closed this Feb 3, 2023
@TurnrDev
Copy link
Author

TurnrDev commented Feb 3, 2023

Understand, #72 is definitely a better PR!
Will that be released soon? 😊

@TurnrDev TurnrDev deleted the patch-1 branch February 3, 2023 08:47
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.

3 participants