From 4865086c7416111dd5d27e1b03ce1794f51e0b5f Mon Sep 17 00:00:00 2001 From: "isidora.araya" <isidora.araya@ug.uchile.cl> Date: Wed, 15 Jun 2022 20:48:07 +0200 Subject: [PATCH] fix pytest ignored warnings --- environment-minimal.yml | 2 +- pytest.ini | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/environment-minimal.yml b/environment-minimal.yml index c1529c1..df7a522 100644 --- a/environment-minimal.yml +++ b/environment-minimal.yml @@ -5,7 +5,7 @@ dependencies: - python=3.7 - numpy=1.16.2 - scipy=1.1.0 - - sympy=1.4 + - sympy=1.3 - tinyarray=1.2.3 ## Dev Dependencies # Testing diff --git a/pytest.ini b/pytest.ini index 64b0685..ffe3554 100644 --- a/pytest.ini +++ b/pytest.ini @@ -4,7 +4,8 @@ filterwarnings = # Remove once we rely on scipy v1.5 (maybe earlier) ignore:can't resolve package from __spec__ or __package__:ImportWarning ignore:the matrix subclass is not the recommended way to represent matrices:PendingDeprecationWarning - # Remove once we rely on sympy v1.3 - ignore:np\.asscalar\(a\) is deprecated since NumPy v1\.16, use a\.item\(\) instead:DeprecationWarning + # Remove once sympy fixes how it uses distutils + ignore:distutils Version classes are deprecated. Use packaging.version instead:DeprecationWarning # Remove once setuptools figures it out ignore:lib2to3:PendingDeprecationWarning + -- GitLab