ERROR: Could not find a version that satisfies the requirement MarkupSafe==2.1.2 (from versions: none)

Bug #2019996 reported by Felipe Reyes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-ovn-central
In Progress
Critical
Felipe Reyes
23.03
In Progress
Critical
Unassigned
charm-ovn-chassis
In Progress
Critical
Felipe Reyes
23.03
New
Critical
Unassigned
charm-ovn-dedicated-chassis
In Progress
Critical
Felipe Reyes
23.03
New
Critical
Unassigned

Bug Description

[Impact]

The binary charms build on 22.04 can't be run on 23.04 (Lunar), because the former uses python 3.10 while the latter uses python 3.11, this makes the binary wheels unsable.

```
...
unit-ovn-chassis-2: 18:37:56 WARNING unit.ovn-chassis/2.install File "/var/lib/juju/agents/unit-ovn-chassis-2/charm/hooks/install", line 8, in <module>
unit-ovn-chassis-2: 18:37:56 WARNING unit.ovn-chassis/2.install basic.bootstrap_charm_deps()
unit-ovn-chassis-2: 18:37:56 WARNING unit.ovn-chassis/2.install File "/var/lib/juju/agents/unit-ovn-chassis-2/charm/lib/charms/layer/basic.py", line 226, in bootstrap_charm_deps
unit-ovn-chassis-2: 18:37:56 WARNING unit.ovn-chassis/2.install check_call([pip, 'install', '-U', reinstall_flag, '--no-index',
unit-ovn-chassis-2: 18:37:56 WARNING unit.ovn-chassis/2.install File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
unit-ovn-chassis-2: 18:37:56 WARNING unit.ovn-chassis/2.install raise CalledProcessError(retcode, cmd)
unit-ovn-chassis-2: 18:37:56 WARNING unit.ovn-chassis/2.install subprocess.CalledProcessError: Command '['/var/lib/juju/agents/unit-ovn-chassis-2/.venv/bin/pip', 'install', '-U', '--force-reinstall', '--no-index', '--no-cache-dir', '-f', 'wheelhouse', 'MarkupSafe==2.1.2', 'wheel==0.40.0']' returned non-zero exit status 1.
unit-ovn-chassis-2: 18:37:57 ERROR juju.worker.uniter.operation hook "install" (via explicit, bespoke hook script) failed: exit status 1
```

Felipe Reyes (freyes)
Changed in charm-ovn-central:
importance: Undecided → Critical
Changed in charm-ovn-chassis:
importance: Undecided → Critical
Changed in charm-ovn-dedicated-chassis:
importance: Undecided → Critical
Changed in charm-ovn-central:
assignee: nobody → Felipe Reyes (freyes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ovn-central (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/x/charm-ovn-central/+/883435

Changed in charm-ovn-central:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ovn-chassis (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/x/charm-ovn-chassis/+/883437

Changed in charm-ovn-chassis:
status: New → In Progress
Changed in charm-ovn-dedicated-chassis:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ovn-dedicated-chassis (master)
Felipe Reyes (freyes)
Changed in charm-ovn-chassis:
assignee: nobody → Felipe Reyes (freyes)
Changed in charm-ovn-dedicated-chassis:
assignee: nobody → Felipe Reyes (freyes)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ovn-central (stable/23.03)

Fix proposed to branch: stable/23.03
Review: https://review.opendev.org/c/x/charm-ovn-central/+/883590

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ovn-chassis (stable/23.03)

Fix proposed to branch: stable/23.03
Review: https://review.opendev.org/c/x/charm-ovn-chassis/+/883591

Revision history for this message
Corey Bryant (corey.bryant) wrote :

I think we can mark this as fix released once the final changes to the charmcraft.yaml land in the bobcat batch:

https://review.opendev.org/q/topic:bobcat-support+is:open

Revision history for this message
Felipe Reyes (freyes) wrote : Re: [Bug 2019996] Re: ERROR: Could not find a version that satisfies the requirement MarkupSafe==2.1.2 (from versions: none)

On Tue, 2023-08-15 at 19:45 +0000, Corey Bryant wrote:
> I think we can mark this as fix released once the final changes to the
> charmcraft.yaml land in the bobcat batch:
>
> https://review.opendev.org/q/topic:bobcat-support+is:open
>
+1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on charm-ovn-central (master)

Change abandoned by "Felipe Reyes <email address hidden>" on branch: master
Review: https://review.opendev.org/c/x/charm-ovn-central/+/883435
Reason: in favor of https://review.opendev.org/c/x/charm-ovn-central/+/888885?usp=search

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.