mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
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
This commit is contained in:
parent
66676a8096
commit
f206cd7668
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user