Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated Legacy Editable Installation #245

Open
Hespe opened this issue Aug 26, 2024 · 1 comment
Open

Deprecated Legacy Editable Installation #245

Hespe opened this issue Aug 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Hespe
Copy link
Member

Hespe commented Aug 26, 2024

Starting from pip version 25.0, the current package defintion of cheetah will no longer be supported for editable installations. An up-to-date version currently prints the following warning:

Legacy editable install of cheetah-accelerator is deprecated. pip 25.0 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 pypa/pip#11457

See also the mentioned setuptools documentation on editable installs.

@Hespe
Copy link
Member Author

Hespe commented Aug 26, 2024

From the discussion in the linked pip issue, it seems like the intended solution is to migrate to a pyproject.toml based package structure, which will continue to support editable installations.

@desy-ml desy-ml deleted a comment Aug 26, 2024
@Hespe Hespe added the enhancement New feature or request label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant