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
1 changed files with 13 additions and 5 deletions

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