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(layout): Windows support #376

Merged
merged 1 commit into from
Aug 1, 2024
Merged

fix(layout): Windows support #376

merged 1 commit into from
Aug 1, 2024

Conversation

scanny
Copy link
Contributor

@scanny scanny commented Aug 1, 2024

Summary
Remove use of tempfile.NamedTemporaryFile which attempts to access the temporary file by name. This fails on Windows. Use tempfile.TemporaryDirectory instead.

Fixes #303

@scanny scanny requested a review from christinestraub August 1, 2024 18:12
Remove use of `tempfile.NamedTemporaryFile` which attempts to access
the temporary file by name. This fails on Windows. Use
`tempfile.TemporaryDirectory` instead.
@scanny scanny force-pushed the scanny/fix-layout-on-Windows branch from 18eeca3 to b51f1f3 Compare August 1, 2024 18:15
@scanny scanny requested review from Coniferish and removed request for christinestraub August 1, 2024 18:19
Copy link
Collaborator

@Coniferish Coniferish left a comment

Choose a reason for hiding this comment

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

LGTM.
Do we need to add any tests for this?

@scanny scanny merged commit 7804e0d into main Aug 1, 2024
5 checks passed
@scanny scanny deleted the scanny/fix-layout-on-Windows branch August 1, 2024 18:53
@scanny
Copy link
Contributor Author

scanny commented Aug 1, 2024

It doesn't change the behavior, so I'd say no.

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.

bug/reopen temp file (pdf high_res)
2 participants