Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-GitPython: update to 3.1.27.
@ 2022-04-09  9:32 jcgruenhage
  2022-04-09 10:37 ` jcgruenhage
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jcgruenhage @ 2022-04-09  9:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1274 bytes --]

There is a new pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-GitPython-3.1.27_1
https://github.com/void-linux/void-packages/pull/36597

python3-GitPython: update to 3.1.27.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/36597.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-GitPython-3.1.27_1-36597.patch --]
[-- Type: text/x-diff, Size: 1196 bytes --]

From ff0e6192e7ed66e9ad46df2fbb75e32267e88ed8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 9 Apr 2022 11:31:20 +0200
Subject: [PATCH] python3-GitPython: update to 3.1.27.

---
 srcpkgs/python3-GitPython/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-GitPython/template b/srcpkgs/python3-GitPython/template
index 4ce259e5a109..a295c32c3d16 100644
--- a/srcpkgs/python3-GitPython/template
+++ b/srcpkgs/python3-GitPython/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-GitPython'
 pkgname=python3-GitPython
-version=3.1.26
+version=3.1.27
 revision=1
 wrksrc="GitPython-${version}"
 build_style=python3-module
@@ -22,7 +22,7 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/GitPython"
 distfiles="https://github.com/gitpython-developers/GitPython/archive/refs/tags/${version}.tar.gz"
-checksum=47c82a6370a186bd426be2e8435ddbb60b254fb86f3fad2ed4028e6237e9d3d1
+checksum=2ec5341b54aed19424696c933d705ddedcf2fe45f89d2fd0dbed06087ac5ed3c
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: python3-GitPython: update to 3.1.27.
  2022-04-09  9:32 [PR PATCH] python3-GitPython: update to 3.1.27 jcgruenhage
@ 2022-04-09 10:37 ` jcgruenhage
  2022-04-09 10:37 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jcgruenhage @ 2022-04-09 10:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/36597#issuecomment-1093878257

Comment:
I might. As far as I know, most of it's functionality is implemented natively in python instead of by calling the git executable, but yeah, it does support calling the git executable.

In the tests it still fails to call the git executable though, even when git is in `depends` and `checkdepends`. Any ideas here? Those tests are still marked to be skipped as before, so no real changes here, but it'd be good to get this resolved in the long run.

```
>               raise GitCommandNotFound("git", err)
E               git.exc.GitCommandNotFound: Cmd('git') not found due to: 'Bad git executable.
E               The git executable must be specified in one of the following ways:
E                   - be included in your $PATH
E                   - be set via $GIT_PYTHON_GIT_EXECUTABLE
E                   - explicitly set via git.refresh()
E               '
E                 cmdline: git

git/cmd.py:365: GitCommandNotFound
----------------------------- Captured stderr call -----------------------------
/bin/sh: line 1: which: command not found
```

This is the relevant output from the tests, when they aren't being skipped. Happens both with `git` just being in the path, and `GIT_PYTHON_GIT_EXECUTABLE` explicitly being set to `/usr/bin/git`.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] python3-GitPython: update to 3.1.27.
  2022-04-09  9:32 [PR PATCH] python3-GitPython: update to 3.1.27 jcgruenhage
  2022-04-09 10:37 ` jcgruenhage
@ 2022-04-09 10:37 ` jcgruenhage
  2022-04-09 10:46 ` jcgruenhage
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jcgruenhage @ 2022-04-09 10:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-GitPython-3.1.27_1
https://github.com/void-linux/void-packages/pull/36597

python3-GitPython: update to 3.1.27.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/36597.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-GitPython-3.1.27_1-36597.patch --]
[-- Type: text/x-diff, Size: 2211 bytes --]

From d5dc6b90c6a69a5c2e0347c9c587bf9261bf67cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 9 Apr 2022 11:31:20 +0200
Subject: [PATCH] python3-GitPython: update to 3.1.27.

---
 srcpkgs/python3-GitPython/template | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-GitPython/template b/srcpkgs/python3-GitPython/template
index 4ce259e5a109..ac64cd1b618f 100644
--- a/srcpkgs/python3-GitPython/template
+++ b/srcpkgs/python3-GitPython/template
@@ -1,20 +1,15 @@
 # Template file for 'python3-GitPython'
 pkgname=python3-GitPython
-version=3.1.26
+version=3.1.27
 revision=1
 wrksrc="GitPython-${version}"
 build_style=python3-module
 make_check_args="--deselect test/test_base.py::TestBase::test_with_rw_remote_and_rw_repo
  --deselect test/test_git.py::TestGit::test_refresh
  --deselect test/test_remote.py::TestRemote::test_base
- --deselect test/test_diff.py::TestDiff::test_diff_with_staged_file
- --deselect test/test_docs.py::Tutorials::test_init_repo_object
- --deselect test/test_docs.py::Tutorials::test_references_and_objects
- --deselect test/test_refs.py::TestRefs::test_head_reset
- --deselect test/test_repo.py::TestRepo::test_rebasing
- --deselect test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit"
+ --deselect test/test_git.py::TestGit::test_call_process_calls_execute"
 hostmakedepends="python3-setuptools"
-depends="python3-gitdb"
+depends="python3-gitdb git"
 checkdepends="${depends} python3-pytest-sugar python3-coverage python3-pytest-cov python3-toml
  python3-mypy flake8 python3-ddt git python3-virtualenv"
 short_desc="Library to interact with Git repositories (Python3)"
@@ -22,7 +17,7 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/GitPython"
 distfiles="https://github.com/gitpython-developers/GitPython/archive/refs/tags/${version}.tar.gz"
-checksum=47c82a6370a186bd426be2e8435ddbb60b254fb86f3fad2ed4028e6237e9d3d1
+checksum=2ec5341b54aed19424696c933d705ddedcf2fe45f89d2fd0dbed06087ac5ed3c
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] python3-GitPython: update to 3.1.27.
  2022-04-09  9:32 [PR PATCH] python3-GitPython: update to 3.1.27 jcgruenhage
  2022-04-09 10:37 ` jcgruenhage
  2022-04-09 10:37 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-04-09 10:46 ` jcgruenhage
  2022-04-09 10:49 ` jcgruenhage
  2022-06-10 13:18 ` [PR PATCH] [Merged]: " leahneukirchen
  4 siblings, 0 replies; 6+ messages in thread
From: jcgruenhage @ 2022-04-09 10:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-GitPython-3.1.27_1
https://github.com/void-linux/void-packages/pull/36597

python3-GitPython: update to 3.1.27.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/36597.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-GitPython-3.1.27_1-36597.patch --]
[-- Type: text/x-diff, Size: 2452 bytes --]

From 1ba5f0c511a637f1ed58f0ed529e11b7a018aa84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 9 Apr 2022 11:31:20 +0200
Subject: [PATCH] python3-GitPython: update to 3.1.27.

---
 srcpkgs/python3-GitPython/template | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-GitPython/template b/srcpkgs/python3-GitPython/template
index 4ce259e5a109..e9fb80a421da 100644
--- a/srcpkgs/python3-GitPython/template
+++ b/srcpkgs/python3-GitPython/template
@@ -1,20 +1,15 @@
 # Template file for 'python3-GitPython'
 pkgname=python3-GitPython
-version=3.1.26
+version=3.1.27
 revision=1
 wrksrc="GitPython-${version}"
 build_style=python3-module
 make_check_args="--deselect test/test_base.py::TestBase::test_with_rw_remote_and_rw_repo
  --deselect test/test_git.py::TestGit::test_refresh
  --deselect test/test_remote.py::TestRemote::test_base
- --deselect test/test_diff.py::TestDiff::test_diff_with_staged_file
- --deselect test/test_docs.py::Tutorials::test_init_repo_object
- --deselect test/test_docs.py::Tutorials::test_references_and_objects
- --deselect test/test_refs.py::TestRefs::test_head_reset
- --deselect test/test_repo.py::TestRepo::test_rebasing
- --deselect test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit"
+ --deselect test/test_git.py::TestGit::test_call_process_calls_execute"
 hostmakedepends="python3-setuptools"
-depends="python3-gitdb"
+depends="python3-gitdb git"
 checkdepends="${depends} python3-pytest-sugar python3-coverage python3-pytest-cov python3-toml
  python3-mypy flake8 python3-ddt git python3-virtualenv"
 short_desc="Library to interact with Git repositories (Python3)"
@@ -22,7 +17,7 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="BSD-3-Clause"
 homepage="https://github.com/gitpython-developers/GitPython"
 distfiles="https://github.com/gitpython-developers/GitPython/archive/refs/tags/${version}.tar.gz"
-checksum=47c82a6370a186bd426be2e8435ddbb60b254fb86f3fad2ed4028e6237e9d3d1
+checksum=2ec5341b54aed19424696c933d705ddedcf2fe45f89d2fd0dbed06087ac5ed3c
 
 post_install() {
 	vlicense LICENSE
@@ -34,4 +29,7 @@ pre_check() {
 	git checkout ${version}
 	yes | ./init-tests-after-clone.sh
 	export GIT_PYTHON_TEST_GIT_REPO_BASE="${PWD}"
+
+	git config --global user.email "void@example.com"
+	git config --global user.name "void"
 }

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: python3-GitPython: update to 3.1.27.
  2022-04-09  9:32 [PR PATCH] python3-GitPython: update to 3.1.27 jcgruenhage
                   ` (2 preceding siblings ...)
  2022-04-09 10:46 ` jcgruenhage
@ 2022-04-09 10:49 ` jcgruenhage
  2022-06-10 13:18 ` [PR PATCH] [Merged]: " leahneukirchen
  4 siblings, 0 replies; 6+ messages in thread
From: jcgruenhage @ 2022-04-09 10:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/36597#issuecomment-1093892411

Comment:
Ahh, right, and a few more tests that worked locally but failed in CI. Considering they all break because git doesn't have name and email configured (how does that work locally, my git config shouldn't be propagated into the build dir, right?), configuring those should fix those.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Merged]: python3-GitPython: update to 3.1.27.
  2022-04-09  9:32 [PR PATCH] python3-GitPython: update to 3.1.27 jcgruenhage
                   ` (3 preceding siblings ...)
  2022-04-09 10:49 ` jcgruenhage
@ 2022-06-10 13:18 ` leahneukirchen
  4 siblings, 0 replies; 6+ messages in thread
From: leahneukirchen @ 2022-06-10 13:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]

There's a merged pull request on the void-packages repository

python3-GitPython: update to 3.1.27.
https://github.com/void-linux/void-packages/pull/36597

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-10 13:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-09  9:32 [PR PATCH] python3-GitPython: update to 3.1.27 jcgruenhage
2022-04-09 10:37 ` jcgruenhage
2022-04-09 10:37 ` [PR PATCH] [Updated] " jcgruenhage
2022-04-09 10:46 ` jcgruenhage
2022-04-09 10:49 ` jcgruenhage
2022-06-10 13:18 ` [PR PATCH] [Merged]: " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).