Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 922584

Summary: app-admin/salt-3005.1-r1 fails tests: AttributeError: module 'docker' has no attribute 'version_info'
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: CONFIRMED ---    
Severity: normal CC: matoro_gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log and emerge --info

Description matoro archtester 2024-01-20 20:17:17 UTC
Two issues.  One is incompat with >=dev-python/docker-6.  I think this is fixed in https://github.com/saltstack/salt/commit/8c268f47cebf84a0399868aa1618417f62dd0f1b

Latter is changed in https://github.com/saltstack/salt/pull/61629 and possibly unused, and can possibly be removed with no effect, but more interestingly contains a TIME BOMB error which changes from a warning to an error if the current date is after 2024-01-01.

========================================================================== ERRORS ==========================================================================
__________________________________ ERROR collecting tests/pytests/functional/transport/zeromq/test_pub_server_channel.py ___________________________________
tests/pytests/functional/transport/zeromq/test_pub_server_channel.py:15: in <module>
    import salt.log.setup
salt/log/__init__.py:14: in <module>
    from salt.log.setup import (
salt/log/setup.py:23: in <module>
    warn_until_date(
salt/utils/versions.py:212: in warn_until_date
    raise RuntimeError(
E   RuntimeError: Please stop using 'salt.log.setup' and instead use 'salt._logging'. 'salt.log.setup' will go away after 2024-01-01. Do note however that 'salt._logging' is now considered a non public implementation and is subject to change without deprecations. This warning(now exception) triggered on filename '<frozen importlib._bootstrap_external>', line number 883, is supposed to be shown until 2024-01-01. Today is 2024-01-20. Please remove the warning.
___________________________________________ ERROR collecting tests/pytests/unit/modules/dockermod/test_module.py ___________________________________________
tests/pytests/unit/modules/dockermod/test_module.py:358: in <module>
    docker_mod.docker.version_info < (1, 5, 0),
E   AttributeError: module 'docker' has no attribute 'version_info'

Reproducible: Always
Comment 1 matoro archtester 2024-01-20 20:17:57 UTC
Created attachment 882712 [details]
build.log and emerge --info