Date: Thursday, March 2, 2023 @ 22:22:53
  Author: dvzrv
Revision: 1408018

upgpkg: python-gitpython 3.1.31-1: Upgrade to 3.1.31.

Deselect all broken tests: 
https://github.com/gitpython-developers/GitPython/issues/1557

Modified:
  python-gitpython/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-02 21:58:26 UTC (rev 1408017)
+++ PKGBUILD    2023-03-02 22:22:53 UTC (rev 1408018)
@@ -5,8 +5,8 @@
 _name=gitpython
 pkgdesc="A python library used to interact with Git repositories"
 pkgname=python-gitpython
-_commit=35816731917f52dbf00746ec71653fe96e2ad977  # refs/tags/3.1.29
-pkgver=3.1.29
+_commit=99258ce146099c962354f405e25fae351669493f  # refs/tags/3.1.31
+pkgver=3.1.31
 pkgrel=1
 url="https://github.com/gitpython-developers/gitpython";
 license=(BSD)
@@ -25,12 +25,25 @@
 }
 
 check() {
+  local deselected=(
+    --deselect git/ext/gitdb/gitdb/test/db/test_git.py::TestGitDB::test_reading
+    --deselect 
git/ext/gitdb/gitdb/test/db/test_ref.py::TestReferenceDB::test_writing
+    --deselect 
git/ext/gitdb/gitdb/test/performance/test_pack.py::TestPackedDBPerformance::test_correctness
+    --deselect 
git/ext/gitdb/gitdb/test/performance/test_pack.py::TestPackedDBPerformance::test_loose_correctness
+    --deselect 
git/ext/gitdb/gitdb/test/performance/test_pack.py::TestPackedDBPerformance::test_pack_random_access
+    --deselect 
git/ext/gitdb/gitdb/test/performance/test_pack_streaming.py::TestPackStreamingPerformance::test_pack_writing
+    --deselect 
git/ext/gitdb/gitdb/test/performance/test_pack_streaming.py::TestPackStreamingPerformance::test_stream_reading
+    --deselect 
git/ext/gitdb/gitdb/test/test_example.py::TestExamples::test_base
+    --deselect 
test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit
+    --deselect 
test/test_submodule.py::TestSubmodule::test_list_only_valid_submodules
+  )
+
   cd $_name
   export TRAVIS="VERY CONVENIENT"
   git config --global user.name "Test User"
   git config --global user.email "[email protected]"
   ./init-tests-after-clone.sh
-  PYTHONDONTWRITEBYTECODE=1 pytest -v -c /dev/null -k "not test_base and not 
test_reading and not test_writing"
+  PYTHONDONTWRITEBYTECODE=1 pytest -vv -c /dev/null "${deselected[@]}"
 }
 
 package() {

Reply via email to