From f206cd76681df9a15693e0bfe632cab9f6facf5b Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 10 Dec 2024 18:26:28 +0100 Subject: [PATCH] python312Packages.testcontainers: 4.8.2 -> 4.9.0 Diff: https://github.com/testcontainers/testcontainers-python/compare/refs/tags/testcontainers-v4.8.2...testcontainers-v4.9.0 Changelog: https://github.com/testcontainers/testcontainers-python/releases/tag/testcontainers-v4.9.0 --- .../python-modules/testcontainers/default.nix | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/testcontainers/default.nix b/pkgs/development/python-modules/testcontainers/default.nix index 73cd3f3dcbfc..2998822d5d7f 100644 --- a/pkgs/development/python-modules/testcontainers/default.nix +++ b/pkgs/development/python-modules/testcontainers/default.nix @@ -6,25 +6,24 @@ # build-system poetry-core, - # buildInputs - deprecation, - docker, - wrapt, - # dependencies + docker, + python-dotenv, typing-extensions, + urllib3, + wrapt, }: buildPythonPackage rec { pname = "testcontainers"; - version = "4.8.2"; + version = "4.9.0"; pyproject = true; src = fetchFromGitHub { owner = "testcontainers"; repo = "testcontainers-python"; - rev = "refs/tags/testcontainers-v${version}"; - hash = "sha256-cfvhTNUadx7zRmDPAv9Djsx+jWgBIAf9dMmwop/8oa0="; + tag = "testcontainers-v${version}"; + hash = "sha256-E0g0A3RJY2l/0N6t+/OSXB+Xm2O/9y7FkscXfGm/nKw="; }; postPatch = '' @@ -33,18 +32,21 @@ buildPythonPackage rec { build-system = [ poetry-core ]; - buildInputs = [ - deprecation + dependencies = [ docker + typing-extensions + python-dotenv + urllib3 wrapt ]; - dependencies = [ typing-extensions ]; - # Tests require various container and database services running doCheck = false; - pythonImportsCheck = [ "testcontainers" ]; + pythonImportsCheck = [ + "testcontainers" + "testcontainers.core.container" + ]; meta = { description = "Allows using docker containers for functional and integration testing";