python310Packages.apache-beam: Add missing test dependency

This commit is contained in:
Jonas Heinrich 2022-07-17 10:55:13 +02:00 committed by Yt
parent 00977a9804
commit 241a178eda
2 changed files with 7 additions and 7 deletions

View file

@ -37,8 +37,8 @@
, sqlalchemy
, tenacity
, typing-extensions
, scikit-learn
}:
, testcontainers
, scikit-learn }:
buildPythonPackage rec {
pname = "apache-beam";
@ -107,6 +107,7 @@ buildPythonPackage rec {
scikit-learn
sqlalchemy
tenacity
testcontainers
];
# Make sure we're running the tests for the actually installed
@ -122,8 +123,6 @@ buildPythonPackage rec {
# container_init: Callable[[], Union[PostgresContainer, MySqlContainer]],
# E NameError: name 'MySqlContainer' is not defined
#
# Test relies on the testcontainers package, which is not currently (as of
# 2022-04-08) available in nixpkgs.
"apache_beam/io/external/xlang_jdbcio_it_test.py"
# These tests depend on the availability of specific servers backends.

View file

@ -3,8 +3,7 @@
, buildPythonPackage
, deprecation
, docker
, wrapt
}:
, wrapt }:
buildPythonPackage rec {
pname = "testcontainers";
@ -31,7 +30,9 @@ buildPythonPackage rec {
];
meta = with lib; {
description = "Allows using docker containers for functional and integration testing";
description = ''
Allows using docker containers for functional and integration testing
'';
homepage = "https://github.com/testcontainers/testcontainers-python";
license = licenses.asl20;
maintainers = with maintainers; [ onny ];