-
-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.1.40: TestRepo.test_new_should_raise_on_invalid_repo_location
fails
#1744
Comments
Did you follow the instructions? Running tests isn't like one would expect, unfortunately. My preference would be to open one issue related to packaging on OpenIndiana (as mentioned in this comment) where we can figure out what to do as my feeling is that GitPython is treated like any other package even though it unfortunately is a bit special. |
Yes, I do this.
Hmm, I do not see GitPython as very special when compared to other Python projects I already packaged. I found only few issues, but nothing critical:
So to sum, we do not need special issue here for OpenIndiana packaging, since I already packaged GitPython successfully. Thank you. |
... and yes, I know about #1324. |
Thanks for elaborating, it indeed looks like this is the only true issue left when packaging for OpenIndiana. The failing test seems to find a parent repository when looking at the temp directory (even without searching upwards), which is unusual. Maybe the test could be adjusted to create a temporary, known-to-be-empty, directory? |
The testing is done in the oi-userland git tree. In the tree there is GitPython git repo cloned and |
It really depends on whether or not Adjusting the test to create its own empty tempdir first should do the trick though. |
I believe in my case
Is this something I should do on my side (e.g. by pointing |
I checked again, and if a directory is given, it will use it. Otherwise it falls back to the
Maybe it's easiest to point |
Although I think the changes in #1759 would be worthwhile even if they are insufficient to fix this, I believe those changes should be sufficient. If it turns out they are not, then I would likely be interested in contributing further fixes to allow tests to pass when packaging for OpenIndiana. |
I tested 3.1.40 with all three changesets from #1759 and I'm glad to report that the Thank you @EliahKagan for the fix! |
I'm running tests for
GitPython 3.1.40
and the following test fails:The text was updated successfully, but these errors were encountered: