Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: python-gitpython 3.1.31-1: Upgrade to 3.1.31.
Browse files Browse the repository at this point in the history
Deselect all broken tests: gitpython-developers/GitPython#1557

git-svn-id: file:///srv/repos/svn-community/svn@1408018 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
dvzrv authored and svntogit committed Mar 2, 2023
1 parent 2bc4f69 commit 59c9581
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -25,12 +25,25 @@ build() {
}

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() {
Expand Down

0 comments on commit 59c9581

Please sign in to comment.