bitprophet / releases

A powerful Sphinx changelog-generating extension.
http://releases.readthedocs.io/
BSD 2-Clause "Simplified" License
176 stars 41 forks source link

1.6.3: test suite warnings #95

Closed kloczek closed 1 year ago

kloczek commented 3 years ago
+ /usr/bin/python3 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.
running egg_info
writing releases.egg-info/PKG-INFO
writing dependency_links to releases.egg-info/dependency_links.txt
writing requirements to releases.egg-info/requires.txt
writing top-level names to releases.egg-info/top_level.txt
reading manifest file 'releases.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
writing manifest file 'releases.egg-info/SOURCES.txt'
running build_ext
/home/tkloczko/rpmbuild/BUILD/releases-1.6.3/.eggs/semantic_version-2.6.0-py3.8.egg/semantic_version/base.py:94: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.prerelease and self.minor is 0 and self.patch is 0:
/home/tkloczko/rpmbuild/BUILD/releases-1.6.3/.eggs/semantic_version-2.6.0-py3.8.egg/semantic_version/base.py:94: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.prerelease and self.minor is 0 and self.patch is 0:
/home/tkloczko/rpmbuild/BUILD/releases-1.6.3/.eggs/semantic_version-2.6.0-py3.8.egg/semantic_version/base.py:100: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.prerelease and self.patch is 0:

----------------------------------------------------------------------
Ran 0 tests in 0.000s
kloczek commented 2 years ago

Looks like pytest is not able to find any units

+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-releases-1.6.3-3.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-releases-1.6.3-3.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/releases-1.6.3
collected 0 items

========================================================================== no tests ran in 0.03s ===========================================================================
samuela commented 2 years ago

I'm facing the same issue packaging this for nixpkgs. What's the recommended way of running the test suite?

kloczek commented 2 years ago

ping .. 😄

bitprophet commented 1 year ago

This should be fixed as of the latest major release!