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

Specify and document new method for dev installs #1977

Closed
mikkonie opened this issue Aug 7, 2024 · 1 comment
Closed

Specify and document new method for dev installs #1977

mikkonie opened this issue Aug 7, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation environment Issues of dependencies, CI, deployment etc.
Milestone

Comments

@mikkonie
Copy link
Contributor

mikkonie commented Aug 7, 2024

Looks like the current method of pip -e is deprecated and will be removed:

DEPRECATION: Legacy editable install of django-sodar-core from git+https://github.com/bihealth/sodar-core.git@ba46c14d7cb04188ab69d3bc1936e850806e934b#egg=django-sodar-core (setup.py develop) 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 https://github.com/pypa/pip/issues/11457

See pypa/pip#11457 for more.

@mikkonie mikkonie added documentation Improvements or additions to documentation environment Issues of dependencies, CI, deployment etc. labels Aug 7, 2024
@mikkonie mikkonie added this to the v1.0.0 milestone Aug 7, 2024
@mikkonie
Copy link
Contributor Author

It seems the easiest way to tackle this is to add --use-pep517 to examples where we use editable installs. I added this as a subtask to #1991 as it's too small a change to warrant a separate commit. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation environment Issues of dependencies, CI, deployment etc.
Projects
None yet
Development

No branches or pull requests

1 participant