You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Clone the qiskit-metal repository to a local folder
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
The text was updated successfully, but these errors were encountered:
Let’s see if we have addressed this in pull request #1002, any help is appreciated Sent from my iPhoneOn Jan 29, 2025, at 2:20 PM, Sam Wolski ***@***.***> wrote:
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 pypa/pip#11457
Steps to reproduce the problem
Clone the qiskit-metal repository to a local folder
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
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
Information
What is the current behavior?
Attempting to perform an editable pip install from a local file results in a deprecation warning from pip/setuptools.
Steps to reproduce the problem
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
The text was updated successfully, but these errors were encountered: