Skip to content

fix(airflow): Pin virtualenv#1437

Merged
lfrancke merged 2 commits intomainfrom
fix/airflow-pin-virtualenv
Feb 27, 2026
Merged

fix(airflow): Pin virtualenv#1437
lfrancke merged 2 commits intomainfrom
fix/airflow-pin-virtualenv

Conversation

@adwk67
Copy link
Member

@adwk67 adwk67 commented Feb 26, 2026

Description

virtualenv 21.0.0 contains breaking changes.
From pypa/hatch#2193:

hatch will consume the latest version since it's anything equal or newer than 20.26.6.

This fix pins virtualenv with --with "virtualenv<21"


Tested build with 3.1.6:

...
 => => loading layer f6e3f5e59c53 65.54kB / 4.11MB                                                                                                                                                            2.7s
 => => loading layer ff863b32daad 6.93kB / 6.93kB                                                                                                                                                             2.6s
 => => loading layer 321a3a5efa32 69.63MB / 75.31MB                                                                                                                                                           2.5s
 => => loading layer 5f70bf18a086 32B / 32B                                                                                                                                                                   0.2s
Successfully built 1 image:
oci.stackable.tech/sdp/airflow:3.1.6-stackable0.0.0-dev

Definition of Done Checklist

Note

Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant.

Please make sure all these things are done and tick the boxes

  • Changes are OpenShift compatible
  • All added packages (via microdnf or otherwise) have a comment on why they are added
  • Things not downloaded from Red Hat repositories should be mirrored in the Stackable repository and downloaded from there
  • All packages should have (if available) signatures/hashes verified
  • Add an entry to the CHANGELOG.md file
  • Integration tests ran successfully
TIP: Running integration tests with a new product image

The image can be built and uploaded to the kind cluster with the following commands:

boil build <IMAGE> --image-version <RELEASE_VERSION> --strip-architecture --load
kind load docker-image <MANIFEST_URI> --name=<name-of-your-test-cluster>

See the output of boil to retrieve the image manifest URI for <MANIFEST_URI>.

@adwk67 adwk67 self-assigned this Feb 26, 2026
@adwk67 adwk67 moved this to Development: Waiting for Review in Stackable Engineering Feb 26, 2026
@adwk67 adwk67 enabled auto-merge February 26, 2026 17:29
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adwk67 adwk67 disabled auto-merge February 26, 2026 18:06
@adwk67 adwk67 enabled auto-merge February 26, 2026 18:06
@adwk67 adwk67 moved this from Development: Waiting for Review to Development: In Review in Stackable Engineering Feb 26, 2026
@adwk67 adwk67 disabled auto-merge February 26, 2026 20:51
@adwk67 adwk67 enabled auto-merge February 26, 2026 20:51
@adwk67 adwk67 closed this Feb 27, 2026
auto-merge was automatically disabled February 27, 2026 08:28

Pull request was closed

@adwk67 adwk67 reopened this Feb 27, 2026
@lfrancke lfrancke enabled auto-merge February 27, 2026 08:32
@lfrancke lfrancke disabled auto-merge February 27, 2026 08:33
@lfrancke lfrancke merged commit a71bb30 into main Feb 27, 2026
4 checks passed
@lfrancke lfrancke deleted the fix/airflow-pin-virtualenv branch February 27, 2026 08:33
@adwk67 adwk67 moved this from Development: In Review to Development: Done in Stackable Engineering Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Development: Done

Development

Successfully merging this pull request may close these issues.

3 participants