Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

2.8.5: test suite warnings #109

Copy link
Copy link
@kloczek

Description

@kloczek
Issue body actions
+ /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 ===============================================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status:MissingDetailsWaiting for the issue author to provide some detailsWaiting for the issue author to provide some details

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.