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

2.8.5: test suite warnings #109

Open
kloczek opened this issue Feb 28, 2021 · 4 comments
Open

2.8.5: test suite warnings #109

kloczek opened this issue Feb 28, 2021 · 4 comments
Labels
Status:MissingDetails Waiting for the issue author to provide some details

Comments

@kloczek
Copy link

kloczek commented Feb 28, 2021

+ /usr/bin/python3 -Bm pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.8, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5
plugins: flaky-3.6.1, forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, asyncio-0.14.0, expect-1.1.0, pyfakefs-4.1.0, cov-2.11.1, mock-3.5.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, hypothesis-6.3.3, timeout-1.4.2
collected 66 items

tests/test_base.py ..................................                                                                                                                [ 51%]
tests/test_django.py sssssssssssssss                                                                                                                                 [ 74%]
tests/test_match.py ......                                                                                                                                           [ 83%]
tests/test_npm.py ..                                                                                                                                                 [ 86%]
tests/test_parsing.py .....                                                                                                                                          [ 93%]
tests/test_spec.py ....                                                                                                                                              [100%]

============================================================================= warnings summary =============================================================================
tests/test_base.py: 4 warnings
tests/test_match.py: 50 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/semantic_version/base.py:571: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    return Spec(spec).match(Version(version))

tests/test_base.py: 19 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:193: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
    base.Version(text, partial=True),

tests/test_base.py: 19 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:194: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
    base.Version(text, partial=True))

tests/test_base.py: 19 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:195: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
    self.assertNotEqual(text, base.Version(text, partial=True))

tests/test_base.py::VersionTestCase::test_hash
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:204: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
    len(set([base.Version('0.1.0'), base.Version('0.1.0', partial=True)])))

tests/test_base.py::VersionTestCase::test_hash
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:211: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
    base.Version('0.1.0-a1+34', partial=True)

tests/test_base.py: 19 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:175: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
    version = base.Version(text, partial=True)

tests/test_base.py: 19 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:185: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
    version = base.Version(text, partial=True)

tests/test_base.py: 15 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:424: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
    spec = base.SpecItem(spec_text)

tests/test_base.py: 69 warnings
tests/test_match.py: 26 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/semantic_version/base.py:531: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
    spec = Version(version, partial=True)

tests/test_base.py: 66 warnings
tests/test_match.py: 28 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/semantic_version/base.py:512: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    self._clause = Spec(requirement_string).clause

tests/test_base.py::SpecItemTestCase::test_equality
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:546: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
    spec1 = base.SpecItem('==0.1.0')

tests/test_base.py::SpecItemTestCase::test_equality
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:547: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
    spec2 = base.SpecItem('==0.1.0')

tests/test_base.py::SpecItemTestCase::test_hash
tests/test_base.py::SpecItemTestCase::test_hash
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:559: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
    len(set([base.SpecItem('==0.1.0'), base.SpecItem('==0.1.0')])))

tests/test_base.py::SpecItemTestCase::test_invalids
tests/test_base.py::SpecItemTestCase::test_invalids
tests/test_base.py::SpecItemTestCase::test_invalids
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:400: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
    base.SpecItem(invalid)

tests/test_base.py: 23 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:530: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
    spec = base.SpecItem(spec_text)

tests/test_base.py::SpecItemTestCase::test_to_string
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:552: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
    spec = base.SpecItem('==0.1.0')

tests/test_base.py::SpecTestCase::test_contains
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:762: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    self.assertFalse('ii' in base.Spec('>=0.1.1'))

tests/test_base.py::SpecTestCase::test_equality
tests/test_base.py::SpecTestCase::test_equality
tests/test_base.py::SpecTestCase::test_equality
tests/test_base.py::SpecTestCase::test_equality
tests/test_base.py::SpecTestCase::test_equality
tests/test_base.py::SpecTestCase::test_equality
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:695: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    slist1 = base.Spec(spec_list_text)

tests/test_base.py::SpecTestCase::test_equality
tests/test_base.py::SpecTestCase::test_equality
tests/test_base.py::SpecTestCase::test_equality
tests/test_base.py::SpecTestCase::test_equality
tests/test_base.py::SpecTestCase::test_equality
tests/test_base.py::SpecTestCase::test_equality
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:696: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    slist2 = base.Spec(spec_list_text)

tests/test_base.py::SpecTestCase::test_filter_compatible
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:715: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    s = base.Spec('>=0.1.1,!=0.1.4,<0.2.0')

