Merge pull request #298920 from GaetanLepage/testcontainers

python311Packages.testcontainers: 4.0.0 -> 4.2.0
This commit is contained in:
a-n-n-a-l-e-e 2024-03-26 05:24:14 -07:00 committed by GitHub
commit 84b4b872f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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