From cd4f22f6a2d29eeae7a33d41db38725f6f85cbb4 Mon Sep 17 00:00:00 2001 From: hairmare <116588+hairmare@users.noreply.github.com> Date: Sat, 27 Apr 2024 20:07:36 +0200 Subject: [PATCH] chore: switch to kafka-python-ng (#149) --- poetry.lock | 16 ++++++++++------ pyproject.toml | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index 2a94203..e50ea54 100644 --- a/poetry.lock +++ b/poetry.lock @@ -311,18 +311,22 @@ files = [ ] [[package]] -name = "kafka-python" -version = "2.0.2" +name = "kafka-python-ng" +version = "2.2.2" description = "Pure Python client for Apache Kafka" optional = false -python-versions = "*" +python-versions = ">=3.8" files = [ - {file = "kafka-python-2.0.2.tar.gz", hash = "sha256:04dfe7fea2b63726cd6f3e79a2d86e709d608d74406638c5da33a01d45a9d7e3"}, - {file = "kafka_python-2.0.2-py2.py3-none-any.whl", hash = "sha256:2d92418c7cb1c298fa6c7f0fb3519b520d0d7526ac6cb7ae2a4fc65a51a94b6e"}, + {file = "kafka-python-ng-2.2.2.tar.gz", hash = "sha256:87ad3a766e2c0bec71d9b99bdd9e9c5cda62d96cfda61a8ca16510484d6ad7d4"}, + {file = "kafka_python_ng-2.2.2-py2.py3-none-any.whl", hash = "sha256:3fab1a03133fade1b6fd5367ff726d980e59031c4aaca9bf02c516840a4f8406"}, ] [package.extras] +boto = ["botocore"] crc32c = ["crc32c"] +lz4 = ["lz4"] +snappy = ["python-snappy"] +zstd = ["zstandard"] [[package]] name = "minio" @@ -618,4 +622,4 @@ zstd = ["zstandard (>=0.18.0)"] [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "2912607ea77b0c8043c5db917edbb1f6bce5cd477360bfe4fc5f8bf7078f6e1c" +content-hash = "44b07c464efb76ced655956e0211755752287c93fbfbd909570db7f590429add" diff --git a/pyproject.toml b/pyproject.toml index a7ad878..0a282c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ acringest = 'acringest:main' python = "^3.11" cloudevents = "^1.10.1" ConfigArgParse = "^1.7" -kafka-python = "^2.0.2" +kafka-python-ng = "^2.2.2" minio = "^7.2.5" jsondiff = "^2.0.0"