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 path deprecation warning #247

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

savente93
Copy link
Contributor

Use of path as a context manager is deprecated and leads to a warning. In this case, just assigning the variable directly, solves the problem.

@savente93
Copy link
Contributor Author

Fixes #244

@Huite
Copy link
Collaborator

Huite commented Jun 14, 2024

Great, thanks!

The build step is expected to fail (bit annoying -- I'll open an issue). The failure on py312 is a weird matplotlib tcl thing which I see every so often. I'll try re-running it now.

@savente93
Copy link
Contributor Author

Seems like the build is failing on a permission error, so I don't think that's something I can do anything about. Could you have another look? (or let me know next steps for me if there are any)

@Huite Huite merged commit e1beb17 into Deltares:main Jun 18, 2024
10 of 11 checks passed
@Huite
Copy link
Collaborator

Huite commented Jun 18, 2024

Right, sorry for the delay. I reran it for the py312 failure, which looks okay now, but didn't get to merging.
Thanks for the ping, merged it now.

@savente93 savente93 deleted the fix-path-deprecation-warning branch June 18, 2024 10:30
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.

2 participants