Skip to content

Remove pathlib.Path.__enter__ deprecation warnings #118

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

Merged
merged 1 commit into from
May 25, 2023

Conversation

ianthomas23
Copy link
Member

CI is reporting

DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op

This PR replaces their use as context managers with direct assignment to a variable which is functionally as the context manager is a no-op.

@ianthomas23 ianthomas23 merged commit fd0bf6d into holoviz:main May 25, 2023
@ianthomas23 ianthomas23 deleted the Path_context_manager branch May 25, 2023 09:56
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.

1 participant