python311Packages.qcs-api-client: disable tests on Python 3.11
This commit is contained in:
parent
c8e138a344
commit
37e48418ac
1 changed files with 13 additions and 9 deletions
|
@ -10,9 +10,10 @@
|
||||||
, pyjwt
|
, pyjwt
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonRelaxDepsHook
|
|
||||||
, python-dateutil
|
, python-dateutil
|
||||||
|
, pythonAtLeast
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, pythonRelaxDepsHook
|
||||||
, respx
|
, respx
|
||||||
, retrying
|
, retrying
|
||||||
, rfc3339
|
, rfc3339
|
||||||
|
@ -33,6 +34,15 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-GEsCyqawLX6fTICjAOOREsO5FsmV6U/5+sDOW1v+VKE=";
|
hash = "sha256-GEsCyqawLX6fTICjAOOREsO5FsmV6U/5+sDOW1v+VKE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Switch to poetry-core, https://github.com/rigetti/qcs-api-client-python/pull/2
|
||||||
|
(fetchpatch {
|
||||||
|
name = "switch-to-poetry-core.patch";
|
||||||
|
url = "https://github.com/rigetti/qcs-api-client-python/commit/32f0b3c7070a65f4edf5b2552648d88435469e44.patch";
|
||||||
|
hash = "sha256-mOc+Q/5cmwPziojtxeEMWWHSDvqvzZlNRbPtOSeTinQ=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
"attrs"
|
"attrs"
|
||||||
"httpx"
|
"httpx"
|
||||||
|
@ -61,14 +71,8 @@ buildPythonPackage rec {
|
||||||
respx
|
respx
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
# Tests are failing on Python 3.11, Fatal Python error: Aborted
|
||||||
# Switch to poetry-core, https://github.com/rigetti/qcs-api-client-python/pull/2
|
doCheck = !(pythonAtLeast "3.11");
|
||||||
(fetchpatch {
|
|
||||||
name = "switch-to-poetry-core.patch";
|
|
||||||
url = "https://github.com/rigetti/qcs-api-client-python/commit/32f0b3c7070a65f4edf5b2552648d88435469e44.patch";
|
|
||||||
hash = "sha256-mOc+Q/5cmwPziojtxeEMWWHSDvqvzZlNRbPtOSeTinQ=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"qcs_api_client"
|
"qcs_api_client"
|
||||||
|
|
Loading…
Reference in a new issue