diff --git a/mapr/hatch.toml b/mapr/hatch.toml index efa3452fe613c..a3db5e58504d2 100644 --- a/mapr/hatch.toml +++ b/mapr/hatch.toml @@ -2,8 +2,7 @@ [envs.default] dependencies = [ - "confluent_kafka==1.7.0; python_version < '3.0'", - "confluent_kafka==2.5.0; python_version > '3.0'", + "confluent_kafka==2.8.0; python_version > '3.0'", ] [[envs.default.matrix]] diff --git a/mapr/tests/conftest.py b/mapr/tests/conftest.py index e36e711ea375c..9b7f37d82879d 100644 --- a/mapr/tests/conftest.py +++ b/mapr/tests/conftest.py @@ -15,7 +15,7 @@ # customers are expected to install the package themselves. # We do that here for the e2e testing environment. 'apt-get update', - 'apt-get install -y gcc gnupg lsb-release', + 'sh -c "DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::=\\\"--force-confdef\\\" -o Dpkg::Options::=\\\"--force-confnew\\\" -y install gcc gnupg lsb-release ca-certificates libssl-dev"', # noqa: E501 # mapr-streams-python requires librdkafka headers as they're not shipped with the Agent # This requires adding confluent's APT repositories. These steps are based on the docs in # - https://docs.confluent.io/platform/current/installation/installing_cp/deb-ubuntu.html#get-the-software @@ -29,7 +29,7 @@ 'apt-get update', 'apt-get install -y librdkafka-dev', # Finally, we can install the package - '/opt/datadog-agent/embedded/bin/pip install mapr-streams-python==0.11.0.2', + '/opt/datadog-agent/embedded/bin/pip install mapr-streams-python', ] }