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

Legacy editable install deprecation #1014

Open
SamWolski opened this issue Jan 29, 2025 · 2 comments
Open

Legacy editable install deprecation #1014

SamWolski opened this issue Jan 29, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@SamWolski
Copy link

Information

  • Qiskit Metal version: 0.1.5
  • Python version: 3.10.16
  • Operating system: macOS Sequoia 15.3

What is the current behavior?

Attempting to perform an editable pip install from a local file results in a deprecation warning from pip/setuptools.

DEPRECATION: Legacy editable install of qiskit_metal==0.1.5 from file://<...>/qiskit-metal (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

Steps to reproduce the problem

  1. Clone the qiskit-metal repository to a local folder
  2. Attempt to install using pip install -e <path-to-repo>

What is the expected behavior?

Setup definitions for the qiskit-metal package should not trigger the deprecation warning.

Suggested solutions

Define package setup using pyproject.toml instead of setup.py

@SamWolski SamWolski added the bug Something isn't working label Jan 29, 2025
@zlatko-minev
Copy link
Collaborator

zlatko-minev commented Jan 31, 2025 via email

@SamWolski
Copy link
Author

It is not currently addressed; the same message pops up on the PR fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants