[opensuse-python] problem with tests in GitPython
Hi I started working on an update to GitPython, but ran into some test issues that I can't resolve. https://build.opensuse.org/package/show/home:apersaud:branches:devel:languag... If anyone wants to have a look at it and perhaps branch from the above link (I already fixed some issues in the spec file due to the update) that would be great ;) Arun -- To unsubscribe, e-mail: opensuse-python+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-python+owner@opensuse.org
On Sat, Aug 03, 2019 at 08:02:39AM -0700, Arun Persaud wrote:
I started working on an update to GitPython, but ran into some test issues that I can't resolve.
https://build.opensuse.org/package/show/home:apersaud:branches:devel:languag...
[ 50s] ====================================================================== [ 50s] ERROR: setUpClass (git.test.test_remote.TestRemote) [ 50s] ---------------------------------------------------------------------- [ 50s] Traceback (most recent call last): [ 50s] File "/home/abuild/rpmbuild/BUILD/GitPython-2.1.13/git/test/lib/helper.py", line 365, in setUpClass [ 50s] cls.rorepo = Repo(GIT_REPO) [ 50s] File "/home/abuild/rpmbuild/BUILD/GitPython-2.1.13/git/repo/base.py", line 183, in __init__ [ 50s] raise InvalidGitRepositoryError(epath) [ 50s] InvalidGitRepositoryError: /home/abuild/rpmbuild/BUILD/GitPython-2.1.13 I think the tarball has to package initialized git repo (.git included). As far as I know, only way how to do for openSUSE is to use _service, otherwise the request to Factory will get declined these days, as they do not like .git to be packaged for some reason.
If anyone wants to have a look at it and perhaps branch from the above link (I already fixed some issues in the spec file due to the update) that would be great ;)
sr#721010 Petr -- To unsubscribe, e-mail: opensuse-python+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-python+owner@opensuse.org
Hi
https://build.opensuse.org/package/show/home:apersaud:branches:devel:languag...
[ 50s] ====================================================================== [ 50s] ERROR: setUpClass (git.test.test_remote.TestRemote) [ 50s] ---------------------------------------------------------------------- [ 50s] Traceback (most recent call last): [ 50s] File "/home/abuild/rpmbuild/BUILD/GitPython-2.1.13/git/test/lib/helper.py", line 365, in setUpClass [ 50s] cls.rorepo = Repo(GIT_REPO) [ 50s] File "/home/abuild/rpmbuild/BUILD/GitPython-2.1.13/git/repo/base.py", line 183, in __init__ [ 50s] raise InvalidGitRepositoryError(epath) [ 50s] InvalidGitRepositoryError: /home/abuild/rpmbuild/BUILD/GitPython-2.1.13
I think the tarball has to package initialized git repo (.git included). As far as I know, only way how to do for openSUSE is to use _service, otherwise the request to Factory will get declined these days, as they do not like .git to be packaged for some reason.
sorry for the late reply and thanks for pointing this out. Will give it a try. Arun -- To unsubscribe, e-mail: opensuse-python+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-python+owner@opensuse.org
participants (2)
-
Arun Persaud
-
pgajdos