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

deprecation warning for editable install mode #1110

Open
2 tasks done
MaxBetzDLR opened this issue Aug 16, 2024 · 1 comment · May be fixed by #1111
Open
2 tasks done

deprecation warning for editable install mode #1110

MaxBetzDLR opened this issue Aug 16, 2024 · 1 comment · May be fixed by #1111
Assignees
Labels
class::bug Bugs found in the software loc::python interface This issue concerns the python interface to the backend implementation.

Comments

@MaxBetzDLR
Copy link
Member

MaxBetzDLR commented Aug 16, 2024

Bug description

When building python in editable mode a deprecation warning occurs.

Version

Linux

To reproduce

  1. go to any python package
  2. 'pip install -e .'

Relevant log output

DEPRECATION: Legacy editable install of memilio-simulation==1.0.0 from file:///home/betz_mx/Project_Memilio/memilio/pycode/memilio-simulation (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

Add any relevant information, e.g. used compiler, screenshots.

No response

Checklist

  • Attached labels, especially loc:: or model:: labels.
  • Linked to project
@MaxBetzDLR MaxBetzDLR added class::bug Bugs found in the software loc::python interface This issue concerns the python interface to the backend implementation. labels Aug 16, 2024
@patricklnz patricklnz self-assigned this Aug 16, 2024
@patricklnz
Copy link
Member

We should replace our setup.py with a pyproject.toml file (or at least add one).
https://packaging.python.org/en/latest/guides/modernize-setup-py-project/

@patricklnz patricklnz linked a pull request Aug 19, 2024 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
class::bug Bugs found in the software loc::python interface This issue concerns the python interface to the backend implementation.
Projects
Status: Product Backlog
Development

Successfully merging a pull request may close this issue.

2 participants