the puka package is outdated, mqttwarn should migrate to pika. FYI: There is also aio-pika.
With kind regards,
Andreas.
Contributor guide
Tech stack
python
Domain
backend
Issue type
refactor
DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
3
Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
1-3 hours
Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
stale
ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
clear
Prerequisites
Basic knowledge of PythonUnderstanding of AMQP protocol
Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
70
Research direction
Examine the mqttwarn codebase to identify all locations where the puka library is used for AMQP (e.g., imports and function calls). Then, research pika (and optionally aio pika) APIs to find equivalent functionality. The migration should replace puka with pika while maintaining the same behavior. Consider whether the code uses synchronous or asynchronous patterns; pika supports both but aio pika is specifically for async. Check the repository's existing use of async/await. Review any tests to ensure the migration does not break functionality. Finally, update the dependencies in requirements.txt or setup.py.