Date: Saturday, April 8, 2023 @ 23:01:09
  Author: dvzrv
Revision: 1443022

upgpkg: python-loguru 0.6.0-4: Rebuild against Python 3.11.

Disable further tests that are not compatible with Python 3.11: 
https://github.com/Delgan/loguru/issues/654

Modified:
  python-loguru/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-08 22:48:39 UTC (rev 1443021)
+++ PKGBUILD    2023-04-08 23:01:09 UTC (rev 1443022)
@@ -3,7 +3,7 @@
 _name=loguru
 pkgname=python-loguru
 pkgver=0.6.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Python logging made (stupidly) simple"
 arch=(any)
 url="https://github.com/Delgan/loguru";
@@ -20,7 +20,9 @@
   python-freezegun
   python-pytest
 )
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+source=(
+  
https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz
+)
 sha256sums=('066bd06758d0a513e9836fd9c6b5a75bfb3fd36841f4b996bc60b547a309d41c')
 
b2sums=('c1faed884b8831ef2e708539caa61d4d2a9c92b6465fcd22a31aa614d65ff384fbf82730e08a5c1da9026079f44bda2bd13b5602be9b0535970c03f8bf132798')
 
@@ -34,6 +36,10 @@
     --deselect tests/test_repr.py::test_function_without_name
     --deselect tests/test_repr.py::test_function_with_empty_name
     --deselect 
tests/test_filesink_rotation.py::test_time_rotation_reopening_native # 
https://github.com/Delgan/loguru/issues/658
+    # python 3.11 compat still not released: 
https://github.com/Delgan/loguru/issues/654
+    --ignore tests/test_filesink_rotation.py
+    --deselect tests/test_interception.py::test_formatting
+    --deselect tests/test_interception.py::test_using_logging_function
   )
 
   cd $_name-$pkgver

Reply via email to