python3Packages.qiskit-ignis: drop
The project has been deprecated upstream.
This commit is contained in:
@@ -1,76 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
pythonOlder,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
numpy,
|
||||
qiskit-terra,
|
||||
scikit-learn,
|
||||
scipy,
|
||||
# Optional package inputs
|
||||
withVisualization ? false,
|
||||
matplotlib,
|
||||
withCvx ? false,
|
||||
cvxpy,
|
||||
withJit ? false,
|
||||
numba,
|
||||
# Check Inputs
|
||||
pytestCheckHook,
|
||||
ddt,
|
||||
pyfakefs,
|
||||
qiskit-aer,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "qiskit-ignis";
|
||||
version = "0.7.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
# Pypi's tarball doesn't contain tests
|
||||
src = fetchFromGitHub {
|
||||
owner = "Qiskit";
|
||||
repo = "qiskit-ignis";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-WyLNtZhtuGzqCJdOBvtBjZZiGFQihpeSjJQtP7lI248=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
qiskit-terra
|
||||
scikit-learn
|
||||
scipy
|
||||
]
|
||||
++ lib.optionals withCvx [ cvxpy ]
|
||||
++ lib.optionals withVisualization [ matplotlib ]
|
||||
++ lib.optionals withJit [ numba ];
|
||||
|
||||
# Tests
|
||||
pythonImportsCheck = [ "qiskit.ignis" ];
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
'';
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
ddt
|
||||
pyfakefs
|
||||
qiskit-aer
|
||||
];
|
||||
disabledTests = [
|
||||
"test_tensored_meas_cal_on_circuit" # Flaky test, occasionally returns result outside bounds
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isAarch64 [
|
||||
"test_fitters" # Fails check that arrays are close. Might be due to aarch64 math issues.
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Qiskit tools for quantum hardware verification, noise characterization, and error correction";
|
||||
homepage = "https://qiskit.org/ignis";
|
||||
downloadPage = "https://github.com/QISKit/qiskit-ignis/releases";
|
||||
changelog = "https://qiskit.org/documentation/release_notes.html";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -396,6 +396,7 @@ mapAliases {
|
||||
PyVirtualDisplay = throw "'PyVirtualDisplay' has been renamed to/replaced by 'pyvirtualdisplay'"; # Converted to throw 2025-10-29
|
||||
pyvoro = throw "pyvoro has been removed because it is unmaintained upstream and has been marked as broken since 2023."; # Added 2025-10-11
|
||||
qds_sdk = throw "'qds_sdk' has been renamed to/replaced by 'qds-sdk'"; # Converted to throw 2025-10-29
|
||||
qiskit-ignis = throw "qiskit-ignis has been removed, since it was deprecated upstream"; # added 2025-09-13
|
||||
Quandl = throw "'Quandl' has been renamed to/replaced by 'quandl'"; # Converted to throw 2025-10-29
|
||||
querystring_parser = throw "'querystring_parser' has been renamed to/replaced by 'querystring-parser'"; # Converted to throw 2025-10-29
|
||||
radian = throw "radian has been promoted to a top-level attribute name: `pkgs.radian`"; # added 2025-05-02
|
||||
|
||||
@@ -15805,8 +15805,6 @@ self: super: with self; {
|
||||
|
||||
qiskit-ibmq-provider = callPackage ../development/python-modules/qiskit-ibmq-provider { };
|
||||
|
||||
qiskit-ignis = callPackage ../development/python-modules/qiskit-ignis { };
|
||||
|
||||
qiskit-machine-learning = callPackage ../development/python-modules/qiskit-machine-learning { };
|
||||
|
||||
qiskit-nature = callPackage ../development/python-modules/qiskit-nature { };
|
||||
|
||||
Reference in New Issue
Block a user