14
0

- Add patch remove-pkg_resources.patch:

* Use packaging, not pkg_resources for versions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic?expand=0&rev=24
This commit is contained in:
2022-07-19 09:21:21 +00:00
committed by Git OBS Bridge
parent a8bc96b8c7
commit bf67906633
3 changed files with 30 additions and 0 deletions

View File

@@ -26,7 +26,9 @@ Summary: Data validation and settings management using python type hintin
License: MIT
URL: https://github.com/samuelcolvin/pydantic
Source: https://github.com/samuelcolvin/pydantic/archive/v%{version}.tar.gz#/pydantic-%{version}.tar.gz
Patch0: remove-pkg_resources.patch
BuildRequires: %{python_module email_validator >= 1.0.3}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dotenv >= 0.10.4}