python312Packages.aiokafka: 0.10.0 -> 0.11.0 (#328348)
This commit is contained in:
@@ -2,17 +2,15 @@
|
||||
lib,
|
||||
async-timeout,
|
||||
buildPythonPackage,
|
||||
cramjam,
|
||||
cython,
|
||||
fetchFromGitHub,
|
||||
gssapi,
|
||||
kafka-python,
|
||||
lz4,
|
||||
packaging,
|
||||
python-snappy,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
typing-extensions,
|
||||
zlib,
|
||||
zstandard,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -20,7 +18,7 @@ buildPythonPackage rec {
|
||||
version = "0.11.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aio-libs";
|
||||
@@ -38,15 +36,19 @@ buildPythonPackage rec {
|
||||
|
||||
dependencies = [
|
||||
async-timeout
|
||||
kafka-python
|
||||
packaging
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
snappy = [ python-snappy ];
|
||||
lz4 = [ lz4 ];
|
||||
zstd = [ zstandard ];
|
||||
snappy = [ cramjam ];
|
||||
lz4 = [ cramjam ];
|
||||
zstd = [ cramjam ];
|
||||
gssapi = [ gssapi ];
|
||||
all = [
|
||||
cramjam
|
||||
gssapi
|
||||
];
|
||||
};
|
||||
|
||||
# Checks require running Kafka server
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytest,
|
||||
six,
|
||||
mock,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.0.2";
|
||||
format = "setuptools";
|
||||
pname = "kafka-python";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "04dfe7fea2b63726cd6f3e79a2d86e709d608d74406638c5da33a01d45a9d7e3";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest
|
||||
six
|
||||
mock
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
# Upstream uses tox but we don't on Nix. Running tests manually produces however
|
||||
# from . import unittest
|
||||
# E ImportError: cannot import name 'unittest'
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure Python client for Apache Kafka";
|
||||
homepage = "https://github.com/dpkp/kafka-python";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -283,6 +283,7 @@ mapAliases ({
|
||||
jupyter-server-ydoc = jupyter-collaboration; # added 2023-07-18
|
||||
jupyterlab_launcher = throw "jupyterlab_launcher has been removed as it's abandoned for over 5 years and broken"; # added 2023-11-11
|
||||
jupyterlab_server = jupyterlab-server; # added 2023-11-12
|
||||
kafka-python = kafka-python-ng; # added 2024-07-19
|
||||
Kajiki = kajiki; # added 2023-02-19
|
||||
keepkey_agent = keepkey-agent; # added 2024-01-06
|
||||
Keras = keras; # added 2021-11-25
|
||||
|
||||
@@ -6612,8 +6612,6 @@ self: super: with self; {
|
||||
|
||||
kaa-metadata = callPackage ../development/python-modules/kaa-metadata { };
|
||||
|
||||
kafka-python = callPackage ../development/python-modules/kafka-python { };
|
||||
|
||||
kafka-python-ng = callPackage ../development/python-modules/kafka-python-ng { };
|
||||
|
||||
kaggle = callPackage ../development/python-modules/kaggle { };
|
||||
|
||||
Reference in New Issue
Block a user