Skip to content
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

New VersionConflict reporting breaks tests #270

Closed
ghost opened this issue Oct 11, 2014 · 4 comments
Closed

New VersionConflict reporting breaks tests #270

ghost opened this issue Oct 11, 2014 · 4 comments

Comments

@ghost
Copy link

ghost commented Oct 11, 2014

Originally reported by: jaraco (Bitbucket: jaraco, GitHub: jaraco)


https://travis-ci.org/jaraco/setuptools/jobs/37692346


@ghost
Copy link
Author

ghost commented Oct 11, 2014

Original comment by msabramo (Bitbucket: msabramo, GitHub: msabramo):


It took me a bit to reproduce this, so logging it here for future versions of ourselves:

 marca@marca-mac2.local ⮀ hg-repos/setuptools_better_VersionConflict_error ⮀
 ❯ tox -e py27 -- -k testResolve --tb=short setuptools/tests/test_resources.py
GLOB sdist-make: /Users/marca/dev/hg-repos/setuptools_better_VersionConflict_error/setup.py
py27 inst-nodeps: /Users/marca/dev/hg-repos/setuptools_better_VersionConflict_error/.tox/dist/setuptools-6.0.3dev.zip
py27 runtests: PYTHONHASHSEED='268221285'
py27 runtests: commands[0] | py.test -k testResolve --tb=short setuptools/tests/test_resources.py
============================================================================= test session starts ==============================================================================
platform darwin -- Python 2.7.6 -- py-1.4.25 -- pytest-2.6.3
collected 30 items

setuptools/tests/test_resources.py F

=================================================================================== FAILURES ===================================================================================
___________________________________________________________________________ DistroTests.testResolve ____________________________________________________________________________
setuptools/tests/test_resources.py:172: in testResolve
    parse_requirements("Foo==0.9"), ad)
.tox/py27/lib/python2.7/site-packages/pkg_resources.py:632: in resolve
    % (dist, req, list(required_by.get(req))))
E   TypeError: 'NoneType' object is not iterable
==================================================================== 29 tests deselected by '-ktestResolve' ====================================================================
=================================================================== 1 failed, 29 deselected in 0.17 seconds ====================================================================
ERROR: InvocationError: '/Users/marca/dev/hg-repos/setuptools_better_VersionConflict_error/.tox/py27/bin/py.test -k testResolve --tb=short setuptools/tests/test_resources.py'
___________________________________________________________________________________ summary ____________________________________________________________________________________
ERROR:   py27: commands failed

@ghost
Copy link
Author

ghost commented Oct 11, 2014

Original comment by msabramo (Bitbucket: msabramo, GitHub: msabramo):


@jaraco: Sorry about this. Take a look at https://bitbucket.org/pypa/setuptools/pull-request/91/fix-versionconflict-test-failure/diff

@ghost
Copy link
Author

ghost commented Oct 11, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Merge VersionConflict test failure. Fixes #270.

@ghost
Copy link
Author

ghost commented Oct 11, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Fix VersionConflict test failure

Fixes TypeError: 'NoneType' object is not iterable error at pkg_resources.py:632

Fixes issue #270

@ghost ghost added major bug labels Mar 29, 2016
@ghost ghost closed this as completed Mar 29, 2016
jaraco added a commit that referenced this issue Aug 2, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants