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

Migrate to pytest #805

Open
guyer opened this issue Apr 23, 2021 · 1 comment
Open

Migrate to pytest #805

guyer opened this issue Apr 23, 2021 · 1 comment
Milestone

Comments

@guyer
Copy link
Member

guyer commented Apr 23, 2021

setuptools.command.test.test is deprecated.

pytest seems to be on-trend and works well for steppyngstounes.

@guyer guyer added this to the 4.0 milestone Jul 30, 2024
@guyer
Copy link
Member Author

guyer commented Jul 30, 2024

setuptools 72.0.0 breaks test and test_suite.
72.1.0 restores test, but test_suitestill doesn't work right.

pypa/setuptools#4519
https://stackoverflow.com/questions/78806100/no-module-named-setuptools-command-test

guyer added a commit that referenced this issue Jul 30, 2024
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant