-
Couldn't load subscription status.
- Fork 3.2k
Closed
Labels
C: testsTesting and related thingsTesting and related thingsC: vcspip's interaction with version control systems like git, svn and bzrpip's interaction with version control systems like git, svn and bzrOS: windowsWindows specificWindows specificauto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationtype: maintenanceRelated to Development and Maintenance ProcessesRelated to Development and Maintenance Processes
Milestone
Description
I am not sure yet if this was broken before or was introduced by 8010608, but the tests fail to find bzr on Windows, even though I installed it and can run it from the command prompt.
(pip) C:\Users\Administrator\Development\Python\pip>tox -e py27 -- tests/functional/test_freeze.py -k test_freeze_bazaar_clone --tb=short
GLOB sdist-make: C:\Users\Administrator\Development\Python\pip\setup.py
py27 inst-nodeps: C:\Users\Administrator\Development\Python\pip\.tox\dist\pip-6.1.0.dev0.zip
py27 runtests: PYTHONHASHSEED='762'
py27 runtests: commands[0] | py.test --timeout 300 tests\functional\test_freeze.py -k test_freeze_bazaar_clone --tb=short
============================= test session starts =============================
platform win32 -- Python 2.7.5 -- py-1.4.26 -- pytest-2.6.4
plugins: capturelog, cov, timeout, xdist
collected 8 items
tests/functional/test_freeze.py F
================================== FAILURES ===================================
__________________________ test_freeze_bazaar_clone ___________________________
tests\functional\test_freeze.py:231: in test_freeze_bazaar_clone
tmpdir.join("cache"),
tests\lib\local_repos.py:82: in local_checkout
return _get_vcs_and_checkout_url(remote_repo, directory)
tests\lib\local_repos.py:68: in _get_vcs_and_checkout_url
vcs_class(remote_repository).obtain(destination_path)
pip\vcs\bazaar.py:75: in obtain
self.run_command(['branch', '-q'] + rev_options + [url, dest])
pip\vcs\__init__.py:318: in run_command
raise BadCommand('Cannot find command %r' % self.name)
E BadCommand: Cannot find command 'bzr'
-------------------------------- Captured log ---------------------------------
bazaar.py 73 INFO Checking out http://bazaar.launchpad.net/%7Edjango-wikiapp/django-wikiapp/release-0.1 to c:\
users\admini~1\appdata\local\temp\pytest-10\test_freeze_bazaar_clone0\cache\release-0.1
__init__.py 677 DEBUG Running command bzr branch -q http://bazaar.launchpad.net/%7Edjango-wikiapp/django-wikiapp/r
elease-0.1 c:\users\admini~1\appdata\local\temp\pytest-10\test_freeze_bazaar_clone0\cache\release-0.1
__init__.py 687 CRITICAL Error [Error 2] The system cannot find the file specified while executing command bzr branch
-q http://bazaar.launchpad.net/%7Edjango-wikiapp/django-wikiapp/release-0.1 c:\users\admini~1\appdata\local\temp\pytest-10\test_fre
eze_bazaar_clone0\cache\release-0.1
============= 7 tests deselected by '-ktest_freeze_bazaar_clone' ==============
=================== 1 failed, 7 deselected in 8.65 seconds ====================
ERROR: InvocationError: 'C:\\Users\\Administrator\\Development\\Python\\pip\\.tox\\py27\\Scripts\\py.test.EXE --timeout 300 tests\\f
unctional\\test_freeze.py -k test_freeze_bazaar_clone --tb=short'
____________________________________________________________ summary _____________________________________________________________
ERROR: py27: commands failed
(pip) C:\Users\Administrator\Development\Python\pip>bzr
Bazaar 2.5.1 -- a free distributed version-control tool
http://bazaar.canonical.com/
Basic commands:
bzr init makes this directory a versioned branch
bzr branch make a copy of another branch
bzr add make files or directories versioned
bzr ignore ignore a file or pattern
bzr mv move or rename a versioned file
...
Cc: @pfmoore
Part of the larger effort of getting the tests to work well on Windows (#2520)
Metadata
Metadata
Assignees
Labels
C: testsTesting and related thingsTesting and related thingsC: vcspip's interaction with version control systems like git, svn and bzrpip's interaction with version control systems like git, svn and bzrOS: windowsWindows specificWindows specificauto-lockedOutdated issues that have been locked by automationOutdated issues that have been locked by automationtype: maintenanceRelated to Development and Maintenance ProcessesRelated to Development and Maintenance Processes