Skip to content

Commit

Permalink
Debug environment.yml installation (#1064)
Browse files Browse the repository at this point in the history
* Remove constraint on scotch

conda-forge/petsc-feedstock#181 fixed things?

* Constrain petsc(4py) < 3.20.3

Avoids failures in:
- fipy/terms/abstractConvectionTerm.py
- examples/diffusion/nthOrder/input4thOrder1D.py
and crashes in:
- examples/phase/binaryCoupled.py
- examples/diffusion/nthOrder/input4thOrder_line.py

See #1054 

* Constrain version of setuptools

setuptools 72.x breaks `test` and `test_suite`.
[72.1.0](https://setuptools.pypa.io/en/stable/history.html#v72-1-0)
restores `test`, but `test_suite`still doesn't work right.

https://setuptools.pypa.io/en/stable/history.html#v72-0-0
pypa/setuptools#4519
https://stackoverflow.com/questions/78806100/no-module-named-setuptools-command-test

See #805 

* Update petsc lockfiles
  • Loading branch information
guyer authored Jul 30, 2024
1 parent 5cb98f1 commit b8ff533
Show file tree
Hide file tree
Showing 6 changed files with 578 additions and 514 deletions.
2 changes: 1 addition & 1 deletion .azure/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ stages:

- bash: |
source activate myEnvironment
python -m pip install --upgrade setuptools wheel
python -m pip install --upgrade "setuptools<72.0" wheel
python setup.py bdist_wheel
python3 -m pip install check-wheel-contents
check-wheel-contents dist/*.whl
Expand Down
83 changes: 42 additions & 41 deletions environments/locks/conda-petsc-linux-64.lock

Large diffs are not rendered by default.

Loading

0 comments on commit b8ff533

Please sign in to comment.