Skip to content

remove tag_svn_revision to fix test, same as PR #2045 #2116

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

Merged
merged 1 commit into from
Nov 4, 2014

Conversation

bukzor
Copy link

@bukzor bukzor commented Nov 4, 2014

Fixes the test shown failing here: https://travis-ci.org/pypa/pip/jobs/39972689

Output copied for convenience:

=================================== FAILURES ===================================
________ test_install_from_local_directory_with_symlinks_to_directories ________
[gw7] linux2 -- Python 2.6.9 /home/travis/build/pypa/pip/.tox/py26/bin/python2.6
script = <tests.lib.PipTestEnvironment object at 0x23729d0>
data = <tests.lib.TestData object at 0x2372f10>
    def test_install_from_local_directory_with_symlinks_to_directories(
            script, data):
        """
        Test installing from a local directory containing symlinks to directories.
        """
        to_install = data.packages.join("symlinks")
        result = script.pip('install', to_install, expect_error=False)
        pkg_folder = script.site_packages / 'symlinks'
        egg_info_folder = (
            script.site_packages / 'symlinks-0.1dev-py%s.egg-info' % pyversion
        )
        assert pkg_folder in result.files_created, str(result.stdout)

        print
        print 'looking for:', egg_info_folder
        print
        for f in result.files_created:
            print f
>       assert egg_info_folder in result.files_created, str(result)
E       AssertionError: Script result: pip install /tmp/pytest-1/popen-gw7/test_install_from_local_directory_with_symlinks_to_directories0/data/packages/symlinks
E         -- stdout: --------------------
E         Unpacking /tmp/pytest-1/popen-gw7/test_install_from_local_directory_with_symlinks_to_directories0/data/packages/symlinks
E           Running setup.py (path:/tmp/pytest-1/popen-gw7/test_install_from_local_directory_with_symlinks_to_directories0/workspace/tmp/pip-e9EVjD-build/setup.py) egg_info for package from file:///tmp/pytest-1/popen-gw7/test_install_from_local_directory_with_symlinks_to_directories0/data/packages/symlinks
E         Installing collected packages: symlinks
E           Running setup.py install for symlinks
E             warning: build_py: byte-compiling is disabled, skipping.
E             warning: install_lib: byte-compiling is disabled, skipping.
E         Successfully installed symlinks
E         Cleaning up...
E         
E         -- created: -------------------
E           venv/lib/python2.6/site-packages/symlinks
E                           symlinks-0.1dev_r0-py2.6.egg-info
E                               PKG-INFO  (186 bytes)
E                               SOURCES.txt  (158 bytes)
E                               dependency_links.txt  (1 bytes)
E                               installed-files.txt  (108 bytes)
E                               top_level.txt  (9 bytes)
E                           symlinks/__init__.py  (2 bytes)
E         -- updated: -------------------
E           venv/lib/python2.6/site-packages
E       assert 'venv/lib/python2.6/site-packages/symlinks-0.1dev-py2.6.egg-info' in {'venv/lib/python2.6/site-packages/symlinks': <FoundDir /tmp/pytest-1/popen-gw7/test_install_from_local_directory_with..._from_local_directory_with_syml...venv/lib/python2.6/site-packages/symlinks-0.1dev_r0-py2.6.egg-info/SOURCES.txt>, ...}
E        +  where {'venv/lib/python2.6/site-packages/symlinks': <FoundDir /tmp/pytest-1/popen-gw7/test_install_from_local_directory_with..._from_local_directory_with_syml...venv/lib/python2.6/site-packages/symlinks-0.1dev_r0-py2.6.egg-info/SOURCES.txt>, ...} = <tests.lib.TestPipResult object at 0x2372dd0>.files_created
tests/functional/test_install.py:325: AssertionError
----------------------------- Captured stdout call -----------------------------
looking for: venv/lib/python2.6/site-packages/symlinks-0.1dev-py2.6.egg-info
venv/lib/python2.6/site-packages/symlinks/__init__.py
venv/lib/python2.6/site-packages/symlinks-0.1dev_r0-py2.6.egg-info/installed-files.txt
venv/lib/python2.6/site-packages/symlinks-0.1dev_r0-py2.6.egg-info
venv/lib/python2.6/site-packages/symlinks-0.1dev_r0-py2.6.egg-info/PKG-INFO
venv/lib/python2.6/site-packages/symlinks-0.1dev_r0-py2.6.egg-info/SOURCES.txt
venv/lib/python2.6/site-packages/symlinks-0.1dev_r0-py2.6.egg-info/top_level.txt
venv/lib/python2.6/site-packages/symlinks
venv/lib/python2.6/site-packages/symlinks-0.1dev_r0-py2.6.egg-info/dependency_links.txt
============== 1 failed, 225 passed, 2 skipped in 233.98 seconds ===============

dstufft added a commit that referenced this pull request Nov 4, 2014
remove tag_svn_revision to fix test, same as PR #2045
@dstufft dstufft merged commit 043af83 into pypa:develop Nov 4, 2014
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants