forked from pool/python-pydantic
- Disable DeprecationWarning in tests to avoid error with the latest
setuptools and pkg_resources deprecation OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic?expand=0&rev=30
This commit is contained in:
parent
250101fc0c
commit
3859f30f38
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 16 07:18:03 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- 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 <dmueller@suse.com>
|
Mon Jan 2 20:22:05 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-pydantic
|
Name: python-pydantic
|
||||||
Version: 1.10.4
|
Version: 1.10.4
|
||||||
@ -58,7 +57,9 @@ Data validation and settings management using Python type hinting.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%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}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user