python312Packages.quil: 0.16.0 -> 0.17.0 (#441627)

dotlambda 4612e92c e27a1a72

Changed files
+8 -58
pkgs
development
python-modules
cirq
cirq-rigetti
quil
top-level
-50
pkgs/development/python-modules/cirq-rigetti/default.nix
···
-
{
-
buildPythonPackage,
-
cirq-core,
-
setuptools,
-
pyquil,
-
qcs-sdk-python,
-
pytestCheckHook,
-
}:
-
-
buildPythonPackage rec {
-
pname = "cirq-rigetti";
-
pyproject = true;
-
inherit (cirq-core) version src;
-
-
sourceRoot = "${src.name}/${pname}";
-
-
pythonRelaxDeps = [
-
"pyquil"
-
"qcs-sdk-python"
-
];
-
-
postPatch = ''
-
# Remove outdated test
-
rm cirq_rigetti/service_test.py
-
'';
-
-
build-system = [ setuptools ];
-
-
dependencies = [
-
cirq-core
-
pyquil
-
qcs-sdk-python
-
];
-
-
nativeCheckInputs = [ pytestCheckHook ];
-
-
disabledTestPaths = [
-
# No need to test the version number
-
"cirq_rigetti/_version_test.py"
-
];
-
-
# cirq's importlib hook doesn't work here
-
#pythonImportsCheck = [ "cirq_rigetti" ];
-
-
meta = {
-
inherit (cirq-core.meta) changelog license maintainers;
-
description = "Cirq package to simulate and connect to Rigetti quantum computers and Quil QVM";
-
homepage = "https://github.com/quantumlib/Cirq/tree/main/cirq-rigetti";
-
};
-
}
-3
pkgs/development/python-modules/cirq/default.nix
···
cirq-google,
cirq-ionq,
cirq-pasqal,
-
cirq-rigetti,
cirq-web,
# tests
···
cirq-google
cirq-ionq
cirq-pasqal
-
cirq-rigetti
cirq-web
];
···
"cirq-google"
"cirq-ionq"
"cirq-pasqal"
-
"cirq-rigetti"
"cirq-web"
"dev_tools"
];
+7 -3
pkgs/development/python-modules/quil/default.nix
···
buildPythonPackage rec {
pname = "quil";
-
version = "0.16.0";
+
version = "0.17.0";
pyproject = true;
# error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
···
owner = "rigetti";
repo = "quil-rs";
tag = "quil-py/v${version}";
-
hash = "sha256-sj+JjE6y+toIjHO1J2g+3gzQMcfSa6zzQeOySATU48w=";
+
hash = "sha256-sQvHar52IFVUM+AssPEtBcSGVEma9e909K/5c8H0WQw=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
-
hash = "sha256-0KZikbCJgg4prR9XxfCJcZOTiV2Hcob2zLurxqCkH6I=";
+
hash = "sha256-3qFrsevaVP2tPf0OV0hW6HhhWsj2BM/2sZUvdq1Aa4k=";
};
buildAndTestSubdir = "quil-py";
···
nativeCheckInputs = [
pytestCheckHook
syrupy
+
];
+
+
pytestFlags = [
+
"quil-py/tests_py"
];
meta = {
+1
pkgs/top-level/python-aliases.nix
···
chia-rs = throw "chia-rs has been removed. see https://github.com/NixOS/nixpkgs/pull/270254"; # added 2023-11-26
class-registry = phx-class-registry; # added 2021-10-05
cirq-ft = throw "cirq-ft is not longer provieded by cirq upstream"; # added 2024-08-31
+
cirq-rigetti = throw "cirq-rigetti was removed because it is no longer provided by upstream"; # added 2025-09-13
ciscoconfparse = throw "ciscoconfparse was archived by upstream, use ciscoconfparse2"; # added 2025-03-08
cld2-cffi = throw "cld2-cffi has been removed, as the last release was in 2016"; # added 2024-05-20
clvm = throw "clvm has been removed. see https://github.com/NixOS/nixpkgs/pull/270254"; # added 2023-11-26
-2
pkgs/top-level/python-packages.nix
···
cirq-pasqal = callPackage ../development/python-modules/cirq-pasqal { };
-
cirq-rigetti = callPackage ../development/python-modules/cirq-rigetti { };
-
cirq-web = callPackage ../development/python-modules/cirq-web { };
ciscoconfparse2 = callPackage ../development/python-modules/ciscoconfparse2 { };