Skip to content

Commit

Permalink
Fix reproducibility of provider builds (apache#43557)
Browse files Browse the repository at this point in the history
Four hours ago Flit released a new version (3.10.0) that bumped
versio of metadata used to generate providers. That revealed a bug
in the reproducibility setup for our providers. Previously the
providers had flit>=3.2,<4 as build dependency - but that caused
newer flit version to be used during the build and - since flit
bumped the metadata-version produced, it caused the packages
generated to be binary non-reproducible.

This PR fixes it by "pinning" flit version (all build dependencies
should generally be pinned to provide reproducibility)
  • Loading branch information
potiuk authored and ellisms committed Nov 13, 2024
1 parent 208f413 commit 0d2f91f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
# `pyproject_TEMPLATE.toml.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
#
[build-system]
requires = ["flit_core >=3.2,<4"]
requires = ["flit_core==3.10.0"]
build-backend = "flit_core.buildapi"

[project]
Expand Down

0 comments on commit 0d2f91f

Please sign in to comment.