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

fix save_virtual_workbook deprecation/removal in openpyxl 3.1.0 #72

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

alb3rto269
Copy link
Contributor

@alb3rto269 alb3rto269 commented Feb 1, 2023

Fixes #73

The proposed solution:

  • replaces the call to save_virtual_wookbook by its non-deprecated version save_wookbook.
  • migrates the logic previously implemented in save_virtual_wookbook from openpyxl to this repository.
  • replaces the usage of TemporaryFile by NamedTemporaryFile as suggested by the openpyxl author on its deprecation message.

@alb3rto269 alb3rto269 changed the title fix save_virtual_workbook deprecation in openpyxl fix save_virtual_workbook deprecation/removal in openpyxl 3.1.0 Feb 1, 2023
@FlipperPA FlipperPA mentioned this pull request Feb 3, 2023
@FlipperPA FlipperPA merged commit 5352919 into django-commons:main Feb 3, 2023
@FlipperPA
Copy link
Member

Thanks @alb3rto269 - merged to main, along with some refactoring. Let's test while I'm out of town for a day or two, and if everything looks good, I'll mint a new version on Monday. I'm also looking for a co-maintainer if you're interested; it looks like you might use the package reasonably frequently.

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.

Error importing save_virtual_wookbook removed in openpyxl 3.1
2 participants