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

python setup.py test failing with 0.95.5 #454

Closed
opoplawski opened this issue Oct 8, 2014 · 3 comments
Closed

python setup.py test failing with 0.95.5 #454

opoplawski opened this issue Oct 8, 2014 · 3 comments

Comments

@opoplawski
Copy link
Contributor

When running "python setup.py test" on 0.95.5 I get:

+ /usr/bin/python setup.py test
running test
running egg_info
writing requirements to StarCluster.egg-info/requires.txt
writing StarCluster.egg-info/PKG-INFO
writing top-level names to StarCluster.egg-info/top_level.txt
writing dependency_links to StarCluster.egg-info/dependency_links.txt
writing entry points to StarCluster.egg-info/entry_points.txt
reading manifest file 'StarCluster.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'requirements.txt'
writing manifest file 'StarCluster.egg-info/SOURCES.txt'
running build_ext
============================= test session starts ==============================
platform linux2 -- Python 2.7.8 -- py-1.4.23 -- pytest-2.6.1
plugins: cov, pep8, flakes, cache
collected 0 items / 1 errors
==================================== ERRORS ====================================
______________________________ ERROR collecting . ______________________________
/usr/lib/python2.7/site-packages/py/_path/common.py:327: in visit
    for x in Visitor(fil, rec, ignore, bf, sort).gen(self):
/usr/lib/python2.7/site-packages/py/_path/common.py:373: in gen
    for p in self.gen(subdir):
/usr/lib/python2.7/site-packages/py/_path/common.py:363: in gen
    if p.check(dir=1) and (rec is None or rec(p))])
/usr/lib/python2.7/site-packages/_pytest/main.py:627: in _recurse
    ihook.pytest_collect_directory(path=path, parent=self)
/usr/lib/python2.7/site-packages/_pytest/main.py:165: in call_matching_hooks
    plugins = self.config._getmatchingplugins(self.fspath)
/usr/lib/python2.7/site-packages/_pytest/config.py:688: in _getmatchingplugins
    plugins += self._conftest.getconftestmodules(fspath)
/usr/lib/python2.7/site-packages/_pytest/config.py:521: in getconftestmodules
    mod = self.importconftest(conftestpath)
/usr/lib/python2.7/site-packages/_pytest/config.py:545: in importconftest
    raise ConftestImportFailure(conftestpath, sys.exc_info())
E   ConftestImportFailure: (local('/builddir/build/BUILD/StarCluster-0.95.5/starcluster/tests/conftest.py'), (<class 'py._path.local.ImportMismatchError'>, ImportMismatchError('starcluster.tests.conftest', '/builddir/build/BUILD/StarCluster-0.95.5/build/lib/starcluster/tests/conftest.py', local('/builddir/build/BUILD/StarCluster-0.95.5/starcluster/tests/conftest.py')), <traceback object at 0x7f2f7c00c3b0>))
=========================== 1 error in 0.94 seconds ============================

Does something need to get configured?

@opoplawski
Copy link
Contributor Author

Missing pytest.ini in the tarball release?

@opoplawski
Copy link
Contributor Author

yeah, works with github tarball

@jtriley
Copy link
Owner

jtriley commented Oct 8, 2014

@opoplawski Ugh, adding it to the manifest now...

@jtriley jtriley closed this as completed in 89cd84e Oct 8, 2014
vasisht pushed a commit to Courtagen/StarCluster that referenced this issue Oct 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants