python310Packages.apache-beam: Add missing test dependency

authored by

Jonas Heinrich and committed by
Yt
241a178e 00977a98

+7 -7
+3 -4
pkgs/development/python-modules/apache-beam/default.nix
··· 37 , sqlalchemy 38 , tenacity 39 , typing-extensions 40 - , scikit-learn 41 - }: 42 43 buildPythonPackage rec { 44 pname = "apache-beam"; ··· 107 scikit-learn 108 sqlalchemy 109 tenacity 110 ]; 111 112 # Make sure we're running the tests for the actually installed ··· 122 # container_init: Callable[[], Union[PostgresContainer, MySqlContainer]], 123 # E NameError: name 'MySqlContainer' is not defined 124 # 125 - # Test relies on the testcontainers package, which is not currently (as of 126 - # 2022-04-08) available in nixpkgs. 127 "apache_beam/io/external/xlang_jdbcio_it_test.py" 128 129 # These tests depend on the availability of specific servers backends.
··· 37 , sqlalchemy 38 , tenacity 39 , typing-extensions 40 + , testcontainers 41 + , scikit-learn }: 42 43 buildPythonPackage rec { 44 pname = "apache-beam"; ··· 107 scikit-learn 108 sqlalchemy 109 tenacity 110 + testcontainers 111 ]; 112 113 # Make sure we're running the tests for the actually installed ··· 123 # container_init: Callable[[], Union[PostgresContainer, MySqlContainer]], 124 # E NameError: name 'MySqlContainer' is not defined 125 # 126 "apache_beam/io/external/xlang_jdbcio_it_test.py" 127 128 # These tests depend on the availability of specific servers backends.
+4 -3
pkgs/development/python-modules/testcontainers/default.nix
··· 3 , buildPythonPackage 4 , deprecation 5 , docker 6 - , wrapt 7 - }: 8 9 buildPythonPackage rec { 10 pname = "testcontainers"; ··· 31 ]; 32 33 meta = with lib; { 34 - description = "Allows using docker containers for functional and integration testing"; 35 homepage = "https://github.com/testcontainers/testcontainers-python"; 36 license = licenses.asl20; 37 maintainers = with maintainers; [ onny ];
··· 3 , buildPythonPackage 4 , deprecation 5 , docker 6 + , wrapt }: 7 8 buildPythonPackage rec { 9 pname = "testcontainers"; ··· 30 ]; 31 32 meta = with lib; { 33 + description = '' 34 + Allows using docker containers for functional and integration testing 35 + ''; 36 homepage = "https://github.com/testcontainers/testcontainers-python"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ onny ];