Package Details: python-confluent-kafka 2.10.0-2

Git Clone URL: https://aur.archlinux.org/python-confluent-kafka.git (read-only, click to copy)
Package Base: python-confluent-kafka
Description: Confluent's Python client for Apache Kafka
Upstream URL: https://github.com/confluentinc/confluent-kafka-python
Licenses: Apache-2.0
Submitter: loacker
Maintainer: loacker
Last Packager: loacker
Votes: 0
Popularity: 0.000000
First Submitted: 2024-05-18 20:48 (UTC)
Last Updated: 2025-06-03 12:49 (UTC)

Latest Comments

vitaliikuzhdin commented on 2025-06-03 12:14 (UTC)

Thanks for the instant update! The manpage line:

install -Dm644 "docs/build/confluent-kafka.1" -t "$pkgdir/usr/share/man/man1/python-confluent-kafka.1"

should be:

install -Dm644 "docs/build/confluent-kafka.1" "$pkgdir/usr/share/man/man1/python-confluent-kafka.1"

Otherwise, it installs to a directory instead of a file path, ending up as:

python-confluent-kafka /usr/share/
python-confluent-kafka /usr/share/man/
python-confluent-kafka /usr/share/man/man1/
python-confluent-kafka /usr/share/man/man1/python-confluent-kafka.1/
python-confluent-kafka /usr/share/man/man1/python-confluent-kafka.1/confluent-kafka.1.gz

Also, should python-authlib be a make dependency? It's listed in the requirements for the schema registry module: https://github.com/confluentinc/confluent-kafka-python/blob/v2.10.0/requirements/requirements-schemaregistry.txt Without it, autodoc fails:

Successfully built confluent_kafka-2.10.0-cp313-cp313-linux_x86_64.whl
WARNING: autodoc: failed to import class 'schema_registry.SchemaRegistryClient' from module 'confluent_kafka'; the following exception was raised:
['Traceback (most recent call last):\n', '  File "/usr/lib/python3.13/site-packages/sphinx/ext/autodoc/importer.py", line 269, in import_object\n    module = import_module(modname, try_reload=True)\n', '  File "/usr/lib/python3.13/site-packages/sphinx/ext/autodoc/importer.py", line 175, in import_module\n    module = importlib.import_module(modname)\n', '  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module\n    return _bootstrap._gcd_import(name[level:], package, level)\n           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', '  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import\n', '  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load\n', '  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked\n', '  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked\n', '  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module\n', '  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed\n', '  File "/usr/lib/python3.13/site-packages/confluent_kafka/schema_registry/__init__.py", line 20, in <module>\n    from .schema_registry_client import (\n    ...<15 lines>...\n    )\n', '  File "/usr/lib/python3.13/site-packages/confluent_kafka/schema_registry/schema_registry_client.py", line 38, in <module>\n    from authlib.integrations.httpx_client import OAuth2Client\n', "ModuleNotFoundError: No module named 'authlib'\n"] [autodoc.import_object]

Could you also enable the tests in check()?