-
Notifications
You must be signed in to change notification settings - Fork 62
Testing out of a git repository fails on 0.20 #215
Comments
We need a git repository to test the It uses Click file system isolation http://click.pocoo.org/5/testing/#file-system-isolation |
I am seeing identical failures testing the 0.21 PyPI sdist during FreeBSD Ports QA: Error:
For the following tests:
Earlier test output shows:
Git version is: git version 2.14.1 Tests should be skipped (not fail) if a git repository is not available or the git command executed returns an error. |
Hello, I'm working on this, Travis also fail on the same tests, should be fixed today. |
Making the tests robusts to any error (skipping the test) rather than just this specific one would be great. |
No the tests should not be skipped, we need to test the deploy command interacting with git, see my comment #215 (comment) |
Remove post-extract target, removal of compiled files from sdist has been merged upstream [1]. Note: A number of PaaS tests fail, this has been reported upstream [2]. [1] Gandi/gandi.cli#180 [2] Gandi/gandi.cli#215 https://github.com/Gandi/gandi.cli/blob/0.21/CHANGES.rst Requested by: bapt git-svn-id: svn+ssh://svn.freebsd.org/ports/head@449679 35697150-7ecd-e111-bb59-0022644237b5
Remove post-extract target, removal of compiled files from sdist has been merged upstream [1]. Note: A number of PaaS tests fail, this has been reported upstream [2]. [1] Gandi/gandi.cli#180 [2] Gandi/gandi.cli#215 https://github.com/Gandi/gandi.cli/blob/0.21/CHANGES.rst Requested by: bapt
I pushed a fix for tests so they don't rely on external git command, this should cover all case. I don't know if you can use the latest master branch from github to confirm this on your side, on Travis all tests are green again. |
This should be fixed in 0.22, I'm closing this, feel free to reopen if this is still an issue. |
Testing while packaging (for Arch Linux's AUR) fails:
2017-07-11-makepkg.log.txt
IMHO, the git repository shouldn't be needed to allow running the tests.
I've disabled the tests in the package for now.
The text was updated successfully, but these errors were encountered: