python310Packages.apache-beam: Add missing test dependency
This commit is contained in:
parent
00977a9804
commit
241a178eda
2 changed files with 7 additions and 7 deletions
|
@ -37,8 +37,8 @@
|
||||||
, sqlalchemy
|
, sqlalchemy
|
||||||
, tenacity
|
, tenacity
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
, scikit-learn
|
, testcontainers
|
||||||
}:
|
, scikit-learn }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "apache-beam";
|
pname = "apache-beam";
|
||||||
|
@ -107,6 +107,7 @@ buildPythonPackage rec {
|
||||||
scikit-learn
|
scikit-learn
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
tenacity
|
tenacity
|
||||||
|
testcontainers
|
||||||
];
|
];
|
||||||
|
|
||||||
# Make sure we're running the tests for the actually installed
|
# Make sure we're running the tests for the actually installed
|
||||||
|
@ -122,8 +123,6 @@ buildPythonPackage rec {
|
||||||
# container_init: Callable[[], Union[PostgresContainer, MySqlContainer]],
|
# container_init: Callable[[], Union[PostgresContainer, MySqlContainer]],
|
||||||
# E NameError: name 'MySqlContainer' is not defined
|
# 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"
|
"apache_beam/io/external/xlang_jdbcio_it_test.py"
|
||||||
|
|
||||||
# These tests depend on the availability of specific servers backends.
|
# These tests depend on the availability of specific servers backends.
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, deprecation
|
, deprecation
|
||||||
, docker
|
, docker
|
||||||
, wrapt
|
, wrapt }:
|
||||||
}:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "testcontainers";
|
pname = "testcontainers";
|
||||||
|
@ -31,7 +30,9 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
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";
|
homepage = "https://github.com/testcontainers/testcontainers-python";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ onny ];
|
maintainers = with maintainers; [ onny ];
|
||||||
|
|
Loading…
Reference in a new issue