There is no need to include Loguru as a dependency in a package meant for widespread distribution. Regardless, it's still useful to have the capability for logging, and to that end we need to migrate current logging functionality over to standard lib logging.
I'm really bad at the stdlib logger, but it shouldn't be that big of a task:
Replace all from loguru import logger with stdlib logger.
Remove caplog compatibility fixture
Disable the "harborapi" logger by default (different way to do this with stdlib logging than loguru).
There is no need to include Loguru as a dependency in a package meant for widespread distribution. Regardless, it's still useful to have the capability for logging, and to that end we need to migrate current logging functionality over to standard lib logging.
I'm really bad at the stdlib logger, but it shouldn't be that big of a task:
from loguru import logger
with stdlib logger.caplog
compatibility fixture"harborapi"
logger by default (different way to do this with stdlib logging than loguru).