Skip to content

Address Deprecation Warning for Legacy Editable Installation of ding0 #404

@khelfen

Description

@khelfen

Description:
During the installation process of ding0, the following deprecation warning is encountered:

DEPRECATION: Legacy editable install of ding0[dev]==0.2.1 from file:../ding0 (setup.py develop) is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457

Proposed Solution:
To address this issue and ensure compatibility with future versions of pip (starting from version 25.1), it is recommended to:

  1. Add a pyproject.toml file to the repository. OR
  2. Enable --use-pep517 and use setuptools >= 64 for editable installations.

References:

This update will ensure the installation process remains functional and aligns with the latest pip standards.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions