From 5f8fa250d5012bca29143c89c30a296e8002b7bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sun, 14 Jun 2026 03:54:36 +0200 Subject: [PATCH] python314Packages.aws-sam-translator: 1.106.0 -> 1.110.0 --- .../aws-sam-translator/default.nix | 32 ++++--------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/pkgs/development/python-modules/aws-sam-translator/default.nix b/pkgs/development/python-modules/aws-sam-translator/default.nix index 33ced09ce46b..42a22dedbbaf 100644 --- a/pkgs/development/python-modules/aws-sam-translator/default.nix +++ b/pkgs/development/python-modules/aws-sam-translator/default.nix @@ -10,25 +10,22 @@ pytest-rerunfailures, pytest-xdist, pytestCheckHook, - pythonAtLeast, pyyaml, + requests, setuptools, typing-extensions, }: buildPythonPackage rec { pname = "aws-sam-translator"; - version = "1.106.0"; + version = "1.110.0"; pyproject = true; - # https://github.com/aws/serverless-application-model/issues/3831 - disabled = pythonAtLeast "3.14"; - src = fetchFromGitHub { owner = "aws"; repo = "serverless-application-model"; tag = "v${version}"; - hash = "sha256-9KrBoa50lgZcqe/wzt05TsuUYbjRuQXgXTVHjDKBmr4="; + hash = "sha256-Zn+6cDyDZSsV9V+zAA8BOPs4aKl0j3dF92/azGYG+OI="; }; postPatch = '' @@ -36,6 +33,8 @@ buildPythonPackage rec { rm pytest.ini ''; + pythonRelaxDeps = [ "pydantic" ]; + build-system = [ setuptools ]; dependencies = [ @@ -52,6 +51,7 @@ buildPythonPackage rec { pytest-xdist pytestCheckHook pyyaml + requests ]; preCheck = '' @@ -66,26 +66,6 @@ buildPythonPackage rec { "slow" ]; - disabledTests = [ - # urllib3 2.0 compat - "test_plugin_accepts_different_sar_client" - "test_plugin_accepts_flags" - "test_plugin_accepts_parameters" - "test_plugin_default_values" - "test_plugin_invalid_configuration_raises_exception" - "test_plugin_must_setup_correct_name" - "test_must_process_applications" - "test_must_process_applications_validate" - "test_process_invalid_applications" - "test_process_invalid_applications_validate" - "test_resolve_intrinsics" - "test_sar_service_calls" - "test_sar_success_one_app" - "test_sar_throttling_doesnt_stop_processing" - "test_sleep_between_sar_checks" - "test_unexpected_sar_error_stops_processing" - ]; - __darwinAllowLocalNetworking = true; pythonImportsCheck = [ "samtranslator" ];