#1134304 - pdm: FTBFS: AttributeError: 'str' object has no attribute 'chmod' (original) (raw)

version graph

Reported by: Santiago Vila sanvila@debian.org

Date: Sat, 18 Apr 2026 17:33:25 UTC

Severity: serious

Tags: forky, ftbfs, sid

Found in version pdm/2.26.6-1

Fixed in version pdm/2.27.0-1

Done: Colin Watson cjwatson@debian.org

Reply or subscribe to this bug.

Display info messages


Report forwardedto debian-bugs-dist@lists.debian.org, Debian Python Team <team+python@tracker.debian.org> (src:pdm for {1134304}), sanvila@debian.org (additional cc recipient for {1134304}):
Bug#1134304; Package src:pdm. (Sat, 18 Apr 2026 17:33:25 GMT) (full text, mbox, link).


Acknowledgement sentto Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, team+python@tracker.debian.org. (Sat, 18 Apr 2026 17:33:25 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

Package: src:pdm Version: 2.26.6-1 Severity: serious Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202604/

About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible.

If this is really a bug in one of the build-depends, please use reassign and add an affects on src:pdm, so that this is still visible in the BTS web page for this package.

Thanks.


[...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild pybuild --clean -i python{version} -p 3.13 --parallel=2 rm -rf .pybuild/ find . -name *.pyc -exec rm {} ; dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f -- debian/python3-pdm.substvars debian/files rm -fr -- debian/python3-pdm/ debian/tmp/ find . ( (
( -path .*/.git -o -path .*/.svn -o -path .*/.bzr -o -path .*/.hg -o -path .*/CVS -o -path .*/.pc -o -path .*/_darcs ) -prune -o -type f -a
( -name '##' -o -name '.' -o -name '*' -o -name DEADJOE \

[... snipped ...]

ERROR tests/cli/test_template.py::test_module_project_template_generate_application - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_template.py::test_package_project_template - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_packages_with_top - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_command - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_ignore_constraints - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_all_packages[reuse] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_all_packages[all] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_no_lock - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_dry_run - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_top_packages_dry_run - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_specified_packages - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_specified_packages_eager_mode - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_transitive - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_transitive_nonexistent_dependencies - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_package_wrong_group - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_transitive_non_transitive_dependencies - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_specified_packages_eager_mode_config - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_with_package_and_groups_argument - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_with_prerelease_without_package_argument - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_existing_package_with_prerelease - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_package_with_extras - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_groups_in_lockfile - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_group_not_in_lockfile - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_update.py::test_update_dependency_group_with_include - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_use.py::test_use_command - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_use.py::test_use_python_by_version - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_use.py::test_use_wrapper_python - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_use.py::test_use_invalid_wrapper_python - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_use.py::test_use_remember_last_selection - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_use.py::test_use_venv_python - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_use.py::test_use_auto_install_and_no_auto_install_are_mutual_exclusive - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_create - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_create_in_project - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_create_other_location - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_show_path - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_list - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_remove - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_recreate - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_activate[virtualenv] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_activate[venv] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_activate_tcsh[virtualenv] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_activate_tcsh[venv] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_activate_custom_prompt[virtualenv] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_activate_custom_prompt[venv] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_activate_project_without_python - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_activate_error - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_activate_no_shell[virtualenv] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_activate_no_shell[venv] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_auto_create[True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_auto_create[False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_purge - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_purge_force - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_purge_interactive[virtualenv-none-True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_purge_interactive[virtualenv-0-False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_purge_interactive[virtualenv-all-False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_purge_interactive[venv-none-True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_purge_interactive[venv-0-False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_purge_interactive[venv-all-False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_virtualenv_backend_create[True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_virtualenv_backend_create[False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_backend_create[True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/cli/test_venv.py::test_venv_backend_create[False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/environments/test_environment.py::test_packages_path_compat_suffix_32 - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/environments/test_environment.py::test_local_get_paths_headers_override - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/environments/test_environment.py::test_pip_command_uses_existing_module - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/environments/test_environment.py::test_pip_command_download_fallback - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/environments/test_environment.py::test_pip_command_installed - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/environments/test_environment.py::test_script_kind_posix - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/environments/test_environment.py::test_which_python_variants - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/environments/test_environment.py::test_process_env_includes_scripts_first - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/environments/test_shebangs.py::test_update_shebangs_changes_scripts_header - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/environments/test_shebangs.py::test_update_shebangs_ignores_non_target_files_and_dirs - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_backends.py::test_project_backend[pdm-backend] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_backends.py::test_project_backend[setuptools] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_backends.py::test_project_backend[flit-core] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_backends.py::test_project_backend[hatchling] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_local_directory_metadata[False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_local_directory_metadata[True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_vcs_metadata[False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_vcs_metadata[True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_artifact_metadata[/<>/.pybuild/cpython3_3.13/build/tests/fixtures/artifacts/demo-0.0.1.tar.gz] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_artifact_metadata[/<>/.pybuild/cpython3_3.13/build/tests/fixtures/artifacts/demo-0.0.1-py2.py3-none-any.whl] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_metadata_with_extras - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_remote_link_metadata - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1-py2.py3-none-any.whl] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/projects/demo] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_expand_project_root_in_url[-e ./tests/fixtures/projects/demo] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo#egg=demo] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo#-with-hash#egg=demo] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_project_file_on_build_error - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_project_file_on_build_error_with_extras - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_project_file_on_build_error_no_dep - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_poetry_project_metadata[False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_poetry_project_metadata[True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_flit_project_metadata[False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_flit_project_metadata[True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_vcs_candidate_in_subdirectory[False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_vcs_candidate_in_subdirectory[True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_sdist_candidate_with_wheel_cache - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_cache_vcs_immutable_revision - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_cache_egg_info_sdist - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_invalidate_incompatible_wheel_link - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_legacy_pep345_tag_link - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_ignore_invalid_py_version - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_metadata_from_pep621 - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_parse_metadata_with_dynamic_fields - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/models/test_candidates.py::test_get_metadata_for_non_existing_path - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_named_requirement - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_exclude - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_requires_python - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_allow_prereleases - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_prereleases_if_disabled_by_project - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_with_extras - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_with_extras_and_excludes - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_vcs_and_local_requirements[False-/<>/.pybuild/cpython3_3.13/build/tests/fixtures/projects/demo] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_vcs_and_local_requirementsFalse-git+[https://github.com/test-root/demo.git#egg=demo] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_vcs_and_local_requirements[True-/<>/.pybuild/cpython3_3.13/build/tests/fixtures/projects/demo] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_vcs_and_local_requirementsTrue-git+[https://github.com/test-root/demo.git#egg=demo] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_vcs_without_explicit_name - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_local_and_named_requirement - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolving_auto_avoid_conflicts - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_conflicting_dependencies - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_conflicting_dependencies_with_overrides[2.1] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_conflicting_dependencies_with_overrides[>=1.8] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_conflicting_dependencies_with_overrides[==2.1] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_no_available_versions - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_exclude_incompatible_requirements - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_union_markers_from_different_parents - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_requirements_from_different_groups - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_package_with_dummy_upbound - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_dependency_with_extra_marker - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_circular_dependencies - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_candidates_to_install - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_prefer_requirement_with_prereleases - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_with_python_marker - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_extra_requirements_no_break_constraints - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_extra_and_underlying_to_the_same_version - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_skip_candidate_with_invalid_metadata - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_direct_minimal_versions - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/resolver/test_resolve.py::test_resolve_record_markers - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_convert_pipfile - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_convert_requirements_file[True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_convert_requirements_file[False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_convert_requirements_file_without_name - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_convert_poetry - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_convert_poetry_12 - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_convert_flit - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_convert_error_preserve_metadata - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_import_requirements_with_group - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_export_requirements_with_self - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_export_requirements_with_editable_self - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_keep_env_vars_in_source - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_expand_env_vars_in_source - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_export_find_links - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_export_replace_project_root - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_convert_setup_py_project - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_formats.py::test_convert_poetry_project_with_circular_dependency - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_wheel_with_inconsistent_dist_info[PythonEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_wheel_with_inconsistent_dist_info[PythonLocalEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_with_file_existing[PythonEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_with_file_existing[PythonLocalEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_uninstall_commit_rollback[PythonEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_uninstall_commit_rollback[PythonLocalEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_rollback_after_commit[PythonEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_rollback_after_commit[PythonLocalEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_uninstall_with_console_scripts[PythonEnvironment-False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_uninstall_with_console_scripts[PythonEnvironment-True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_uninstall_with_console_scripts[PythonLocalEnvironment-False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_uninstall_with_console_scripts[PythonLocalEnvironment-True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_wheel_with_cache[PythonEnvironment-symlink] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_wheel_with_cache[PythonEnvironment-hardlink] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_wheel_with_cache[PythonEnvironment-None] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_wheel_with_cache[PythonLocalEnvironment-symlink] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_wheel_with_cache[PythonLocalEnvironment-hardlink] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_wheel_with_cache[PythonLocalEnvironment-None] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_can_install_wheel_with_cache_in_multiple_projects[PythonEnvironment-symlink] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_can_install_wheel_with_cache_in_multiple_projects[PythonEnvironment-hardlink] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_can_install_wheel_with_cache_in_multiple_projects[PythonEnvironment-None] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_can_install_wheel_with_cache_in_multiple_projects[PythonLocalEnvironment-symlink] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_can_install_wheel_with_cache_in_multiple_projects[PythonLocalEnvironment-hardlink] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_can_install_wheel_with_cache_in_multiple_projects[PythonLocalEnvironment-None] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_url_requirement_is_not_cached[PythonEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_url_requirement_is_not_cached[PythonLocalEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_editable_is_not_cached[PythonEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_editable_is_not_cached[PythonLocalEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_wheel_with_data_scripts[PythonEnvironment-False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_wheel_with_data_scripts[PythonEnvironment-True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_wheel_with_data_scripts[PythonLocalEnvironment-False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_install_wheel_with_data_scripts[PythonLocalEnvironment-True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_compress_file_list_for_rename[PythonEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_installer.py::test_compress_file_list_for_rename[PythonLocalEnvironment] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_integration.py::test_use_python_write_file - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_integration.py::test_use_python_write_no_file - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_integration.py::test_actual_list_freeze - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_plugin.py::test_plugin_new_command - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_plugin.py::test_plugin_replace_command - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_plugin.py::test_project_plugin_library - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_plugin.py::test_install_local_plugin_without_name[-e file:///${PROJECT_ROOT}/plugins/test-plugin-pdm] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_plugin.py::test_install_local_plugin_without_name[-e test_plugin_pdm @ file:///${PROJECT_ROOT}/plugins/test-plugin-pdm] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_project_python_with_pyenv_support - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_project_config_items - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_project_config_set_invalid_key - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_project_sources_overriding_pypi - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_project_sources_env_var_expansion - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_project_use_venv - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_project_auto_detect_venv - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_ignore_saved_python - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_select_dependencies - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_invalid_dependency_group - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_set_non_exist_python_path - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_create_venv_first_time[virtualenv] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_create_venv_first_time[venv] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_find_interpreters_from_venv[virtualenv] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_find_interpreters_from_venv[venv] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_find_interpreters_without_duplicate_relative_paths - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_iter_project_venvs - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_load_extra_sources - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_no_index_raise_error - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_access_index_with_auth - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_configured_source_overwriting - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_invoke_pdm_adding_configured_args - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_quiet_mode[True-extra_args0] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_quiet_mode[False-extra_args1] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_ignore_package_warning[foo-True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_ignore_package_warning[bar-False] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_ignore_package_warning[*-True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_ignore_package_warning[f?o-True] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_filter_sources_with_config - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_or_setting[PDM_VAR-var-settings0-from-env] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_or_setting[pdm_var-var-settings1-from-env] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_or_setting[PDM_NOPE-var-settings2-from-settings] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_or_setting[PDM_VAR-var-settings3-from-env] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_or_setting[PDM_NOPE-nested.var-settings4-from-settings] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_or_setting[PDM_NOPE-noop-settings5-None] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[None-None-expected0] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[-None-expected1] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[ -None-expected2] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[None--expected3] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[None- -expected4] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[None-setting5-expected5] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[var-None-expected6] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[val1,val2-None-expected7] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[val1, val2-None-expected8] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[val1, , , val2-None-expected9] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[None-val1,val2-expected10] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[None-setting11-expected11] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[None-setting12-expected12] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[None-setting13-expected13] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[None-setting14-expected14] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_env_setting_list[val1,val2-setting15-expected15] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_project_best_match_max - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_project_best_match_min - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_default_lockfile_format - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_project.py::test_select_lockfile_format - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_signals.py::test_post_init_signal - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_signals.py::test_post_lock_and_install_signals - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_signals.py::test_lock_and_install_signals_injection_with_add - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_signals.py::test_lock_and_install_signals_injection_with_install - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_signals.py::test_lock_signals_injection_with_update - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_utils.py::test_dependency_group_selection[args0-golden0] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_utils.py::test_dependency_group_selection[args1-golden1] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_utils.py::test_dependency_group_selection[args2-golden2] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_utils.py::test_dependency_group_selection[args3-golden3] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_utils.py::test_dependency_group_selection[args4-golden4] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_utils.py::test_dependency_group_selection[args5-golden5] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_utils.py::test_dependency_group_selection[args6-golden6] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_utils.py::test_dependency_group_selection[args7-golden7] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_utils.py::test_exclude_optional_groups_from_all[args0-golden0] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_utils.py::test_exclude_optional_groups_from_all[args1-golden1] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_utils.py::test_exclude_optional_groups_from_all[args2-golden2] - AttributeError: 'str' object has no attribute 'chmod' ERROR tests/test_utils.py::test_prod_should_not_be_with_dev - AttributeError: 'str' object has no attribute 'chmod' ========= 305 passed, 1 skipped, 113 deselected, 650 errors in 11.93s ========== E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -k 'not network and not test_conda_backend_create and not test_resolve_local_artifacts and not test_resolve_two_extras_from_the_same_package and not test_resolve_file_req_with_prerelease and not test_project_packages_path and not test_build_with_no_isolation and not test_find_candidates_from_find_links and not test_session_sources_all_proxy and not test_create_venv_in_project and not test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV and not test_run and not test_use_python_write_file_with_use_python_version and not test_use_python_write_file_without_use_python_version and not test_find_python' rm -fr -- /tmp/dh-xdg-rundir-IUiimP_F dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 --parallel=2 returned exit code 13 make: *** [debian/rules:28: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2


Reply sentto Colin Watson <cjwatson@debian.org>:
You have taken responsibility. (Thu, 28 May 2026 11:43:03 GMT) (full text, mbox, link).


Notification sentto Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Thu, 28 May 2026 11:43:03 GMT) (full text, mbox, link).


Message #10 received at 1134304-close@bugs.debian.org (full text, mbox, reply):

[Message part 1 (text/plain, inline)]

Source: pdm Source-Version: 2.27.0-1 Done: Colin Watson cjwatson@debian.org

We believe that the bug you reported is fixed in the latest version of pdm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is attached.

Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1134304@bugs.debian.org, and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software pp. Colin Watson cjwatson@debian.org (supplier of updated pdm package)

(This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org)

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512

Format: 1.8 Date: Thu, 28 May 2026 12:16:31 +0100 Source: pdm Architecture: source Version: 2.27.0-1 Distribution: unstable Urgency: medium Maintainer: Debian Python Team team+python@tracker.debian.org Changed-By: Colin Watson cjwatson@debian.org Closes: 1134304 Changes: pdm (2.27.0-1) unstable; urgency=medium .

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmoYJGsACgkQOTWH2X2G UAvbOw/+MtSYCDwuqOuUlyLB5oTuCZwnOUUqZ1y9dxCKnCXqPE9+9R8SWds0s3io yV0Al/xopdEYz2C+H66FuiLim8zgWZXptCpEjYIT/RqaHIaRrk9sr6HrKw777liP q8zxka+D+MQBqhQ88niLGgcKu4yzVMNum5RQBY//2QXwWeJsV5UYP0hZjico0s9e 91TIe9FdWSHj/d+XiWvqXCpIYTEauhJXUMHRjfFTVSPSYm4F5Fl/37WHfZEhEYX1 DN7HIpdyEfhtesScDbZQt4gwnfbVfrrYakYNMvGnTdWJXBzKzeFAf5Kz09oxPnWq 1UXJReIUMXeAz4C9hxd0LC8oDAyvfXUdjNIW6VAFMUACtBgELZGerdzp+CXZH95t 99Xod9X7gJah5gp+whKbtP7RsqhNr4t+CyANrQpC3fy/2LLbxzkEmPphCYQfO5xK zEDmmmo5rIpvvj2/4sfh6deLPb5y33/puJ5/5+5C3n8jcyqm8DYPpzFNmNoTcaxC VaQ4HadgIUYHnwTdHqreBEZrj7qCgqWXE5CXv0TwyJFHEcdiYhPrumd5XnyfWCaC 9EtE1gtc0i6uRGPh2WCIgAPvGjngi6WKwsAUctwyChqL4czB1O8yRQMeTD8XVIjc PtkjdxxB/uBb2JKpGum0u3njkuAsynxW/KCNW8UGySoKzuN5VIo= =Q9wf -----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified:Wed Jun 17 17:55:19 2026; Machine Name:buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.