Skip to content

Update dev environment to python 3.12 #1509

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 5 commits into from
Jun 6, 2025
Merged

Conversation

JoerivanEngelen
Copy link
Contributor

@JoerivanEngelen JoerivanEngelen commented Apr 17, 2025

Fixes #1491

Description

Use python 3.12 in dev environment.

2 issues had to be resolved:

Original errors:

ERROR test_formats\test_idf.py - AttributeError: 'MiniMetafunc' object has no attribute '_params_directness'
ERROR test_mf6\test_import_prj.py - PermissionError: [WinError 32] The process cannot access the file because it is being used by another process
ERROR test_mf6\test_mf6_regrid_scheme.py - AttributeError: 'MiniMetafunc' object has no attribute '_params_directness'

Checklist

  • Links to correct issue
  • Update changelog, if changes affect users
  • PR title starts with Issue #nr, e.g. Issue #737
  • Unit tests were added
  • If feature added: Added/extended example

Copy link

@JoerivanEngelen
Copy link
Contributor Author

Updating to pytest-xdist 3.7.0 unfortunately didn't resolve the issues.

Copy link

sonarqubecloud bot commented Jun 4, 2025

@JoerivanEngelen
Copy link
Contributor Author

Thanks @Manangka for fixing! Ready to merge, the failing unittest is a performance test which is slightly flaky.

@JoerivanEngelen JoerivanEngelen merged commit ecfb70a into master Jun 6, 2025
6 of 7 checks passed
@JoerivanEngelen JoerivanEngelen deleted the issue_#1491_py312_dev branch June 6, 2025 08:00
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.

Use python 3.12 in our dev environment
2 participants