[Tracking] cryptograph pinned to < 3.4 in the wheelhouse.txt due to rust compiler requirement

Bug #1915171 reported by Alex Kavanagh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Octavia Charm
Fix Committed
Undecided
Unassigned

Bug Description

The python module "cryptopgraphy" introduced rust code at the version 3.4. The octavia charm installs the cryptography module during the install hook, and this requires the unit to have the rust compiler chain installed to be able to install it.

Instead, the module is being pinned to < 3.4 until a solution can be found that doesn't require compiling the code during the install hook. This bug is to track that progress.

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

Reviewed: https://review.opendev.org/c/openstack/charm-octavia/+/858919
Committed: https://opendev.org/openstack/charm-octavia/commit/7cb77afe26b25ae1bab1bf7b0125021a44529a04
Submitter: "Zuul (22348)"
Branch: master

commit 7cb77afe26b25ae1bab1bf7b0125021a44529a04
Author: Corey Bryant <email address hidden>
Date: Thu Sep 22 13:00:06 2022 +0000

    Build separately for each supported series and use binary builds

    Charms for OpenStack Yoga supports both Ubuntu Focal and Jammy
    which means Python 3.8 and Python 3.10. Managing dependencies
    across those two versions is non-trivial and we need to build
    the charm on the series the charm is supposed to support.

    Switch to using a binary build which allows pip's dependency
    resolution to work.

    This patch also drops the impish bundle and fixes channels
    for auxiliary charms.

    Update metadata with jammy support.

    Replace `octavia.setup.ensure_lts_images` with the default glance
    lts image configure job.

    Drop python build dependencies in wheelhouse and let the binary
    build figure those out automatically.

    Closes-Bug: #1915171
    Change-Id: I744a8903be7450b5d9b2af3f96c6f61d206f9271

Changed in charm-octavia:
status: In Progress → Fix Committed
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.