Skip to content

Commit 383fc19

Browse files
pin petsc4py to <= 3.23.4 due to failing test on python 3.11 (#640)
1 parent 3812850 commit 383fc19

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.tools/envs/testenv-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
- nodefaults
66
dependencies:
7-
- petsc4py
7+
- petsc4py<=3.23.4
88
- jax
99
- cyipopt>=1.4.0 # dev, tests
1010
- pygmo>=2.19.0 # dev, tests, docs

.tools/update_envs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ def main() -> None:
2929
## linux
3030
test_env_linux = deepcopy(test_env)
3131
test_env_linux.insert(_insert_idx, " - jax")
32-
test_env_linux.insert(_insert_idx, " - petsc4py")
32+
# pinned petsc4py due to failing test on python 3.11 , revert later
33+
test_env_linux.insert(_insert_idx, " - petsc4py<=3.23.4")
3334

3435
## test environment others
3536
test_env_others = deepcopy(test_env)

0 commit comments

Comments
 (0)