Skip to content

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

@sonarqubecloud
Copy link

@JoerivanEngelen
Copy link
Contributor Author

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

@sonarqubecloud
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