Merge pull request #249185 from fabaff/okta-bump
python311Packages.okta: 2.8.0 -> 2.9.2
This commit is contained in:
commit
85db6b3b27
|
@ -1,58 +1,69 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, buildPythonPackage
|
|
||||||
, fetchPypi
|
|
||||||
# install requirements
|
|
||||||
, pycryptodome
|
|
||||||
, yarl
|
|
||||||
, flatdict
|
|
||||||
, python-jose
|
|
||||||
, aenum
|
, aenum
|
||||||
, aiohttp
|
, aiohttp
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, flatdict
|
||||||
|
, pycryptodome
|
||||||
|
, pycryptodomex
|
||||||
, pydash
|
, pydash
|
||||||
, xmltodict
|
, pyfakefs
|
||||||
, pyyaml
|
|
||||||
# test requirements
|
|
||||||
, pytestCheckHook
|
|
||||||
, pytest-recording
|
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pyfakefs
|
, pytest-recording
|
||||||
|
, pytestCheckHook
|
||||||
|
, python-jose
|
||||||
|
, pythonOlder
|
||||||
|
, pyyaml
|
||||||
|
, xmltodict
|
||||||
|
, yarl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "okta";
|
pname = "okta";
|
||||||
version = "2.8.0";
|
version = "2.9.2";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-yIVJoKX9b9Y7Ydl28twHxgPbUa58LJ12Oz3tvpU7CAc=";
|
hash = "sha256-kbzqriybzN/86vov3Q+kH2lj9plK1GzWPlc/Nc/nWF0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pycryptodome
|
|
||||||
yarl
|
|
||||||
flatdict
|
|
||||||
python-jose
|
|
||||||
aenum
|
aenum
|
||||||
aiohttp
|
aiohttp
|
||||||
|
flatdict
|
||||||
|
pycryptodome
|
||||||
|
pycryptodomex
|
||||||
pydash
|
pydash
|
||||||
xmltodict
|
python-jose
|
||||||
pyyaml
|
pyyaml
|
||||||
|
xmltodict
|
||||||
|
yarl
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pyfakefs
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytest-recording
|
pytest-recording
|
||||||
pyfakefs
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [ "tests/" ];
|
pytestFlagsArray = [
|
||||||
|
"tests/"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"test_client_raise_exception"
|
"test_client_raise_exception"
|
||||||
|
# vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette
|
||||||
|
"test_get_org_contact_user"
|
||||||
|
"test_update_org_contact_user"
|
||||||
|
"test_get_role_subscription"
|
||||||
|
"test_subscribe_unsubscribe"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
@ -68,6 +79,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python SDK for the Okta Management API";
|
description = "Python SDK for the Okta Management API";
|
||||||
homepage = "https://github.com/okta/okta-sdk-python";
|
homepage = "https://github.com/okta/okta-sdk-python";
|
||||||
|
changelog = "https://github.com/okta/okta-sdk-python/blob/v${version}/CHANGELOG.md";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ jbgosselin ];
|
maintainers = with maintainers; [ jbgosselin ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue