Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing setuptools-build-hook Using setuptoolsBuildPhase Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/gw5gzmlk6ylzh4pgarrn4qjcg5mqcbmk-semantic_version-2.10.0.tar.gz source root is semantic_version-2.10.0 setting SOURCE_DATE_EPOCH to timestamp 1653572118 of file "semantic_version-2.10.0/setup.cfg" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing setuptoolsBuildPhase setup.py build flags: '' /nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel /nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/semantic_version copying semantic_version/base.py -> build/lib/semantic_version copying semantic_version/__init__.py -> build/lib/semantic_version copying semantic_version/django_fields.py -> build/lib/semantic_version /nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/semantic_version copying build/lib/semantic_version/base.py -> build/bdist.linux-x86_64/wheel/./semantic_version copying build/lib/semantic_version/__init__.py -> build/bdist.linux-x86_64/wheel/./semantic_version copying build/lib/semantic_version/django_fields.py -> build/bdist.linux-x86_64/wheel/./semantic_version running install_egg_info running egg_info writing semantic_version.egg-info/PKG-INFO writing dependency_links to semantic_version.egg-info/dependency_links.txt writing requirements to semantic_version.egg-info/requires.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 files found matching 'requirements*.txt' warning: no files found matching '.flake8' 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' adding license file 'LICENSE' writing manifest file 'semantic_version.egg-info/SOURCES.txt' Copying semantic_version.egg-info to build/bdist.linux-x86_64/wheel/./semantic_version-2.10.0-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/semantic_version-2.10.0.dist-info/WHEEL creating 'dist/semantic_version-2.10.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'semantic_version/__init__.py' adding 'semantic_version/base.py' adding 'semantic_version/django_fields.py' adding 'semantic_version-2.10.0.dist-info/licenses/LICENSE' adding 'semantic_version-2.10.0.dist-info/METADATA' adding 'semantic_version-2.10.0.dist-info/WHEEL' adding 'semantic_version-2.10.0.dist-info/top_level.txt' adding 'semantic_version-2.10.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Finished executing setuptoolsBuildPhase Running phase: installPhase Executing pypaInstallPhase Successfully installed semantic_version-2.10.0-py2.py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/gl686ca2465p2ri7wkvbkxgb6mv1cwl3-python3.13-semantic-version-2.10.0 checking for references to /build/ in /nix/store/gl686ca2465p2ri7wkvbkxgb6mv1cwl3-python3.13-semantic-version-2.10.0... patching script interpreter paths in /nix/store/gl686ca2465p2ri7wkvbkxgb6mv1cwl3-python3.13-semantic-version-2.10.0 stripping (with command strip and flags -S -p) in /nix/store/gl686ca2465p2ri7wkvbkxgb6mv1cwl3-python3.13-semantic-version-2.10.0/lib shrinking RPATHs of ELF executables and libraries in /nix/store/44k7ppnpll9b30d1is6ikiqnlha5114l-python3.13-semantic-version-2.10.0-dist checking for references to /build/ in /nix/store/44k7ppnpll9b30d1is6ikiqnlha5114l-python3.13-semantic-version-2.10.0-dist... patching script interpreter paths in /nix/store/44k7ppnpll9b30d1is6ikiqnlha5114l-python3.13-semantic-version-2.10.0-dist Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Check whether the following modules can be imported: semantic_version Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0 rootdir: /build/semantic_version-2.10.0 collected 68 items tests/test_base.py ................................... [ 51%] tests/test_django.py ssssssssssssssss [ 75%] tests/test_match.py ...... [ 83%] tests/test_npm.py .. [ 86%] tests/test_parsing.py ..... [ 94%] tests/test_spec.py .... [100%] =============================== warnings summary =============================== tests/test_base.py: 4 warnings tests/test_match.py: 50 warnings /build/semantic_version-2.10.0/semantic_version/base.py:600: 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 /build/semantic_version-2.10.0/tests/test_base.py:195: 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 /build/semantic_version-2.10.0/tests/test_base.py:196: 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 /build/semantic_version-2.10.0/tests/test_base.py:197: 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 /build/semantic_version-2.10.0/tests/test_base.py:206: 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 /build/semantic_version-2.10.0/tests/test_base.py:213: 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 /build/semantic_version-2.10.0/tests/test_base.py:177: 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 /build/semantic_version-2.10.0/tests/test_base.py:187: 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 /build/semantic_version-2.10.0/tests/test_base.py:441: 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 /build/semantic_version-2.10.0/semantic_version/base.py:560: 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 /build/semantic_version-2.10.0/semantic_version/base.py:541: 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 /build/semantic_version-2.10.0/tests/test_base.py:563: DeprecationWarning: The `SpecItem` class will be removed in 3.0. spec1 = base.SpecItem('==0.1.0') tests/test_base.py::SpecItemTestCase::test_equality /build/semantic_version-2.10.0/tests/test_base.py:564: 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 /build/semantic_version-2.10.0/tests/test_base.py:576: 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 /build/semantic_version-2.10.0/tests/test_base.py:417: DeprecationWarning: The `SpecItem` class will be removed in 3.0. base.SpecItem(invalid) tests/test_base.py: 23 warnings /build/semantic_version-2.10.0/tests/test_base.py:547: DeprecationWarning: The `SpecItem` class will be removed in 3.0. spec = base.SpecItem(spec_text) tests/test_base.py::SpecItemTestCase::test_to_string /build/semantic_version-2.10.0/tests/test_base.py:569: DeprecationWarning: The `SpecItem` class will be removed in 3.0. spec = base.SpecItem('==0.1.0') tests/test_base.py::SpecTestCase::test_contains /build/semantic_version-2.10.0/tests/test_base.py:782: 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 /build/semantic_version-2.10.0/tests/test_base.py:715: 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 /build/semantic_version-2.10.0/tests/test_base.py:716: 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 /build/semantic_version-2.10.0/tests/test_base.py:735: 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 /build/semantic_version-2.10.0/tests/test_base.py:721: 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 /build/semantic_version-2.10.0/tests/test_base.py:726: 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 /build/semantic_version-2.10.0/tests/test_base.py:787: 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 /build/semantic_version-2.10.0/tests/test_base.py:689: 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 /build/semantic_version-2.10.0/tests/test_base.py:638: 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 /build/semantic_version-2.10.0/tests/test_base.py:642: 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 /build/semantic_version-2.10.0/tests/test_base.py:652: 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 /build/semantic_version-2.10.0/tests/test_base.py:652: 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 /build/semantic_version-2.10.0/tests/test_base.py:655: 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 /build/semantic_version-2.10.0/tests/test_base.py:656: 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 /build/semantic_version-2.10.0/tests/test_base.py:659: 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 /build/semantic_version-2.10.0/tests/test_base.py:768: 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 /build/semantic_version-2.10.0/tests/test_base.py:755: 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 /build/semantic_version-2.10.0/tests/test_base.py:759: 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 /build/semantic_version-2.10.0/tests/test_match.py:170: 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 /build/semantic_version-2.10.0/tests/test_match.py:153: 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 /build/semantic_version-2.10.0/tests/test_match.py:132: PendingDeprecationWarning: The Spec() class will be removed in 3.1; use SimpleSpec() instead. semantic_version.Spec(invalid) tests/test_match.py: 50 warnings /build/semantic_version-2.10.0/tests/test_match.py:145: 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 /build/semantic_version-2.10.0/tests/test_match.py:163: 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 /build/semantic_version-2.10.0/tests/test_match.py:164: 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 /build/semantic_version-2.10.0/tests/test_match.py:137: DeprecationWarning: The `SpecItem` class will be removed in 3.0. spec = semantic_version.SpecItem(valid) tests/test_match.py: 14 warnings /build/semantic_version-2.10.0/tests/test_match.py:139: DeprecationWarning: The `SpecItem` class will be removed in 3.0. self.assertEqual(spec, semantic_version.SpecItem(normalized)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================= 52 passed, 16 skipped, 524 warnings in 5.78s ================= Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase