Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922584 - app-admin/salt-3005.1-r1 fails tests: AttributeError: module 'docker' has no attribute 'version_info'
Summary: app-admin/salt-3005.1-r1 fails tests: AttributeError: module 'docker' has no ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-20 20:17 UTC by matoro
Modified: 2024-02-28 03:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (file_922584.txt,954.87 KB, text/plain)
2024-01-20 20:17 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
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