python311Packages.msrest: refactor
- disable failing test on Python 3.12
This commit is contained in:
parent
14f52c5161
commit
284b8139c4
@ -9,16 +9,18 @@
|
||||
, isodate
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, requests
|
||||
, requests-oauthlib
|
||||
, setuptools
|
||||
, trio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "msrest";
|
||||
version = "0.7.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -30,6 +32,10 @@ buildPythonPackage rec {
|
||||
hash = "sha256-1EXXXflhDeU+erdI+NsWxSX76ooDTl3+MyQwRzm2xV0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
azure-core
|
||||
aiodns
|
||||
@ -56,6 +62,12 @@ buildPythonPackage rec {
|
||||
"test_conf_async_requests"
|
||||
"test_conf_async_requests"
|
||||
"test_conf_async_trio_requests"
|
||||
] ++ lib.optionals (pythonAtLeast "3.12") [
|
||||
# AttributeError: 'TestAuthentication' object has no attribute...
|
||||
"test_apikey_auth"
|
||||
"test_cs_auth"
|
||||
"test_eventgrid_auth"
|
||||
"test_eventgrid_domain_auth"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
Loading…
Reference in New Issue
Block a user