diff options
author | Jonas Heinrich <onny@project-insanity.org> | 2022-07-17 10:55:13 +0200 |
---|---|---|
committer | Yt <happysalada@proton.me> | 2022-07-23 15:14:06 -0400 |
commit | 241a178eda8eec81df0acbc4759c1d7c2e25d440 (patch) | |
tree | 90cdd5f797a4fd0f7b4e85f846ca6352762fe242 /pkgs | |
parent | 00977a98042d44a47a5ab57ef4f450e5a8848e4e (diff) |
python310Packages.apache-beam: Add missing test dependency
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/apache-beam/default.nix | 7 | ||||
-rw-r--r-- | pkgs/development/python-modules/testcontainers/default.nix | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/apache-beam/default.nix b/pkgs/development/python-modules/apache-beam/default.nix index 17e5389a5bbca..19e2cc827b94b 100644 --- a/pkgs/development/python-modules/apache-beam/default.nix +++ b/pkgs/development/python-modules/apache-beam/default.nix @@ -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. diff --git a/pkgs/development/python-modules/testcontainers/default.nix b/pkgs/development/python-modules/testcontainers/default.nix index a690be883340c..65c8ed8bf4607 100644 --- a/pkgs/development/python-modules/testcontainers/default.nix +++ b/pkgs/development/python-modules/testcontainers/default.nix @@ -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 ]; |