Date: Tuesday, March 21, 2023 @ 11:06:38
  Author: dvzrv
Revision: 1424708

upgpkg: python-pydantic 1.10.6-2: Rebuild to fix check issues.

Add all required direct dependencies.
Instead of deselecting tests, ignore DeprecationWarnings for pkg_resources.

Modified:
  python-pydantic/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-21 11:06:37 UTC (rev 1424707)
+++ PKGBUILD    2023-03-21 11:06:38 UTC (rev 1424708)
@@ -4,7 +4,7 @@
 _name=pydantic
 pkgname=python-$_name
 pkgver=1.10.6
-pkgrel=1
+pkgrel=2
 pkgdesc='Data parsing and validation using Python type hints'
 arch=(x86_64)
 url="https://github.com/pydantic/pydantic";
@@ -11,6 +11,7 @@
 license=(MIT)
 depends=(
   cython
+  glibc
   python
   python-typing-extensions
 )
@@ -40,12 +41,13 @@
 }
 
 check() {
-  local deselected=(
+  local pytest_options=(
     # we don't care about pytest warnings leading to errors
-    --deselect tests/test_edge_cases.py::test_cython_function_untouched
+    --pythonwarnings ignore::DeprecationWarning:pkg_resources
   )
+
   cd $_name-$pkgver
-  pytest -vv "${deselected[@]}"
+  pytest -vv "${pytest_options[@]}"
 }
 
 package() {

Reply via email to