tests/test_base.py::SpecTestCase::test_filter_empty
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:701: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    s = base.Spec('>=0.1.1')

tests/test_base.py::SpecTestCase::test_filter_incompatible
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:706: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    s = base.Spec('>=0.1.1,!=0.1.4')

tests/test_base.py::SpecTestCase::test_hash
tests/test_base.py::SpecTestCase::test_hash
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:767: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    len(set([base.Spec('>=0.1.1'), base.Spec('>=0.1.1')])))

tests/test_base.py::SpecTestCase::test_matches
tests/test_base.py::SpecTestCase::test_matches
tests/test_base.py::SpecTestCase::test_matches
tests/test_base.py::SpecTestCase::test_matches
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:669: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    spec_list = base.Spec(spec_list_text)

tests/test_base.py::SpecTestCase::test_parsing
tests/test_base.py::SpecTestCase::test_parsing
tests/test_base.py::SpecTestCase::test_parsing
tests/test_base.py::SpecTestCase::test_parsing
tests/test_base.py::SpecTestCase::test_parsing
tests/test_base.py::SpecTestCase::test_parsing
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:618: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    spec_list = base.Spec(spec_list_text)

tests/test_base.py::SpecTestCase::test_parsing
tests/test_base.py::SpecTestCase::test_parsing
tests/test_base.py::SpecTestCase::test_parsing
tests/test_base.py::SpecTestCase::test_parsing
tests/test_base.py::SpecTestCase::test_parsing
tests/test_base.py::SpecTestCase::test_parsing
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:622: DeprecationWarning: Iterating over the components of a SimpleSpec object will be removed in 3.0.
    self.assertCountEqual(specs, [str(spec) for spec in spec_list])

tests/test_base.py::SpecTestCase::test_parsing_split
tests/test_base.py::SpecTestCase::test_parsing_split
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:632: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    spec_list = base.Spec(*spec_list_texts)

tests/test_base.py::SpecTestCase::test_parsing_split
tests/test_base.py::SpecTestCase::test_parsing_split
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:632: DeprecationWarning: Passing 2+ arguments to SimpleSpec will be removed in 3.0; concatenate them with ',' instead.
    spec_list = base.Spec(*spec_list_texts)

tests/test_base.py::SpecTestCase::test_parsing_split
tests/test_base.py::SpecTestCase::test_parsing_split
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:635: DeprecationWarning: Iterating over the components of a SimpleSpec object will be removed in 3.0.
    self.assertCountEqual(specs, [str(spec) for spec in spec_list])

tests/test_base.py::SpecTestCase::test_parsing_split
tests/test_base.py::SpecTestCase::test_parsing_split
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:636: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    self.assertEqual(spec_list, base.Spec(','.join(spec_list_texts)))

tests/test_base.py::SpecTestCase::test_parsing_split
tests/test_base.py::SpecTestCase::test_parsing_split
tests/test_base.py::SpecTestCase::test_parsing_split
tests/test_base.py::SpecTestCase::test_parsing_split
tests/test_base.py::SpecTestCase::test_parsing_split
tests/test_base.py::SpecTestCase::test_parsing_split
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:639: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
    self.assertIn(str(base.SpecItem(spec_text)), repr(spec_list))

tests/test_base.py::SpecTestCase::test_select_compatible
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:748: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    s = base.Spec('>=0.1.1,!=0.1.4,<0.2.0')

tests/test_base.py::SpecTestCase::test_select_empty
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:735: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    s = base.Spec('>=0.1.1')

tests/test_base.py::SpecTestCase::test_select_incompatible
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:739: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    s = base.Spec('>=0.1.1,!=0.1.4')

tests/test_match.py::MatchTestCase::test_build_check
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:169: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    spec = semantic_version.Spec('<=0.1.1-rc1')

tests/test_match.py::MatchTestCase::test_contains
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:152: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    spec = semantic_version.Spec('<=0.1.1')

tests/test_match.py::MatchTestCase::test_invalid
tests/test_match.py::MatchTestCase::test_invalid
tests/test_match.py::MatchTestCase::test_invalid
tests/test_match.py::MatchTestCase::test_invalid
tests/test_match.py::MatchTestCase::test_invalid
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:131: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    semantic_version.Spec(invalid)

tests/test_match.py: 50 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:144: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    spec = semantic_version.Spec(spec_text)

tests/test_match.py::MatchTestCase::test_prerelease_check
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:162: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    strict_spec = semantic_version.Spec('>=0.1.1-')

tests/test_match.py::MatchTestCase::test_prerelease_check
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:163: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
    lax_spec = semantic_version.Spec('>=0.1.1')

tests/test_match.py: 14 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:136: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
    spec = semantic_version.SpecItem(valid)

tests/test_match.py: 14 warnings
  /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:138: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
    self.assertEqual(spec, semantic_version.SpecItem(normalized))

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info ==========================================================================
SKIPPED [15] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:355: Django not installed
=============================================================== 51 passed, 15 skipped, 524 warnings in 0.25s ===============================================================
@rbarrois
Copy link
Owner

rbarrois commented Mar 1, 2021

Can you explain what the issue is please? Those are internal warnings of the library, raised by the tests that ensure backwards compatibility.

Also not that pytest is not a supported test runner for this library, tests should be launched with make test.

@rbarrois rbarrois added the Status:MissingDetails Waiting for the issue author to provide some details label Mar 1, 2021
@kloczek
Copy link
Author

kloczek commented Mar 2, 2021

Just first line of th output of the setup.py 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.

tox usually shares settings with pytest.
pytest is especially usefull because actual tests it prints details about end (python version and versions of the modules which will be used on testing).

And only FTR full output of the test suite in which is possible to see some warnings:

+ /usr/bin/python3 -Wdefault 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 semantic_version.egg-info/PKG-INFO
writing dependency_links to semantic_version.egg-info/dependency_links.txt
writing top-level names to semantic_version.egg-info/top_level.txt
reading manifest file 'semantic_version.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '.*.sw[po]' found anywhere in distribution
no previously-included directories found matching 'docs/_build'
writing manifest file 'semantic_version.egg-info/SOURCES.txt'
running build_ext
test_coerce (tests.test_base.CoerceTestCase) ... ok
test_invalid (tests.test_base.CoerceTestCase) ... ok
test_components (tests.test_base.SpecItemTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:424: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
  spec = base.SpecItem(spec_text)
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/semantic_version/base.py:531: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
  spec = Version(version, partial=True)
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/semantic_version/base.py:512: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  self._clause = Spec(requirement_string).clause
ok
test_equality (tests.test_base.SpecItemTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:546: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
  spec1 = base.SpecItem('==0.1.0')
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:547: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
  spec2 = base.SpecItem('==0.1.0')
ok
test_hash (tests.test_base.SpecItemTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:559: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
  len(set([base.SpecItem('==0.1.0'), base.SpecItem('==0.1.0')])))
ok
test_invalids (tests.test_base.SpecItemTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:400: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
  base.SpecItem(invalid)
ok
test_matches (tests.test_base.SpecItemTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:530: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
  spec = base.SpecItem(spec_text)
ok
test_to_string (tests.test_base.SpecItemTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:552: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
  spec = base.SpecItem('==0.1.0')
ok
test_contains (tests.test_base.SpecTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:762: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  self.assertFalse('ii' in base.Spec('>=0.1.1'))
ok
test_equality (tests.test_base.SpecTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:695: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  slist1 = base.Spec(spec_list_text)
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:696: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  slist2 = base.Spec(spec_list_text)
ok
test_filter_compatible (tests.test_base.SpecTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:715: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  s = base.Spec('>=0.1.1,!=0.1.4,<0.2.0')
ok
test_filter_empty (tests.test_base.SpecTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:701: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  s = base.Spec('>=0.1.1')
ok
test_filter_incompatible (tests.test_base.SpecTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:706: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  s = base.Spec('>=0.1.1,!=0.1.4')
ok
test_hash (tests.test_base.SpecTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:767: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  len(set([base.Spec('>=0.1.1'), base.Spec('>=0.1.1')])))
ok
test_matches (tests.test_base.SpecTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:669: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  spec_list = base.Spec(spec_list_text)
ok
test_parsing (tests.test_base.SpecTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:618: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  spec_list = base.Spec(spec_list_text)
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:622: DeprecationWarning: Iterating over the components of a SimpleSpec object will be removed in 3.0.
  self.assertCountEqual(specs, [str(spec) for spec in spec_list])
ok
test_parsing_split (tests.test_base.SpecTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:632: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  spec_list = base.Spec(*spec_list_texts)
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:632: DeprecationWarning: Passing 2+ arguments to SimpleSpec will be removed in 3.0; concatenate them with ',' instead.
  spec_list = base.Spec(*spec_list_texts)
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:635: DeprecationWarning: Iterating over the components of a SimpleSpec object will be removed in 3.0.
  self.assertCountEqual(specs, [str(spec) for spec in spec_list])
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:636: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  self.assertEqual(spec_list, base.Spec(','.join(spec_list_texts)))
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:639: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
  self.assertIn(str(base.SpecItem(spec_text)), repr(spec_list))
ok
test_select_compatible (tests.test_base.SpecTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:748: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  s = base.Spec('>=0.1.1,!=0.1.4,<0.2.0')
ok
test_select_empty (tests.test_base.SpecTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:735: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  s = base.Spec('>=0.1.1')
ok
test_select_incompatible (tests.test_base.SpecTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:739: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  s = base.Spec('>=0.1.1,!=0.1.4')
ok
test_compare (tests.test_base.TopLevelTestCase) ... ok
test_match (tests.test_base.TopLevelTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/semantic_version/base.py:571: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  return Spec(spec).match(Version(version))
ok
test_validate_invalid (tests.test_base.TopLevelTestCase) ... ok
test_validate_valid (tests.test_base.TopLevelTestCase) ... ok
test_bump_clean_versions (tests.test_base.VersionTestCase) ... ok
test_bump_prerelease_versions (tests.test_base.VersionTestCase) ... ok
test_compare_partial_to_self (tests.test_base.VersionTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:193: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
  base.Version(text, partial=True),
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:194: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
  base.Version(text, partial=True))
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:195: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
  self.assertNotEqual(text, base.Version(text, partial=True))
ok
test_compare_to_self (tests.test_base.VersionTestCase) ... ok
test_hash (tests.test_base.VersionTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:204: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
  len(set([base.Version('0.1.0'), base.Version('0.1.0', partial=True)])))
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:211: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
  base.Version('0.1.0-a1+34', partial=True)
ok
test_invalid_comparisons (tests.test_base.VersionTestCase) ... ok
test_parsing (tests.test_base.VersionTestCase) ... ok
test_parsing_partials (tests.test_base.VersionTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:175: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
  version = base.Version(text, partial=True)
ok
test_str (tests.test_base.VersionTestCase) ... ok
test_str_partials (tests.test_base.VersionTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:185: DeprecationWarning: Partial versions will be removed in 3.0; use SimpleSpec('1.x.x') instead.
  version = base.Version(text, partial=True)
ok
skipped 'Django not installed'
test_build_check (tests.test_match.MatchTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:169: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  spec = semantic_version.Spec('<=0.1.1-rc1')
ok
test_contains (tests.test_match.MatchTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:152: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  spec = semantic_version.Spec('<=0.1.1')
ok
test_invalid (tests.test_match.MatchTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:131: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  semantic_version.Spec(invalid)
ok
test_match (tests.test_match.MatchTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:144: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  spec = semantic_version.Spec(spec_text)
ok
test_prerelease_check (tests.test_match.MatchTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:162: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  strict_spec = semantic_version.Spec('>=0.1.1-')
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:163: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead.
  lax_spec = semantic_version.Spec('>=0.1.1')
ok
test_simple (tests.test_match.MatchTestCase) ... /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:136: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
  spec = semantic_version.SpecItem(valid)
/home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:138: DeprecationWarning: The `SpecItem` class will be removed in 3.0.
  self.assertEqual(spec, semantic_version.SpecItem(normalized))
ok
test_expand (tests.test_npm.NpmSpecTests) ... ok
test_spec (tests.test_npm.NpmSpecTests) ... ok
test_comparisons (tests.test_parsing.ComparisonTestCase) ... ok
test_unordered (tests.test_parsing.ComparisonTestCase) ... ok
test_invalid (tests.test_parsing.ParsingTestCase) ... ok
test_kwargs (tests.test_parsing.ParsingTestCase) ... ok
test_simple (tests.test_parsing.ParsingTestCase) ... ok
test_build (tests.test_spec.FormatTests) ... ok
test_major_minor_patch (tests.test_spec.FormatTests) ... ok
test_precedence (tests.test_spec.FormatTests) ... ok
test_prerelease (tests.test_spec.FormatTests) ... ok

----------------------------------------------------------------------
Ran 51 tests in 0.041s

@rbarrois
Copy link
Owner

rbarrois commented Mar 2, 2021

Thanks for the note about setup.py test, I'll adjust it.

However, I still don't see which issue you're asking me to solve?

@kloczek
Copy link
Author

kloczek commented Mar 2, 2021

If you are happy about other warnings (I have no idea what theyt can mean) that could mean that there is no issue and fill free to close that ticket :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status:MissingDetails Waiting for the issue author to provide some details
Projects
None yet
Development

No branches or pull requests

2 participants