python311Packages.testcontainers: 4.0.0 -> 4.2.0

Changelog: https://github.com/testcontainers/testcontainers-python/releases/tag/testcontainers-v4.2.0
This commit is contained in:
Gaetan Lepage 2024-03-25 14:01:13 +01:00
parent 9f629579f5
commit 06d52f97a9

View File

@ -1,27 +1,35 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, deprecation
, docker
, wrapt }:
, wrapt
}:
buildPythonPackage rec {
pname = "testcontainers";
version = "4.0.0";
version = "4.2.0";
disabled = pythonOlder "3.9";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "testcontainers";
repo = "testcontainers-python";
rev = "refs/tags/testcontainers-v${version}";
hash = "sha256-cVVP9nGRTLC09KHalQDz7KOszjuFVVpMlee4btPNgd4=";
hash = "sha256-vHCrfeL3fPLZQgH7nlugIlADQaBbUQKsTBFhhq7kYWQ=";
};
postPatch = ''
echo "${version}" > VERSION
'';
nativeBuildInputs = [
poetry-core
];
buildInputs = [
deprecation
docker