[Bug 2064798] [NEW] pytest/pluggy conflict on Caracal/Jammy

Dmitriy Rabotyagov 2064798 at bugs.launchpad.net
Sat May 4 10:40:02 UTC 2024


Public bug reported:

In UCA for Bobcat python3-pytest was built and shipped from UCA, while
python3-pluggy was present only on universe:

root at aio1:/home/ubuntu# apt-cache policy python3-pytest
python3-pytest:
  Installed: (none)
  Candidate: 7.4.0-2~cloud1
  Version table:
     7.4.0-2~cloud1 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu jammy-updates/bobcat/main amd64 Packages
     6.2.5-1ubuntu2 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
root at aio1:/home/ubuntu# apt-cache policy python3-pluggy
python3-pluggy:
  Installed: (none)
  Candidate: 0.13.0-7.1
  Version table:
     0.13.0-7.1 500
        500 http://nova.clouds.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
root at aio1:/home/ubuntu#


For Caracal situation reverted, which results in installation conflict "out of the box":

root at aio1 /opt/openstack-ansible # apt-cache policy python3-pytest
python3-pytest:
  Installed: (none)
  Candidate: 6.2.5-1ubuntu2
  Version table:
     6.2.5-1ubuntu2 500
        500 http://mirror.hetzner.com/ubuntu/packages jammy/universe amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
root at demo /opt/openstack-ansible # apt-cache policy python3-pluggy
python3-pluggy:
  Installed: (none)
  Candidate: 1.4.0-1~cloud0
  Version table:
     1.4.0-1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu jammy-updates/caracal/main amd64 Packages
     0.13.0-7.1 500
        500 http://mirror.hetzner.com/ubuntu/packages jammy/universe amd64 Packages
        500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
root at aio1 /opt/openstack-ansible # apt install python3-pytest
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python3-pytest : Depends: python3-pluggy (< 1.0) but 1.4.0-1~cloud0 is to be installed
E: Unable to correct problems, you have held broken packages.
root at demo /opt/openstack-ansible #

My blind guess would be, that relevant python3-pytest version is simply
missing for Caracal UCA and should be re-added there to avoid the
conflict.

** Affects: cloud-archive
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/2064798

Title:
  pytest/pluggy conflict on Caracal/Jammy

Status in Ubuntu Cloud Archive:
  New

Bug description:
  In UCA for Bobcat python3-pytest was built and shipped from UCA, while
  python3-pluggy was present only on universe:

  root at aio1:/home/ubuntu# apt-cache policy python3-pytest
  python3-pytest:
    Installed: (none)
    Candidate: 7.4.0-2~cloud1
    Version table:
       7.4.0-2~cloud1 500
          500 http://ubuntu-cloud.archive.canonical.com/ubuntu jammy-updates/bobcat/main amd64 Packages
       6.2.5-1ubuntu2 500
          500 http://nova.clouds.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
  root at aio1:/home/ubuntu# apt-cache policy python3-pluggy
  python3-pluggy:
    Installed: (none)
    Candidate: 0.13.0-7.1
    Version table:
       0.13.0-7.1 500
          500 http://nova.clouds.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
  root at aio1:/home/ubuntu#

  
  For Caracal situation reverted, which results in installation conflict "out of the box":

  root at aio1 /opt/openstack-ansible # apt-cache policy python3-pytest
  python3-pytest:
    Installed: (none)
    Candidate: 6.2.5-1ubuntu2
    Version table:
       6.2.5-1ubuntu2 500
          500 http://mirror.hetzner.com/ubuntu/packages jammy/universe amd64 Packages
          500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
  root at demo /opt/openstack-ansible # apt-cache policy python3-pluggy
  python3-pluggy:
    Installed: (none)
    Candidate: 1.4.0-1~cloud0
    Version table:
       1.4.0-1~cloud0 500
          500 http://ubuntu-cloud.archive.canonical.com/ubuntu jammy-updates/caracal/main amd64 Packages
       0.13.0-7.1 500
          500 http://mirror.hetzner.com/ubuntu/packages jammy/universe amd64 Packages
          500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
  root at aio1 /opt/openstack-ansible # apt install python3-pytest
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:

  The following packages have unmet dependencies:
   python3-pytest : Depends: python3-pluggy (< 1.0) but 1.4.0-1~cloud0 is to be installed
  E: Unable to correct problems, you have held broken packages.
  root at demo /opt/openstack-ansible #

  My blind guess would be, that relevant python3-pytest version is
  simply missing for Caracal UCA and should be re-added there to avoid
  the conflict.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2064798/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list