============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON) cachedir: .pytest_cache rootdir: $(@D) configfile: pyproject.toml collecting ... collected 91 items tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__returns_tag_if_method_unspecified[git] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__returns_tag_if_method_unspecified[hg] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__adds_details_if_project_is_dirty[git] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__adds_details_if_project_is_dirty[hg] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__returns_version_if_tag_has_v[git] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__returns_version_if_tag_has_v[hg] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__returns_default_if_tag_cannot_be_parsed[git] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__returns_default_if_tag_cannot_be_parsed[hg] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__tag_regex[git] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__tag_regex[hg] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__selects_by_tag_filter_on_same_commit[git-0] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__selects_by_tag_filter_on_same_commit[git-1] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__selects_by_tag_filter_on_same_commit[hg-0] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__selects_by_tag_filter_on_same_commit[hg-1] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__selects_by_tag_filter_on_different_commits[git-0] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__selects_by_tag_filter_on_different_commits[git-1] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__selects_by_tag_filter_on_different_commits[hg-0] PASSED tests/pdm/backend/hooks/version/test_scm.py::test__get_version_from_scm__selects_by_tag_filter_on_different_commits[hg-1] PASSED tests/pdm/backend/hooks/version/test_scm.py::test_default_version_formatter_distance[None-1.0.0] PASSED tests/pdm/backend/hooks/version/test_scm.py::test_default_version_formatter_distance[1-1.0.1.dev1+g1234567] PASSED tests/pdm/backend/hooks/version/test_scm.py::test_default_version_formatter_dirty[None-1.0.0+d$(DATE)] PASSED tests/pdm/backend/hooks/version/test_scm.py::test_default_version_formatter_dirty[1-1.0.1.dev1+g1234567.d$(DATE)] PASSED tests/test_api.py::test_build_single_module[demo-module] PASSED tests/test_api.py::test_build_single_module_with_build_number[demo-module] PASSED tests/test_api.py::test_build_single_module_without_build_number[demo-module] PASSED tests/test_api.py::test_build_package[demo-package] PASSED tests/test_api.py::test_build_src_package[demo-src-package] PASSED tests/test_api.py::test_build_package_include[demo-package-include] PASSED tests/test_api.py::test_build_package_data_relative[demo-package-include] PASSED tests/test_api.py::test_namespace_package_by_include[demo-pep420-package] PASSED tests/test_api.py::test_build_explicit_package_dir[demo-explicit-package-dir] PASSED tests/test_api.py::test_demo_metadata_test__sdist__pkg_info[demo-metadata-test] PASSED tests/test_api.py::test_prepare_metadata[demo-package] PASSED tests/test_api.py::test_build_wheel_metadata_identical[demo-package] PASSED tests/test_api.py::test_build_package_with_modules_in_src[demo-src-pymodule] PASSED tests/test_api.py::test_build_with_cextension[demo-cextension] PASSED tests/test_api.py::test_build_with_cextension_in_src[demo-cextension-in-src] PASSED tests/test_api.py::test_build_editable[demo-package] PASSED tests/test_api.py::test_build_editable_src[demo-src-package-include] PASSED tests/test_api.py::test_build_editable_pep420[demo-pep420-package] PASSED tests/test_api.py::test_prepare_metadata_for_editable[demo-package] PASSED tests/test_api.py::test_build_purelib_project_with_build[demo-purelib-with-build] PASSED tests/test_api.py::test_build_wheel_preserve_permission[demo-package] PASSED tests/test_api.py::test_build_wheel_write_version_to_file[demo-using-scm] PASSED tests/test_api.py::test_build_wheel_write_version_to_file_template[demo-using-scm] PASSED tests/test_api.py::test_override_scm_version_via_env_var[demo-using-scm] PASSED tests/test_api.py::test_build_wheel_custom_version_format[demo-using-scm] PASSED tests/test_api.py::test_get_version_from_call[demo-using-scm-get_version:run] PASSED tests/test_api.py::test_get_version_from_call[demo-using-scm-get_version:run()] PASSED tests/test_api.py::test_clean_not_called_if_envset[demo-using-scm-true-False] PASSED tests/test_api.py::test_clean_not_called_if_envset[demo-using-scm-false-True] PASSED tests/test_api.py::test_clean_not_called_if_envset[demo-using-scm-0-True] PASSED tests/test_api.py::test_clean_not_called_if_envset[demo-using-scm-1-False] PASSED tests/test_api.py::test_clean_not_called_if_config_settings_exist[demo-using-scm--False] PASSED tests/test_api.py::test_clean_not_called_if_config_settings_exist[demo-using-scm-True-False] PASSED tests/test_api.py::test_clean_not_called_if_config_settings_exist[demo-using-scm-None-False] PASSED tests/test_api.py::test_build_wheel_with_license_file[demo-licenses] PASSED tests/test_file_finder.py::test_auto_include_tests_for_sdist[WheelBuilder] PASSED tests/test_file_finder.py::test_auto_include_tests_for_sdist[SdistBuilder] PASSED tests/test_file_finder.py::test_is_same_or_descendant_path[a/b-a-True] PASSED tests/test_file_finder.py::test_is_same_or_descendant_path[a/b/c-a/b/c-True] PASSED tests/test_file_finder.py::test_is_same_or_descendant_path[b/c-a-False] PASSED tests/test_file_finder.py::test_is_same_or_descendant_path[a-a/b-False] PASSED tests/test_file_finder.py::test_is_same_or_descendant_path[a-b/c-False] PASSED tests/test_file_finder.py::test_recursive_glob_patterns_in_includes[WheelBuilder] PASSED tests/test_file_finder.py::test_recursive_glob_patterns_in_includes[SdistBuilder] PASSED tests/test_file_finder.py::test_merge_includes_and_excludes[includes0-excludes0-False-True] PASSED tests/test_file_finder.py::test_merge_includes_and_excludes[includes1-excludes1-True-False] PASSED tests/test_file_finder.py::test_merge_includes_and_excludes[includes2-excludes2-False-True] PASSED tests/test_file_finder.py::test_merge_includes_and_excludes[includes3-excludes3-True-False] PASSED tests/test_file_finder.py::test_merge_includes_and_excludes[includes4-excludes4-False-False] PASSED tests/test_file_finder.py::test_license_file_matching PASSED tests/test_file_finder.py::test_license_file_glob_matching PASSED tests/test_file_finder.py::test_default_license_files PASSED tests/test_file_finder.py::test_license_file_paths_no_matching PASSED tests/test_file_finder.py::test_license_file_explicit_empty PASSED tests/test_file_finder.py::test_collect_build_files_with_src_layout PASSED tests/test_hooks.py::test_load_hooks PASSED tests/test_metadata.py::test_parse_module PASSED tests/test_metadata.py::test_parse_package PASSED tests/test_metadata.py::test_parse_error_package PASSED tests/test_metadata.py::test_parse_src_package PASSED tests/test_metadata.py::test_parse_pep420_namespace_package PASSED tests/test_metadata.py::test_explicit_package_dir PASSED tests/test_metadata.py::test_implicit_namespace_package PASSED tests/test_metadata.py::test_src_dir_containing_modules PASSED tests/test_utils.py::test_expand_vars_posix PASSED tests/test_utils.py::test_expand_vars_win SKIPPED (Windows path) tests/test_wheel.py::test_override_tags_in_wheel_filename[cp36-abi3-win_amd64-cp36-abi3-win_amd64] PASSED tests/test_wheel.py::test_override_tags_in_wheel_filename[py3-none-win_amd64-py3-none-win_amd64] PASSED tests/test_wheel.py::test_dist_info_name_with_no_version PASSED ======== 90 passed, 1 skipped ========