python3.13-semver-3.0.4
checks.x86_64-linux.pre-commit
· build #764
· raw
1Sourcing python-remove-tests-dir-hook2Sourcing python-catch-conflicts-hook.sh3Sourcing python-remove-bin-bytecode-hook.sh4Sourcing pypa-build-hook5Using pypaBuildPhase6Sourcing python-runtime-deps-check-hook7Using pythonRuntimeDepsCheckHook8Sourcing pypa-install-hook9Using pypaInstallPhase10Sourcing python-imports-check-hook.sh11Using pythonImportsCheckPhase12Sourcing python-namespaces-hook13Sourcing python-catch-conflicts-hook.sh14Sourcing pytest-check-hook15Using pytestCheckPhase
unpackPhase
16unpacking source archive /nix/store/bz86p9d2nysivq7lnd6ddlbcrkmy6myc-source17source root is source18setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/uv.lock"configurePhase
19no configure script, doing nothingbuildPhase
20Executing pypaBuildPhase21Setting SETUPTOOLS_SCM_PRETEND_VERSION to 3.0.422Including all tracked files automatically23Creating a wheel...24pypa build flags: --no-isolation --outdir dist/ --wheel25* Getting build dependencies for wheel...26/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 deprecated27!!2829 ********************************************************************************30 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).3132 This deprecation is overdue, please update your project and remove deprecated33 calls to avoid build errors in the future.3435 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.36 ********************************************************************************3738!!39 corresp(dist, value, root_dir)40/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.41!!4243 ********************************************************************************44 Please consider removing the following classifiers in favor of a SPDX license expression:4546 License :: OSI Approved :: BSD License4748 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.49 ********************************************************************************5051!!52 dist._finalize_license_expression()53/nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.54!!5556 ********************************************************************************57 Please consider removing the following classifiers in favor of a SPDX license expression:5859 License :: OSI Approved :: BSD License6061 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.62 ********************************************************************************6364!!65 self._finalize_license_expression()66running egg_info67creating src/semver.egg-info68writing src/semver.egg-info/PKG-INFO69writing dependency_links to src/semver.egg-info/dependency_links.txt70writing entry points to src/semver.egg-info/entry_points.txt71writing top-level names to src/semver.egg-info/top_level.txt72writing manifest file 'src/semver.egg-info/SOURCES.txt'73reading manifest file 'src/semver.egg-info/SOURCES.txt'74reading manifest template 'MANIFEST.in'75no previously-included directories found matching 'docs/_build'76no previously-included directories found matching 'docs/**/__pycache__'77warning: no previously-included files matching '__pycache__' found anywhere in distribution78adding license file 'LICENSE.txt'79writing manifest file 'src/semver.egg-info/SOURCES.txt'80* Building wheel...81/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 deprecated82!!8384 ********************************************************************************85 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).8687 This deprecation is overdue, please update your project and remove deprecated88 calls to avoid build errors in the future.8990 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.91 ********************************************************************************9293!!94 corresp(dist, value, root_dir)95/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.96!!9798 ********************************************************************************99 Please consider removing the following classifiers in favor of a SPDX license expression:100101 License :: OSI Approved :: BSD License102103 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.104 ********************************************************************************105106!!107 dist._finalize_license_expression()108/nix/store/5ipvqipbr52zh1mh0jq7agixgd4c4432-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.109!!110111 ********************************************************************************112 Please consider removing the following classifiers in favor of a SPDX license expression:113114 License :: OSI Approved :: BSD License115116 See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.117 ********************************************************************************118119!!120 self._finalize_license_expression()121running bdist_wheel122running build123running build_py124creating build/lib/semver125copying src/semver/__init__.py -> build/lib/semver126copying src/semver/_types.py -> build/lib/semver127copying src/semver/version.py -> build/lib/semver128copying src/semver/_deprecated.py -> build/lib/semver129copying src/semver/__about__.py -> build/lib/semver130copying src/semver/__main__.py -> build/lib/semver131copying src/semver/cli.py -> build/lib/semver132running egg_info133writing src/semver.egg-info/PKG-INFO134writing dependency_links to src/semver.egg-info/dependency_links.txt135writing entry points to src/semver.egg-info/entry_points.txt136writing top-level names to src/semver.egg-info/top_level.txt137reading manifest file 'src/semver.egg-info/SOURCES.txt'138reading manifest template 'MANIFEST.in'139no previously-included directories found matching 'docs/_build'140no previously-included directories found matching 'docs/**/__pycache__'141warning: no previously-included files matching '__pycache__' found anywhere in distribution142adding license file 'LICENSE.txt'143writing manifest file 'src/semver.egg-info/SOURCES.txt'144copying src/semver/py.typed -> build/lib/semver145installing to build/bdist.linux-x86_64/wheel146running install147running install_lib148creating build/bdist.linux-x86_64/wheel149creating build/bdist.linux-x86_64/wheel/semver150copying build/lib/semver/__init__.py -> build/bdist.linux-x86_64/wheel/./semver151copying build/lib/semver/_types.py -> build/bdist.linux-x86_64/wheel/./semver152copying build/lib/semver/version.py -> build/bdist.linux-x86_64/wheel/./semver153copying build/lib/semver/py.typed -> build/bdist.linux-x86_64/wheel/./semver154copying build/lib/semver/_deprecated.py -> build/bdist.linux-x86_64/wheel/./semver155copying build/lib/semver/__about__.py -> build/bdist.linux-x86_64/wheel/./semver156copying build/lib/semver/__main__.py -> build/bdist.linux-x86_64/wheel/./semver157copying build/lib/semver/cli.py -> build/bdist.linux-x86_64/wheel/./semver158running install_egg_info159Copying src/semver.egg-info to build/bdist.linux-x86_64/wheel/./semver-3.0.4-py3.13.egg-info160running install_scripts161creating build/bdist.linux-x86_64/wheel/semver-3.0.4.dist-info/WHEEL162creating '/build/source/dist/.tmp-zm3k2ej1/semver-3.0.4-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it163adding 'semver/__about__.py'164adding 'semver/__init__.py'165adding 'semver/__main__.py'166adding 'semver/_deprecated.py'167adding 'semver/_types.py'168adding 'semver/cli.py'169adding 'semver/py.typed'170adding 'semver/version.py'171adding 'semver-3.0.4.dist-info/licenses/LICENSE.txt'172adding 'semver-3.0.4.dist-info/METADATA'173adding 'semver-3.0.4.dist-info/WHEEL'174adding 'semver-3.0.4.dist-info/entry_points.txt'175adding 'semver-3.0.4.dist-info/top_level.txt'176adding 'semver-3.0.4.dist-info/RECORD'177removing build/bdist.linux-x86_64/wheel178Successfully built semver-3.0.4-py3-none-any.whl179Finished creating a wheel...180Finished executing pypaBuildPhasepythonRuntimeDepsCheckHook
181Executing pythonRuntimeDepsCheck182Checking runtime dependencies for semver-3.0.4-py3-none-any.whl183Finished executing pythonRuntimeDepsCheckinstallPhase
184Executing pypaInstallPhase185Successfully installed semver-3.0.4-py3-none-any.whl186Finished executing pypaInstallPhasepythonOutputDistPhase
187Executing pythonOutputDistPhase188Finished executing pythonOutputDistPhasefixupPhase
189shrinking RPATHs of ELF executables and libraries in /nix/store/19g38qm008p5v4x852g7i7y8sh6dqnf8-python3.13-semver-3.0.4190checking for references to /build/ in /nix/store/19g38qm008p5v4x852g7i7y8sh6dqnf8-python3.13-semver-3.0.4...191patching script interpreter paths in /nix/store/19g38qm008p5v4x852g7i7y8sh6dqnf8-python3.13-semver-3.0.4192stripping (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/bin193shrinking RPATHs of ELF executables and libraries in /nix/store/w609kyv1fpf48sxibfds6pdla94gdksy-python3.13-semver-3.0.4-dist194checking for references to /build/ in /nix/store/w609kyv1fpf48sxibfds6pdla94gdksy-python3.13-semver-3.0.4-dist...195patching script interpreter paths in /nix/store/w609kyv1fpf48sxibfds6pdla94gdksy-python3.13-semver-3.0.4-dist196Rewriting #!/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11/bin/python3.13 to #!/nix/store/hbx47g0ga6z3vw7nin4ghd6v741zbafa-python3-3.13.11197wrapping `/nix/store/19g38qm008p5v4x852g7i7y8sh6dqnf8-python3.13-semver-3.0.4/bin/pysemver'...198Executing pythonRemoveTestsDir199Finished executing pythonRemoveTestsDirinstallCheckPhase
200no Makefile or custom installCheckPhase, doing nothingpythonImportsCheckPhase
201Executing pythonImportsCheckPhase202Check whether the following modules can be imported: semverpytestCheckPhase
203Executing pytestCheckPhase204pytest flags: -m pytest205============================= test session starts ==============================206platform linux -- Python 3.13.11, pytest-8.4.2, pluggy-1.6.0207rootdir: /build/source208configfile: .pytest.ini209testpaths: tests, docs210plugins: cov-nixpkgs-stub-1.0.0211collected 350 items 212213tests/test_bump.py ........................ [ 6%]214tests/test_compare.py .................................................. [ 21%]215..... [ 22%]216tests/test_deprecated_functions.py ..................... [ 28%]217tests/test_docstrings.py ..................... [ 34%]218tests/test_format.py .............. [ 38%]219tests/test_immutable.py ...... [ 40%]220tests/test_index.py ............................................ [ 52%]221tests/test_match.py ................... [ 58%]222tests/test_max-min.py ........... [ 61%]223tests/test_parsing.py .................................. [ 71%]224tests/test_pysemver-cli.py ........................... [ 78%]225tests/test_replace.py ................. [ 83%]226tests/test_semver.py ............................... [ 92%]227tests/test_subclass.py ... [ 93%]228tests/test_typeerror-274.py .. [ 94%]229docs/advanced/convert-pypi-to-semver.rst . [ 94%]230docs/advanced/create-subclasses-from-version.rst . [ 94%]231docs/advanced/deal-with-invalid-versions.rst . [ 94%]232docs/contribute/doc-semver.rst . [ 95%]233docs/migration/replace-deprecated-functions.rst . [ 95%]234docs/usage/access-parts-of-a-version.rst . [ 95%]235docs/usage/access-parts-through-index.rst . [ 96%]236docs/usage/check-compatible-semver-version.rst . [ 96%]237docs/usage/check-valid-semver-version.rst . [ 96%]238docs/usage/compare-versions-through-expression.rst . [ 96%]239docs/usage/compare-versions.rst . [ 97%]240docs/usage/convert-version-into-different-types.rst . [ 97%]241docs/usage/create-a-version.rst . [ 97%]242docs/usage/determine-version-equality.rst . [ 98%]243docs/usage/get-min-and-max-of-multiple-versions.rst . [ 98%]244docs/usage/increase-parts-of-a-version_prereleases.rst . [ 98%]245docs/usage/parse-version-string.rst . [ 98%]246docs/usage/raise-parts-of-a-version.rst . [ 99%]247docs/usage/replace-parts-of-a-version.rst . [ 99%]248docs/usage/semver-version.rst . [ 99%]249docs/usage/semver_org-version.rst . [100%]250251=============================== warnings summary ===============================252tests/test_compare.py::test_should_get_less[1.0.0-2.0.0]253tests/test_compare.py::test_should_get_less[1.0.0-alpha-1.0.0-alpha.1]254tests/test_compare.py::test_should_get_less[1.0.0-alpha.1-1.0.0-alpha.beta]255tests/test_compare.py::test_should_get_less[1.0.0-alpha.beta-1.0.0-beta]256tests/test_compare.py::test_should_get_less[1.0.0-beta-1.0.0-beta.2]257tests/test_compare.py::test_should_get_less[1.0.0-beta.2-1.0.0-beta.11]258tests/test_compare.py::test_should_get_less[1.0.0-beta.11-1.0.0-rc.1]259tests/test_compare.py::test_should_get_less[1.0.0-rc.1-1.0.0]260 /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.261 assert compare(left, right) == -1262263tests/test_compare.py::test_should_get_greater[2.0.0-1.0.0]264tests/test_compare.py::test_should_get_greater[1.0.0-alpha.1-1.0.0-alpha]265tests/test_compare.py::test_should_get_greater[1.0.0-alpha.beta-1.0.0-alpha.1]266tests/test_compare.py::test_should_get_greater[1.0.0-beta-1.0.0-alpha.beta]267tests/test_compare.py::test_should_get_greater[1.0.0-beta.2-1.0.0-beta]268tests/test_compare.py::test_should_get_greater[1.0.0-beta.11-1.0.0-beta.2]269tests/test_compare.py::test_should_get_greater[1.0.0-rc.1-1.0.0-beta.11]270tests/test_compare.py::test_should_get_greater[1.0.0-1.0.0-rc.1]271 /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.272 assert compare(left, right) == 1273274tests/test_compare.py::test_should_raise_value_error_for_invalid_value[foo-bar]275tests/test_compare.py::test_should_raise_value_error_for_invalid_value[1.0-1.0.0]276tests/test_compare.py::test_should_raise_value_error_for_invalid_value[1.x-1.0.0]277 /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.278 compare(left, right)279280tests/test_compare.py::test_should_follow_specification_comparison281tests/test_compare.py::test_should_follow_specification_comparison282tests/test_compare.py::test_should_follow_specification_comparison283tests/test_compare.py::test_should_follow_specification_comparison284tests/test_compare.py::test_should_follow_specification_comparison285tests/test_compare.py::test_should_follow_specification_comparison286 /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.287 compare(low_version, high_version) == -1288289tests/test_compare.py::test_should_follow_specification_comparison290tests/test_compare.py::test_should_follow_specification_comparison291tests/test_compare.py::test_should_follow_specification_comparison292tests/test_compare.py::test_should_follow_specification_comparison293tests/test_compare.py::test_should_follow_specification_comparison294tests/test_compare.py::test_should_follow_specification_comparison295 /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.296 compare(high_version, low_version) == 1297298tests/test_compare.py::test_should_compare_rc_builds[1.0.0-beta.2-1.0.0-beta.11]299 /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.300 assert compare(left, right) == -1301302tests/test_compare.py::test_should_compare_release_candidate_with_release[1.0.0-rc.1-1.0.0]303tests/test_compare.py::test_should_compare_release_candidate_with_release[1.0.0-rc.1+build.1-1.0.0]304 /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.305 assert compare(left, right) == -1306307tests/test_compare.py::test_should_say_equal_versions_are_equal[2.0.0-2.0.0]308tests/test_compare.py::test_should_say_equal_versions_are_equal[1.1.9-rc.1-1.1.9-rc.1]309tests/test_compare.py::test_should_say_equal_versions_are_equal[1.1.9+build.1-1.1.9+build.1]310tests/test_compare.py::test_should_say_equal_versions_are_equal[1.1.9-rc.1+build.1-1.1.9-rc.1+build.1]311 /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.312 assert compare(left, right) == 0313314tests/test_compare.py::test_should_compare_versions_with_build_and_release[1.1.9-rc.1-1.1.9-rc.1+build.1-0]315tests/test_compare.py::test_should_compare_versions_with_build_and_release[1.1.9-rc.1-1.1.9+build.1--1]316 /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.317 assert compare(left, right) == expected318319tests/test_compare.py::test_should_ignore_builds_on_compare[1.0.0+build.1-1.0.0-0]320tests/test_compare.py::test_should_ignore_builds_on_compare[1.0.0-alpha.1+build.1-1.0.0-alpha.1-0]321tests/test_compare.py::test_should_ignore_builds_on_compare[1.0.0+build.1-1.0.0-alpha.1-1]322tests/test_compare.py::test_should_ignore_builds_on_compare[1.0.0+build.1-1.0.0-alpha.1+build.1-1]323 /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.324 assert compare(left, right) == expected325326tests/test_compare.py::test_should_get_more_rc1327 /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.328 assert compare("1.0.0-rc1", "1.0.0-rc0") == 1329330tests/test_compare.py::test_should_compare_prerelease_with_numbers_and_letters331 /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.332 assert compare("1.9.1-1unms", "1.9.1+1") == -1333334tests/test_compare.py::test_should_not_allow_to_compare_version_with_int335 /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.336 semver.compare(1)337338tests/test_typeerror-274.py::test_should_work_with_string_and_bytes339 /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.340 result = semver.compare("1.1.0", b"1.2.2")341342tests/test_typeerror-274.py::test_should_work_with_string_and_bytes343 /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.344 result = semver.compare(b"1.1.0", "1.2.2")345346docs/usage/compare-versions.rst::compare-versions.rst347 <doctest compare-versions.rst[0]>: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.348349docs/usage/compare-versions.rst::compare-versions.rst350 <doctest compare-versions.rst[1]>: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.351352docs/usage/compare-versions.rst::compare-versions.rst353 <doctest compare-versions.rst[2]>: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.354355-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html356======================= 350 passed, 52 warnings in 3.98s =======================357Finished executing pytestCheckPhase