Opened 16 months ago

Last modified 10 months ago

#66675 new defect

py311-ansible-core @2.14.1_0: ansible-galaxy reports resolvelib version mismatch

Reported by: 0x1DA117 (Daniel of Service) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: adfernandes (Andrew Fernandes), steenzout (Pedro Salgado), 0x1DA117 (Daniel of Service)
Port: py-ansible-core

Description

When running ansible-galaxy to install requirements, it reports a version mismatch for resolvelib.

% ansible-galaxy install -r requirements.yaml
Starting galaxy collection install process
Process install dependency map
ERROR! ansible-galaxy requires resolvelib<0.9.0,>=0.5.3

The currently installed py311-resolvelib version is 0.9.0_0.

% port installed | rg resolvelib     
  py311-resolvelib @0.9.0_0 (active)

Change History (4)

comment:1 Changed 16 months ago by 0x1DA117 (Daniel of Service)

Cc: 0x1DA117 added

comment:2 Changed 12 months ago by reneeotten (Renee Otten)

current version is py311-ansible-core @2.14.4 - does this problem still remain? If not, please let us know so we can close the ticket.

comment:3 Changed 12 months ago by 0x1DA117 (Daniel of Service)

Yes, it still remains.

% ansible --version
ansible [core 2.14.4]
  config file = None
  configured module search path = ['/Users/danieltrautmann/.ansible/plugins/modules', '/opt/local/share/ansible/plugins/modules']
  ansible python module location = /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ansible
  ansible collection location = /Users/danieltrautmann/.ansible/collections:/opt/local/share/ansible/collections
  executable location = /opt/local/bin/ansible
  python version = 3.11.3 (main, Apr  8 2023, 06:31:24) [Clang 14.0.0 (clang-1400.0.29.202)] (/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11)
  jinja version = 3.1.2
  libyaml = True

% ansible-galaxy install -r requirements.yaml
Starting galaxy collection install process
Process install dependency map
ERROR! ansible-galaxy requires resolvelib<0.9.0,>=0.5.3

comment:4 Changed 10 months ago by 0x1DA117 (Daniel of Service)

It got fixed with version 2.15.1

% ansible-galaxy install -r requirements.yaml
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Downloading https://galaxy.ansible.com/download/community-general-7.1.0.tar.gz to /Users/danieltrautmann/.ansible/tmp/ansible-local-4217wfeh_j_x/tmp0f24b06z/community-general-7.1.0-1vsdhx20
Installing 'community.general:7.1.0' to '/Users/danieltrautmann/.ansible/collections/ansible_collections/community/general'
community.general:7.1.0 was installed successfully
ansible [core 2.15.1]
  config file = None
  configured module search path = ['/Users/danieltrautmann/.ansible/plugins/modules', '/opt/local/share/ansible/plugins/modules']
  ansible python module location = /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ansible
  ansible collection location = /Users/danieltrautmann/.ansible/collections:/opt/local/share/ansible/collections
  executable location = /opt/local/bin/ansible
  python version = 3.11.4 (main, Jun 10 2023, 10:30:46) [Clang 14.0.3 (clang-1403.0.22.14.1)] (/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11)
  jinja version = 3.1.2
  libyaml = True

Ansible added support for the resolvelib that was already provided via MacPorts. https://github.com/ansible/ansible/blob/v2.15.1/changelogs/CHANGELOG-v2.15.rst#id2

Note: See TracTickets for help on using tickets.