python312Packages.tableauserverclient: 0.31 -> 0.33 (#348056)

This commit is contained in:
Fabian Affolter 2024-10-12 17:03:38 +02:00 committed by GitHub
commit 64cbc396c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 8 deletions

View File

@ -37,18 +37,18 @@ buildPythonPackage rec {
version = "3.1.0";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "spec-first";
repo = pname;
repo = "connexion";
rev = "refs/tags/${version}";
hash = "sha256-rngQDU9kXw/Z+Al0SCVnWN8xnphueTtZ0+xPBR5MbEM=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
asgiref
httpx
inflection
@ -80,6 +80,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "connexion" ];
disabledTests = [
"test_build_example"
"test_mock_resolver_no_example"
# Tests require network access
"test_remote_api"
# AssertionError
"test_headers"
# waiter.acquire() deadlock
@ -91,9 +95,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Swagger/OpenAPI First framework on top of Flask";
mainProgram = "connexion";
homepage = "https://github.com/spec-first/connexion";
changelog = "https://github.com/spec-first/connexion/releases/tag/${version}";
license = licenses.asl20;
maintainers = [ ];
mainProgram = "connexion";
};
}

View File

@ -9,19 +9,20 @@
requests,
requests-mock,
setuptools,
typing-extensions,
versioneer,
}:
buildPythonPackage rec {
pname = "tableauserverclient";
version = "0.31";
version = "0.33";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-e00/+yVKg7dGGq3Os+oWu/F93j5e9dnwWZxKwm+soqM=";
hash = "sha256-7yj/Ey3mIR2GZ0gtNkrrtoKEmuA5LihZlM9qPhbROQw=";
};
postPatch = ''
@ -29,7 +30,10 @@ buildPythonPackage rec {
rm versioneer.py
'';
pythonRelaxDeps = [ "urllib3" ];
pythonRelaxDeps = [
"defusedxml"
"urllib3"
];
nativeBuildInputs = [
setuptools
@ -40,6 +44,7 @@ buildPythonPackage rec {
defusedxml
requests
packaging
typing-extensions
];
nativeCheckInputs = [