Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook 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/bz86p9d2nysivq7lnd6ddlbcrkmy6myc-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/uv.lock" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Setting SETUPTOOLS_SCM_PRETEND_VERSION to 3.0.4 Including all tracked files automatically Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... /nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: 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. ******************************************************************************** !! dist._finalize_license_expression() /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 egg_info creating src/semver.egg-info writing src/semver.egg-info/PKG-INFO writing dependency_links to src/semver.egg-info/dependency_links.txt writing entry points to src/semver.egg-info/entry_points.txt writing top-level names to src/semver.egg-info/top_level.txt writing manifest file 'src/semver.egg-info/SOURCES.txt' reading manifest file 'src/semver.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'docs/**/__pycache__' warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'src/semver.egg-info/SOURCES.txt' * Building wheel... /nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: 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. ******************************************************************************** !! dist._finalize_license_expression() /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 running build running build_py creating build/lib/semver copying src/semver/__init__.py -> build/lib/semver copying src/semver/_types.py -> build/lib/semver copying src/semver/version.py -> build/lib/semver copying src/semver/_deprecated.py -> build/lib/semver copying src/semver/__about__.py -> build/lib/semver copying src/semver/__main__.py -> build/lib/semver copying src/semver/cli.py -> build/lib/semver running egg_info writing src/semver.egg-info/PKG-INFO writing dependency_links to src/semver.egg-info/dependency_links.txt writing entry points to src/semver.egg-info/entry_points.txt writing top-level names to src/semver.egg-info/top_level.txt reading manifest file 'src/semver.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'docs/**/__pycache__' warning: no previously-included files matching '__pycache__' found anywhere in distribution adding license file 'LICENSE.txt' writing manifest file 'src/semver.egg-info/SOURCES.txt' copying src/semver/py.typed -> build/lib/semver 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/semver copying build/lib/semver/__init__.py -> build/bdist.linux-x86_64/wheel/./semver copying build/lib/semver/_types.py -> build/bdist.linux-x86_64/wheel/./semver copying build/lib/semver/version.py -> build/bdist.linux-x86_64/wheel/./semver copying build/lib/semver/py.typed -> build/bdist.linux-x86_64/wheel/./semver copying build/lib/semver/_deprecated.py -> build/bdist.linux-x86_64/wheel/./semver copying build/lib/semver/__about__.py -> build/bdist.linux-x86_64/wheel/./semver copying build/lib/semver/__main__.py -> build/bdist.linux-x86_64/wheel/./semver copying build/lib/semver/cli.py -> build/bdist.linux-x86_64/wheel/./semver running install_egg_info Copying src/semver.egg-info to build/bdist.linux-x86_64/wheel/./semver-3.0.4-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/semver-3.0.4.dist-info/WHEEL creating '/build/source/dist/.tmp-zm3k2ej1/semver-3.0.4-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'semver/__about__.py' adding 'semver/__init__.py' adding 'semver/__main__.py' adding 'semver/_deprecated.py' adding 'semver/_types.py' adding 'semver/cli.py' adding 'semver/py.typed' adding 'semver/version.py' adding 'semver-3.0.4.dist-info/licenses/LICENSE.txt' adding 'semver-3.0.4.dist-info/METADATA' adding 'semver-3.0.4.dist-info/WHEEL' adding 'semver-3.0.4.dist-info/entry_points.txt' adding 'semver-3.0.4.dist-info/top_level.txt' adding 'semver-3.0.4.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built semver-3.0.4-py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for semver-3.0.4-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed semver-3.0.4-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/19g38qm008p5v4x852g7i7y8sh6dqnf8-python3.13-semver-3.0.4 checking for references to /build/ in /nix/store/19g38qm008p5v4x852g7i7y8sh6dqnf8-python3.13-semver-3.0.4... patching script interpreter paths in /nix/store/19g38qm008p5v4x852g7i7y8sh6dqnf8-python3.13-semver-3.0.4 stripping (with command strip and flags -S -p) in /nix/store/19g38qm008p5v4x852g7i7y8sh6dqnf8-python3.13-semver-3.0.4/lib /nix/store/19g38qm008p5v4x852g7i7y8sh6dqnf8-python3.13-semver-3.0.4/bin shrinking RPATHs of ELF executables and libraries in /nix/store/w609kyv1fpf48sxibfds6pdla94gdksy-python3.13-semver-3.0.4-dist checking for references to /build/ in /nix/store/w609kyv1fpf48sxibfds6pdla94gdksy-python3.13-semver-3.0.4-dist... patching script interpreter paths in /nix/store/w609kyv1fpf48sxibfds6pdla94gdksy-python3.13-semver-3.0.4-dist Rewriting #!/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 to #!/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11 wrapping `/nix/store/19g38qm008p5v4x852g7i7y8sh6dqnf8-python3.13-semver-3.0.4/bin/pysemver'... 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: semver 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/source configfile: .pytest.ini testpaths: tests, docs plugins: cov-nixpkgs-stub-1.0.0 collected 350 items tests/test_bump.py ........................ [ 6%] tests/test_compare.py .................................................. [ 21%] ..... [ 22%] tests/test_deprecated_functions.py ..................... [ 28%] tests/test_docstrings.py ..................... [ 34%] tests/test_format.py .............. [ 38%] tests/test_immutable.py ...... [ 40%] tests/test_index.py ............................................ [ 52%] tests/test_match.py ................... [ 58%] tests/test_max-min.py ........... [ 61%] tests/test_parsing.py .................................. [ 71%] tests/test_pysemver-cli.py ........................... [ 78%] tests/test_replace.py ................. [ 83%] tests/test_semver.py ............................... [ 92%] tests/test_subclass.py ... [ 93%] tests/test_typeerror-274.py .. [ 94%] docs/advanced/convert-pypi-to-semver.rst . [ 94%] docs/advanced/create-subclasses-from-version.rst . [ 94%] docs/advanced/deal-with-invalid-versions.rst . [ 94%] docs/contribute/doc-semver.rst . [ 95%] docs/migration/replace-deprecated-functions.rst . [ 95%] docs/usage/access-parts-of-a-version.rst . [ 95%] docs/usage/access-parts-through-index.rst . [ 96%] docs/usage/check-compatible-semver-version.rst . [ 96%] docs/usage/check-valid-semver-version.rst . [ 96%] docs/usage/compare-versions-through-expression.rst . [ 96%] docs/usage/compare-versions.rst . [ 97%] docs/usage/convert-version-into-different-types.rst . [ 97%] docs/usage/create-a-version.rst . [ 97%] docs/usage/determine-version-equality.rst . [ 98%] docs/usage/get-min-and-max-of-multiple-versions.rst . [ 98%] docs/usage/increase-parts-of-a-version_prereleases.rst . [ 98%] docs/usage/parse-version-string.rst . [ 98%] docs/usage/raise-parts-of-a-version.rst . [ 99%] docs/usage/replace-parts-of-a-version.rst . [ 99%] docs/usage/semver-version.rst . [ 99%] docs/usage/semver_org-version.rst . [100%] =============================== warnings summary =============================== tests/test_compare.py::test_should_get_less[1.0.0-2.0.0] tests/test_compare.py::test_should_get_less[1.0.0-alpha-1.0.0-alpha.1] tests/test_compare.py::test_should_get_less[1.0.0-alpha.1-1.0.0-alpha.beta] tests/test_compare.py::test_should_get_less[1.0.0-alpha.beta-1.0.0-beta] tests/test_compare.py::test_should_get_less[1.0.0-beta-1.0.0-beta.2] tests/test_compare.py::test_should_get_less[1.0.0-beta.2-1.0.0-beta.11] tests/test_compare.py::test_should_get_less[1.0.0-beta.11-1.0.0-rc.1] tests/test_compare.py::test_should_get_less[1.0.0-rc.1-1.0.0] /build/source/tests/test_compare.py:21: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == -1 tests/test_compare.py::test_should_get_greater[2.0.0-1.0.0] tests/test_compare.py::test_should_get_greater[1.0.0-alpha.1-1.0.0-alpha] tests/test_compare.py::test_should_get_greater[1.0.0-alpha.beta-1.0.0-alpha.1] tests/test_compare.py::test_should_get_greater[1.0.0-beta-1.0.0-alpha.beta] tests/test_compare.py::test_should_get_greater[1.0.0-beta.2-1.0.0-beta] tests/test_compare.py::test_should_get_greater[1.0.0-beta.11-1.0.0-beta.2] tests/test_compare.py::test_should_get_greater[1.0.0-rc.1-1.0.0-beta.11] tests/test_compare.py::test_should_get_greater[1.0.0-1.0.0-rc.1] /build/source/tests/test_compare.py:38: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == 1 tests/test_compare.py::test_should_raise_value_error_for_invalid_value[foo-bar] tests/test_compare.py::test_should_raise_value_error_for_invalid_value[1.0-1.0.0] tests/test_compare.py::test_should_raise_value_error_for_invalid_value[1.x-1.0.0] /build/source/tests/test_compare.py:46: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. compare(left, right) tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison /build/source/tests/test_compare.py:69: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. compare(low_version, high_version) == -1 tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison tests/test_compare.py::test_should_follow_specification_comparison /build/source/tests/test_compare.py:72: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. compare(high_version, low_version) == 1 tests/test_compare.py::test_should_compare_rc_builds[1.0.0-beta.2-1.0.0-beta.11] /build/source/tests/test_compare.py:78: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == -1 tests/test_compare.py::test_should_compare_release_candidate_with_release[1.0.0-rc.1-1.0.0] tests/test_compare.py::test_should_compare_release_candidate_with_release[1.0.0-rc.1+build.1-1.0.0] /build/source/tests/test_compare.py:85: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == -1 tests/test_compare.py::test_should_say_equal_versions_are_equal[2.0.0-2.0.0] tests/test_compare.py::test_should_say_equal_versions_are_equal[1.1.9-rc.1-1.1.9-rc.1] tests/test_compare.py::test_should_say_equal_versions_are_equal[1.1.9+build.1-1.1.9+build.1] tests/test_compare.py::test_should_say_equal_versions_are_equal[1.1.9-rc.1+build.1-1.1.9-rc.1+build.1] /build/source/tests/test_compare.py:98: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == 0 tests/test_compare.py::test_should_compare_versions_with_build_and_release[1.1.9-rc.1-1.1.9-rc.1+build.1-0] tests/test_compare.py::test_should_compare_versions_with_build_and_release[1.1.9-rc.1-1.1.9+build.1--1] /build/source/tests/test_compare.py:106: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == expected tests/test_compare.py::test_should_ignore_builds_on_compare[1.0.0+build.1-1.0.0-0] tests/test_compare.py::test_should_ignore_builds_on_compare[1.0.0-alpha.1+build.1-1.0.0-alpha.1-0] tests/test_compare.py::test_should_ignore_builds_on_compare[1.0.0+build.1-1.0.0-alpha.1-1] tests/test_compare.py::test_should_ignore_builds_on_compare[1.0.0+build.1-1.0.0-alpha.1+build.1-1] /build/source/tests/test_compare.py:119: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare(left, right) == expected tests/test_compare.py::test_should_get_more_rc1 /build/source/tests/test_compare.py:123: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare("1.0.0-rc1", "1.0.0-rc0") == 1 tests/test_compare.py::test_should_compare_prerelease_with_numbers_and_letters /build/source/tests/test_compare.py:130: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. assert compare("1.9.1-1unms", "1.9.1+1") == -1 tests/test_compare.py::test_should_not_allow_to_compare_version_with_int /build/source/tests/test_compare.py:295: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. semver.compare(1) tests/test_typeerror-274.py::test_should_work_with_string_and_bytes /build/source/tests/test_typeerror-274.py:6: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. result = semver.compare("1.1.0", b"1.2.2") tests/test_typeerror-274.py::test_should_work_with_string_and_bytes /build/source/tests/test_typeerror-274.py:8: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. result = semver.compare(b"1.1.0", "1.2.2") docs/usage/compare-versions.rst::compare-versions.rst :1: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. docs/usage/compare-versions.rst::compare-versions.rst :1: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. docs/usage/compare-versions.rst::compare-versions.rst :1: PendingDeprecationWarning: Function 'semver.compare' is deprecated. Deprecated since version 3.0.0. Still under investigation, see #258. Use the respective 'semver.Version.compare' instead. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================= 350 passed, 52 warnings in 3.98s ======================= Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase