Skip to content

Commit

Permalink
python312Packages.tableauserverclient: 0.31 -> 0.33 (NixOS#348056)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Oct 12, 2024
2 parents 7f0e5ae + 9c3eafa commit 64cbc39
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
15 changes: 10 additions & 5 deletions pkgs/development/python-modules/connexion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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";
};
}
11 changes: 8 additions & 3 deletions pkgs/development/python-modules/tableauserverclient/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,31 @@
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 = ''
# Remove vendorized versioneer
rm versioneer.py
'';

pythonRelaxDeps = [ "urllib3" ];
pythonRelaxDeps = [
"defusedxml"
"urllib3"
];

nativeBuildInputs = [
setuptools
Expand All @@ -40,6 +44,7 @@ buildPythonPackage rec {
defusedxml
requests
packaging
typing-extensions
];

nativeCheckInputs = [
Expand Down

0 comments on commit 64cbc39

Please sign in to comment.