diff --git a/python-pydantic.changes b/python-pydantic.changes index e410217..f38f75c 100644 --- a/python-pydantic.changes +++ b/python-pydantic.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 16 07:18:03 UTC 2023 - Daniel Garcia + +- Disable DeprecationWarning in tests to avoid error with the latest + setuptools and pkg_resources deprecation + ------------------------------------------------------------------- Mon Jan 2 20:22:05 UTC 2023 - Dirk Müller diff --git a/python-pydantic.spec b/python-pydantic.spec index 87b87ca..1f0e4f5 100644 --- a/python-pydantic.spec +++ b/python-pydantic.spec @@ -17,7 +17,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-pydantic Version: 1.10.4 @@ -58,7 +57,9 @@ Data validation and settings management using Python type hinting. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -k 'not test_multiple_env_file' +# Disable DeprecationWarning to avoid error with the latest setuptools +# and pkg_resources deprecation +%pytest -k 'not test_multiple_env_file' -W ignore::DeprecationWarning %files %{python_files} %license LICENSE