openSUSE / py2pack

Generate distribution packages from PyPI
Apache License 2.0
69 stars 40 forks source link

0.8.4: test suite is failing #131

Closed kloczek closed 4 years ago

kloczek commented 4 years ago
+ tox --skip-missing-interpreters
py27 create: /home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/.tox/py27
SKIPPED: InterpreterNotFound: python2.7
py36 create: /home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/.tox/py36
SKIPPED: InterpreterNotFound: python3.6
pep8 create: /home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/.tox/pep8
pep8 installdeps: -r/home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/requirements.txt, -r/home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/test-requirements.txt
pep8 develop-inst: /home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4
pep8 installed: alabaster==0.7.12,Babel==2.8.0,certifi==2020.6.20,chardet==3.0.4,coverage==5.2,ddt==1.4.1,docutils==0.16,flake8==3.8.3,idna==2.10,imagesize==1.2.0,Jinja2==2.11.2,MarkupSafe==1.1.1,mccabe==0.6.1,metaextract==1.0.7,nose==1.3.7,packaging==20.4,# Editable install with no version control (py2pack==0.8.4),-e /home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4,pycodestyle==2.6.0,pyflakes==2.2.0,Pygments==2.6.1,pyparsing==2.4.7,pytz==2020.1,requests==2.24.0,six==1.15.0,snowballstemmer==2.0.0,Sphinx==3.1.2,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==1.0.3,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-programoutput==0.16,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.4,urllib3==1.25.9
pep8 run-test-pre: PYTHONHASHSEED='3076187247'
pep8 run-test: commands[0] | flake8
./py2pack/requires.py:37:9: E117 over-indented
        """ find lowest required version"""
        ^
ERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/.tox/pep8/bin/flake8 (exited with code 1)
cover create: /home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/.tox/cover
cover installdeps: -r/home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/requirements.txt, -r/home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/test-requirements.txt
cover develop-inst: /home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4
cover installed: alabaster==0.7.12,Babel==2.8.0,certifi==2020.6.20,chardet==3.0.4,coverage==5.2,ddt==1.4.1,docutils==0.16,flake8==3.8.3,idna==2.10,imagesize==1.2.0,Jinja2==2.11.2,MarkupSafe==1.1.1,mccabe==0.6.1,metaextract==1.0.7,nose==1.3.7,packaging==20.4,# Editable install with no version control (py2pack==0.8.4),-e /home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4,pycodestyle==2.6.0,pyflakes==2.2.0,Pygments==2.6.1,pyparsing==2.4.7,pytz==2020.1,requests==2.24.0,six==1.15.0,snowballstemmer==2.0.0,Sphinx==3.1.2,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==1.0.3,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-programoutput==0.16,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.4,urllib3==1.25.9
cover run-test-pre: PYTHONHASHSEED='3076187247'
cover run-test: commands[0] | coverage run --source=py2pack setup.py test
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
Traceback (most recent call last):
  File "setup.py", line 29, in <module>
    setuptools.setup(setup_requires=['pbr>=1.8'],
  File "/home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/.tox/cover/lib/python3.8/site-packages/setuptools/__init__.py", line 165, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib64/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/.tox/cover/lib/python3.8/site-packages/setuptools/command/test.py", line 226, in run
    installed_dists = self.install_dists(self.distribution)
  File "/home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/.tox/cover/lib/python3.8/site-packages/setuptools/command/test.py", line 210, in install_dists
    tr_d = dist.fetch_build_eggs(dist.tests_require or [])
  File "/home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/.tox/cover/lib/python3.8/site-packages/setuptools/dist.py", line 699, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "/home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/.tox/cover/lib/python3.8/site-packages/pkg_resources/__init__.py", line 790, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (sphinxcontrib-programoutput 0.16 (/home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/.eggs/sphinxcontrib_programoutput-0.16-py3.8.egg), Requirement.parse('sphinxcontrib.programoutput'))
Coverage.py warning: No data was collected. (no-data-collected)
ERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/py2pack-0.8.4/.tox/cover/bin/coverage run --source=py2pack setup.py test (exited with code 1)
_______________________________________________________________________________________________ summary ________________________________________________________________________________________________
SKIPPED:  py27: InterpreterNotFound: python2.7
SKIPPED:  py36: InterpreterNotFound: python3.6
ERROR:   pep8: commands failed
ERROR:   cover: commands failed
scarabeusiv commented 4 years ago

Yup this is known. But also fixed on the git version so please use that one until we cut release. Also the version is usable, just the testing is impossible.

kloczek commented 4 years ago

So could you please make new release?

frispete commented 4 years ago

Hey, see and support #132 ;-)