Title: 2.8.5: test suite warnings · Issue #109 · rbarrois/python-semanticversion · GitHub
Open Graph Title: 2.8.5: test suite warnings · Issue #109 · rbarrois/python-semanticversion
X Title: 2.8.5: test suite warnings · Issue #109 · rbarrois/python-semanticversion
Description: + /usr/bin/python3 -Bm pytest -ra =========================================================================== test session starts ============================================================================ platform linux -- Python 3.8.8...
Open Graph Description: + /usr/bin/python3 -Bm pytest -ra =========================================================================== test session starts ===================================================================...
X Description: + /usr/bin/python3 -Bm pytest -ra =========================================================================== test session starts ===================================================================...
Opengraph URL: https://github.com/rbarrois/python-semanticversion/issues/109
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"2.8.5: test suite warnings","articleBody":"```\r\n+ /usr/bin/python3 -Bm pytest -ra\r\n=========================================================================== test session starts ============================================================================\r\nplatform linux -- Python 3.8.8, pytest-6.2.2, py-1.10.0, pluggy-0.13.1\r\nrootdir: /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5\r\nplugins: 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\r\ncollected 66 items\r\n\r\ntests/test_base.py .................................. [ 51%]\r\ntests/test_django.py sssssssssssssss [ 74%]\r\ntests/test_match.py ...... [ 83%]\r\ntests/test_npm.py .. [ 86%]\r\ntests/test_parsing.py ..... [ 93%]\r\ntests/test_spec.py .... [100%]\r\n\r\n============================================================================= warnings summary =============================================================================\r\ntests/test_base.py: 4 warnings\r\ntests/test_match.py: 50 warnings\r\n /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.\r\n return Spec(spec).match(Version(version))\r\n\r\ntests/test_base.py: 19 warnings\r\n /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.\r\n base.Version(text, partial=True),\r\n\r\ntests/test_base.py: 19 warnings\r\n /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.\r\n base.Version(text, partial=True))\r\n\r\ntests/test_base.py: 19 warnings\r\n /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.\r\n self.assertNotEqual(text, base.Version(text, partial=True))\r\n\r\ntests/test_base.py::VersionTestCase::test_hash\r\n /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.\r\n len(set([base.Version('0.1.0'), base.Version('0.1.0', partial=True)])))\r\n\r\ntests/test_base.py::VersionTestCase::test_hash\r\n /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.\r\n base.Version('0.1.0-a1+34', partial=True)\r\n\r\ntests/test_base.py: 19 warnings\r\n /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.\r\n version = base.Version(text, partial=True)\r\n\r\ntests/test_base.py: 19 warnings\r\n /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.\r\n version = base.Version(text, partial=True)\r\n\r\ntests/test_base.py: 15 warnings\r\n /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:424: DeprecationWarning: The `SpecItem` class will be removed in 3.0.\r\n spec = base.SpecItem(spec_text)\r\n\r\ntests/test_base.py: 69 warnings\r\ntests/test_match.py: 26 warnings\r\n /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.\r\n spec = Version(version, partial=True)\r\n\r\ntests/test_base.py: 66 warnings\r\ntests/test_match.py: 28 warnings\r\n /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.\r\n self._clause = Spec(requirement_string).clause\r\n\r\ntests/test_base.py::SpecItemTestCase::test_equality\r\n /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:546: DeprecationWarning: The `SpecItem` class will be removed in 3.0.\r\n spec1 = base.SpecItem('==0.1.0')\r\n\r\ntests/test_base.py::SpecItemTestCase::test_equality\r\n /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:547: DeprecationWarning: The `SpecItem` class will be removed in 3.0.\r\n spec2 = base.SpecItem('==0.1.0')\r\n\r\ntests/test_base.py::SpecItemTestCase::test_hash\r\ntests/test_base.py::SpecItemTestCase::test_hash\r\n /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:559: DeprecationWarning: The `SpecItem` class will be removed in 3.0.\r\n len(set([base.SpecItem('==0.1.0'), base.SpecItem('==0.1.0')])))\r\n\r\ntests/test_base.py::SpecItemTestCase::test_invalids\r\ntests/test_base.py::SpecItemTestCase::test_invalids\r\ntests/test_base.py::SpecItemTestCase::test_invalids\r\n /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:400: DeprecationWarning: The `SpecItem` class will be removed in 3.0.\r\n base.SpecItem(invalid)\r\n\r\ntests/test_base.py: 23 warnings\r\n /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:530: DeprecationWarning: The `SpecItem` class will be removed in 3.0.\r\n spec = base.SpecItem(spec_text)\r\n\r\ntests/test_base.py::SpecItemTestCase::test_to_string\r\n /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:552: DeprecationWarning: The `SpecItem` class will be removed in 3.0.\r\n spec = base.SpecItem('==0.1.0')\r\n\r\ntests/test_base.py::SpecTestCase::test_contains\r\n /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.\r\n self.assertFalse('ii' in base.Spec('\u003e=0.1.1'))\r\n\r\ntests/test_base.py::SpecTestCase::test_equality\r\ntests/test_base.py::SpecTestCase::test_equality\r\ntests/test_base.py::SpecTestCase::test_equality\r\ntests/test_base.py::SpecTestCase::test_equality\r\ntests/test_base.py::SpecTestCase::test_equality\r\ntests/test_base.py::SpecTestCase::test_equality\r\n /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.\r\n slist1 = base.Spec(spec_list_text)\r\n\r\ntests/test_base.py::SpecTestCase::test_equality\r\ntests/test_base.py::SpecTestCase::test_equality\r\ntests/test_base.py::SpecTestCase::test_equality\r\ntests/test_base.py::SpecTestCase::test_equality\r\ntests/test_base.py::SpecTestCase::test_equality\r\ntests/test_base.py::SpecTestCase::test_equality\r\n /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.\r\n slist2 = base.Spec(spec_list_text)\r\n\r\ntests/test_base.py::SpecTestCase::test_filter_compatible\r\n /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.\r\n s = base.Spec('\u003e=0.1.1,!=0.1.4,\u003c0.2.0')\r\n\r\ntests/test_base.py::SpecTestCase::test_filter_empty\r\n /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.\r\n s = base.Spec('\u003e=0.1.1')\r\n\r\ntests/test_base.py::SpecTestCase::test_filter_incompatible\r\n /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.\r\n s = base.Spec('\u003e=0.1.1,!=0.1.4')\r\n\r\ntests/test_base.py::SpecTestCase::test_hash\r\ntests/test_base.py::SpecTestCase::test_hash\r\n /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.\r\n len(set([base.Spec('\u003e=0.1.1'), base.Spec('\u003e=0.1.1')])))\r\n\r\ntests/test_base.py::SpecTestCase::test_matches\r\ntests/test_base.py::SpecTestCase::test_matches\r\ntests/test_base.py::SpecTestCase::test_matches\r\ntests/test_base.py::SpecTestCase::test_matches\r\n /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.\r\n spec_list = base.Spec(spec_list_text)\r\n\r\ntests/test_base.py::SpecTestCase::test_parsing\r\ntests/test_base.py::SpecTestCase::test_parsing\r\ntests/test_base.py::SpecTestCase::test_parsing\r\ntests/test_base.py::SpecTestCase::test_parsing\r\ntests/test_base.py::SpecTestCase::test_parsing\r\ntests/test_base.py::SpecTestCase::test_parsing\r\n /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.\r\n spec_list = base.Spec(spec_list_text)\r\n\r\ntests/test_base.py::SpecTestCase::test_parsing\r\ntests/test_base.py::SpecTestCase::test_parsing\r\ntests/test_base.py::SpecTestCase::test_parsing\r\ntests/test_base.py::SpecTestCase::test_parsing\r\ntests/test_base.py::SpecTestCase::test_parsing\r\ntests/test_base.py::SpecTestCase::test_parsing\r\n /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.\r\n self.assertCountEqual(specs, [str(spec) for spec in spec_list])\r\n\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\n /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.\r\n spec_list = base.Spec(*spec_list_texts)\r\n\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\n /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.\r\n spec_list = base.Spec(*spec_list_texts)\r\n\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\n /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.\r\n self.assertCountEqual(specs, [str(spec) for spec in spec_list])\r\n\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\n /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.\r\n self.assertEqual(spec_list, base.Spec(','.join(spec_list_texts)))\r\n\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\ntests/test_base.py::SpecTestCase::test_parsing_split\r\n /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_base.py:639: DeprecationWarning: The `SpecItem` class will be removed in 3.0.\r\n self.assertIn(str(base.SpecItem(spec_text)), repr(spec_list))\r\n\r\ntests/test_base.py::SpecTestCase::test_select_compatible\r\n /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.\r\n s = base.Spec('\u003e=0.1.1,!=0.1.4,\u003c0.2.0')\r\n\r\ntests/test_base.py::SpecTestCase::test_select_empty\r\n /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.\r\n s = base.Spec('\u003e=0.1.1')\r\n\r\ntests/test_base.py::SpecTestCase::test_select_incompatible\r\n /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.\r\n s = base.Spec('\u003e=0.1.1,!=0.1.4')\r\n\r\ntests/test_match.py::MatchTestCase::test_build_check\r\n /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.\r\n spec = semantic_version.Spec('\u003c=0.1.1-rc1')\r\n\r\ntests/test_match.py::MatchTestCase::test_contains\r\n /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.\r\n spec = semantic_version.Spec('\u003c=0.1.1')\r\n\r\ntests/test_match.py::MatchTestCase::test_invalid\r\ntests/test_match.py::MatchTestCase::test_invalid\r\ntests/test_match.py::MatchTestCase::test_invalid\r\ntests/test_match.py::MatchTestCase::test_invalid\r\ntests/test_match.py::MatchTestCase::test_invalid\r\n /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.\r\n semantic_version.Spec(invalid)\r\n\r\ntests/test_match.py: 50 warnings\r\n /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.\r\n spec = semantic_version.Spec(spec_text)\r\n\r\ntests/test_match.py::MatchTestCase::test_prerelease_check\r\n /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.\r\n strict_spec = semantic_version.Spec('\u003e=0.1.1-')\r\n\r\ntests/test_match.py::MatchTestCase::test_prerelease_check\r\n /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.\r\n lax_spec = semantic_version.Spec('\u003e=0.1.1')\r\n\r\ntests/test_match.py: 14 warnings\r\n /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:136: DeprecationWarning: The `SpecItem` class will be removed in 3.0.\r\n spec = semantic_version.SpecItem(valid)\r\n\r\ntests/test_match.py: 14 warnings\r\n /home/tkloczko/rpmbuild/BUILD/python-semanticversion-2.8.5/tests/test_match.py:138: DeprecationWarning: The `SpecItem` class will be removed in 3.0.\r\n self.assertEqual(spec, semantic_version.SpecItem(normalized))\r\n\r\n-- Docs: https://docs.pytest.org/en/stable/warnings.html\r\n========================================================================= short test summary info ==========================================================================\r\nSKIPPED [15] ../../../../../usr/lib/python3.8/site-packages/_pytest/unittest.py:355: Django not installed\r\n=============================================================== 51 passed, 15 skipped, 524 warnings in 0.25s ===============================================================\r\n```","author":{"url":"https://github.com/kloczek","@type":"Person","name":"kloczek"},"datePublished":"2021-02-28T02:42:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/109/python-semanticversion/issues/109"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:13cb160f-cdc1-f594-bcc3-6393a18f4cbf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B312:271581:1B35681:23246A0:6991A358 |
| html-safe-nonce | 97508ea8cb4653661acb777ecfc3fa97f2f258db3bac3545518d9e9193fa4dd3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzEyOjI3MTU4MToxQjM1NjgxOjIzMjQ2QTA6Njk5MUEzNTgiLCJ2aXNpdG9yX2lkIjoiNDU3NTk4ODY5MTU3NTYxMjI0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 15c7d6d0dea79c69437262a9d1bf312a1406803fb5fd3cb01b4ab345b3cdcd70 |
| hovercard-subject-tag | issue:818084370 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/rbarrois/python-semanticversion/109/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1a819db5c273969afc8698b53a40f781d83252555e57a84772d8c5a3f6221ac1/rbarrois/python-semanticversion/issues/109 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1a819db5c273969afc8698b53a40f781d83252555e57a84772d8c5a3f6221ac1/rbarrois/python-semanticversion/issues/109 |
| og:image:alt | + /usr/bin/python3 -Bm pytest -ra =========================================================================== test session starts ===================================================================... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kloczek |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/rbarrois/python-semanticversion git https://github.com/rbarrois/python-semanticversion.git |
| octolytics-dimension-user_id | 694541 |
| octolytics-dimension-user_login | rbarrois |
| octolytics-dimension-repository_id | 4326308 |
| octolytics-dimension-repository_nwo | rbarrois/python-semanticversion |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4326308 |
| octolytics-dimension-repository_network_root_nwo | rbarrois/python-semanticversion |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width