Skip to content

ansible-core incompatible with resolvelib 1.2.0 #85493

@walterrowe

Description

@walterrowe

Summary

I keep all my PIP packages and libraries up to date. When I update ansible-core I get this message.

ansible-core 2.18.7 requires resolvelib<1.1.0,>=0.5.3, but you have resolvelib 1.2.0 which is incompatible.

This does not seem to affect ansible on my macOS system. If there is in fact no issue can ansible-core be updated to permit resolvelib >= 0.5.3 and omit the stipulation for < 1.1.0 ?

Issue Type

Bug Report

Component Name

pip

Ansible Version

$ ansible --version

ansible [core 2.18.7]
  config file = None
  configured module search path = ['/Users/wrowe/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /opt/homebrew/lib/python3.13/site-packages/ansible
  ansible collection location = /Users/wrowe/.ansible/collections:/usr/share/ansible/collections
  executable location = /opt/homebrew/bin/ansible
  python version = 3.13.5 (main, Jun 11 2025, 15:36:57) [Clang 17.0.0 (clang-1700.0.13.3)] (/opt/homebrew/opt/[email protected]/bin/python3.13)
  jinja version = 3.1.6
  libyaml = True

Configuration

# if using a version older than ansible-core 2.12 you should omit the '-t all'
$ ansible-config dump --only-changed -t all
CONFIG_FILE() = None

GALAXY_SERVERS:

OS / Environment

macOS Sequoia

Steps to Reproduce

pkgs=$(pip list -o | tail -n +3 | awk "{ printf \"%s \",\$1; }")
if [[ ! -z "${pkgs}" ]]; then
    echo "Upgrading PIP packages: $(echo -n ${pkgs})"
    pip install -v --upgrade $(echo $pkgs)
fi

This updates all outdated PIP packages including resolvelib. When resolvelib is updated to 1.2 then I get the notice that ansible-core requires resolvelib<1.1.0,>=0.5.3.

This does not seem to affect ansible on my macOS system. If there is in fact no issue can ansible-core be updated to permit resolvelib >= 0.5.3 and omit the stipulation for < 1.1.0 ?

% pip list
Package                   Version
------------------------- -----------
aiohappyeyeballs          2.6.1
aiosignal                 1.4.0
ansible                   11.8.0
ansible-compat            25.6.0
ansible-core              2.18.7
ansible-lint              25.6.1
attrs                     25.3.0
black                     25.1.0
bracex                    2.6
cachetools                6.1.0
certifi                   2025.7.14
cffi                      None
chardet                   5.2.0
charset-normalizer        3.4.2
click                     8.2.1
cryptography              45.0.5
dill                      0.4.0
distlib                   0.3.9
docopt                    0.6.2
et_xmlfile                2.0.0
filelock                  3.18.0
frozenlist                1.7.0
h2                        4.2.0
hpack                     4.1.0
hyper                     0.7.0
hyperframe                6.1.0
identify                  2.6.12
idna                      3.10
ijson                     3.4.0
importlib_metadata        8.7.0
iniconfig                 2.1.0
Jinja2                    3.1.6
jmespath                  1.0.1
jsonschema                4.24.0
jsonschema-specifications 2025.4.1
markdown-it-py            3.0.0
MarkupSafe                3.0.2
mdurl                     0.1.2
multidict                 6.6.3
multiprocess              0.70.18
mypy_extensions           1.1.0
nodeenv                   1.9.1
numpy                     2.3.1
oauthlib                  3.3.1
openpyxl                  3.1.5
packaging                 25.0
pandas                    2.3.1
pathspec                  0.12.1
pillow                    11.3.0
pip                       25.1.1
pipreqs                   0.4.13
platformdirs              4.3.8
propcache                 0.3.2
Pygments                  2.19.2
pyproject-api             1.9.1
pyscard                   2.2.2
pysnow                    0.7.17
python-dateutil           2.9.0.post0
python-gitlab             6.1.0
python-magic              0.4.27
pytoml                    0.1.21
pytz                      2025.2
PyYAML                    6.0.2
referencing               0.36.2
requests                  2.32.4
requests-oauthlib         2.0.0
requests-toolbelt         1.0.0
resolvelib                1.2.0
rpds-py                   0.26.0
ruamel.yaml               0.18.14
ruamel.yaml.clib          0.2.12
setuptools                80.9.0
six                       1.17.0
subprocess-tee            0.4.2
tzdata                    2025.2
urllib3                   2.5.0
virtualenv                20.31.2
wcmatch                   10.1
wheel                     0.45.1
xlsxwriter                3.2.5
yamllint                  1.37.1
yarg                      0.1.10
yarl                      1.20.1
zipp                      3.23.0

Expected Results

N/A

Actual Results

N/A

Code of Conduct

  • I agree to follow the Ansible Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects_2.18bugThis issue/PR relates to a bug.has_prThis issue has an associated PR.moduleThis issue/PR relates to a module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions