Skip to content

Commit bb32d39

Browse files
committed
Fix FIPS compatibility: use stack-specific binaries for pip, setuptools, flit-core, poetry-core
- pip 26.1.2: separate cflinuxfs4/cflinuxfs5 builds (removes cflinuxfs4 binary used on cflinuxfs5) - setuptools 84.0.0: separate cflinuxfs4/cflinuxfs5 builds (replaces any-stack binary) - flit-core 4.0.2: separate cflinuxfs4/cflinuxfs5 builds (replaces any-stack 3.12.0) - poetry-core 2.4.1: separate cflinuxfs4/cflinuxfs5 builds (replaces cflinuxfs4 binary used on cflinuxfs5) - pip 25.2: narrowed to cflinuxfs3 only Fixes ssl.SSLError: [CRYPTO] unknown error in pip truststore on FIPS-enabled cflinuxfs5. Root cause: pip/setuptools/flit-core/poetry-core were built on cflinuxfs4 (Ubuntu 22.04) and used on cflinuxfs5 (Ubuntu 24.04 FIPS), causing OpenSSL incompatibility. Related: cloudfoundry/buildpacks-ci#668
1 parent 5585417 commit bb32d39

1 file changed

Lines changed: 48 additions & 20 deletions

File tree

manifest.yml

Lines changed: 48 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,17 @@ dependency_deprecation_dates:
2727
dependencies:
2828
- name: flit-core
2929
version: 3.12.0
30-
uri: https://buildpacks.cloudfoundry.org/dependencies/flit-core/flit-core_3.12.0_linux_noarch_any-stack_ce08b8fa.tgz
31-
sha256: ce08b8faf08c0be08c4c8c5617442bf36641e8c1cc26e9c3ad295d70252edffb
30+
uri: https://buildpacks.cloudfoundry.org/dependencies/flit-core/flit-core_3.12.0_linux_noarch_cflinuxfs4_37419af8.tgz
31+
sha256: 37419af8c6ebb4e7665ef4d2ed0d92a7aa6d9f9dce2afcdf50467e6f1c8ea7ca
3232
cf_stacks:
3333
- cflinuxfs4
34+
source: https://files.pythonhosted.org/packages/69/59/b6fc2188dfc7ea4f936cd12b49d707f66a1cb7a1d2c16172963534db741b/flit_core-3.12.0.tar.gz
35+
source_sha256: 18f63100d6f94385c6ed57a72073443e1a71a4acb4339491615d0f16d6ff01b2
36+
- name: flit-core
37+
version: 3.12.0
38+
uri: https://buildpacks.cloudfoundry.org/dependencies/flit-core/flit-core_3.12.0_linux_noarch_cflinuxfs5_9c3d597a.tgz
39+
sha256: 9c3d597a1afaeca6d26268e0c225d6d10ea11353c3640be4bb9c49e68aa34ff9
40+
cf_stacks:
3441
- cflinuxfs5
3542
source: https://files.pythonhosted.org/packages/69/59/b6fc2188dfc7ea4f936cd12b49d707f66a1cb7a1d2c16172963534db741b/flit_core-3.12.0.tar.gz
3643
source_sha256: 18f63100d6f94385c6ed57a72073443e1a71a4acb4339491615d0f16d6ff01b2
@@ -77,18 +84,25 @@ dependencies:
7784
uri: https://buildpacks.cloudfoundry.org/dependencies/pip/pip_25.2_linux_noarch_any-stack_7dc1e988.tgz
7885
sha256: 7dc1e9882eb18f53150261c3a0cde7d5a39cdb18843c930ee01db8582f6b4f27
7986
cf_stacks:
80-
- cflinuxfs5
81-
- cflinuxfs4
8287
- cflinuxfs3
8388
source: https://files.pythonhosted.org/packages/20/16/650289cd3f43d5a2fadfd98c68bd1e1e7f2550a1a5326768cddfbcedb2c5/pip-25.2.tar.gz
8489
source_sha256: 578283f006390f85bb6282dffb876454593d637f5d1be494b5202ce4877e71f2
8590
- name: pip
86-
version: 26.0.1
87-
uri: https://buildpacks.cloudfoundry.org/dependencies/pip/pip_26.0.1_linux_noarch_any-stack_0750a38b.tgz
88-
sha256: 0750a38b65c6038a0415a4ff15ef2df61fcaa6c1e5ec9d8c6678222dbac91306
89-
cf_stacks: []
90-
source: https://files.pythonhosted.org/packages/48/83/0d7d4e9efe3344b8e2fe25d93be44f64b65364d3c8d7bc6dc90198d5422e/pip-26.0.1.tar.gz
91-
source_sha256: c4037d8a277c89b320abe636d59f91e6d0922d08a05b60e85e53b296613346d8
91+
version: 26.1.2
92+
uri: https://buildpacks.cloudfoundry.org/dependencies/pip/pip_26.1.2_linux_noarch_cflinuxfs4_a2b2fe1b.tgz
93+
sha256: a2b2fe1b50f588920eb93d7275455651bd7d6da9c387b34da23a358662ce1242
94+
cf_stacks:
95+
- cflinuxfs4
96+
source: https://files.pythonhosted.org/packages/01/91/47e7d486260f618783899587af63ccf7980fb60245c3e63dd4571c6b57ad/pip-26.1.2.tar.gz
97+
source_sha256: f49cd134c61cf2fd75e0ce2676db03e4054504a5a4986d00f8299ae632dc4605
98+
- name: pip
99+
version: 26.1.2
100+
uri: https://buildpacks.cloudfoundry.org/dependencies/pip/pip_26.1.2_linux_noarch_cflinuxfs5_f3516e0d.tgz
101+
sha256: f3516e0d1cb96b3d9cd781ba2ff401d56af6eb20c8e3643c943d01744e7fcb1f
102+
cf_stacks:
103+
- cflinuxfs5
104+
source: https://files.pythonhosted.org/packages/01/91/47e7d486260f618783899587af63ccf7980fb60245c3e63dd4571c6b57ad/pip-26.1.2.tar.gz
105+
source_sha256: f49cd134c61cf2fd75e0ce2676db03e4054504a5a4986d00f8299ae632dc4605
92106
- name: pipenv
93107
version: 2024.4.1
94108
uri: https://buildpacks.cloudfoundry.org/dependencies/pipenv/pipenv_2024.4.1_linux_noarch_cflinuxfs3_b3c74c78.tgz
@@ -114,14 +128,21 @@ dependencies:
114128
source: https://files.pythonhosted.org/packages/00/bf/9e5a536eae91adcbed6ee9c44861250bdfdc42bf2663680ce44cf5253fdb/pipenv-2026.5.2.tar.gz
115129
source_sha256: cf5985038a4cc4a1ffe9b48a2e580d2595245823dcc5684d07b1a53929ab47cc
116130
- name: poetry-core
117-
version: 2.3.2
118-
uri: https://buildpacks.cloudfoundry.org/dependencies/poetry-core/poetry-core_2.3.2_linux_noarch_cflinuxfs4_d72fba6b.tgz
119-
sha256: d72fba6be08a3ba47acce01261b14cd5a54100fea3c9e3ede867ca7d5c207397
131+
version: 2.4.1
132+
uri: https://buildpacks.cloudfoundry.org/dependencies/poetry-core/poetry-core_2.4.1_linux_noarch_cflinuxfs4_a87a0beb.tgz
133+
sha256: a87a0beb31ec3dcf74cafb3c98376784b2bdd422fb2c14d4a527b2ee9e3e4f2e
120134
cf_stacks:
121135
- cflinuxfs4
136+
source: https://files.pythonhosted.org/packages/b2/f2/fa88c58efb9a737c7e0e40e470edd0973fe33f0f277d24dcf17454b50974/poetry_core-2.4.1.tar.gz
137+
source_sha256: 89dceb6c10e9c6d8650a16183400e3c9ff9ddee13b0a81023b5575334a2b3744
138+
- name: poetry-core
139+
version: 2.4.1
140+
uri: https://buildpacks.cloudfoundry.org/dependencies/poetry-core/poetry-core_2.4.1_linux_noarch_cflinuxfs5_d80c5384.tgz
141+
sha256: d80c5384da537f0e70b45bd617342a5976a87d1e6ca7492a8c2bf9d94005bd28
142+
cf_stacks:
122143
- cflinuxfs5
123-
source: https://files.pythonhosted.org/packages/10/48/5b4f344c252ee2f75051b6bf7dfb68ab53aa00a107f5f8e5cbf795701dad/poetry_core-2.3.2.tar.gz
124-
source_sha256: 20cb71be27b774628da9f384effd9183dfceb53bcef84063248a8672aa47031f
144+
source: https://files.pythonhosted.org/packages/b2/f2/fa88c58efb9a737c7e0e40e470edd0973fe33f0f277d24dcf17454b50974/poetry_core-2.4.1.tar.gz
145+
source_sha256: 89dceb6c10e9c6d8650a16183400e3c9ff9ddee13b0a81023b5575334a2b3744
125146
- name: python
126147
version: 3.10.19
127148
uri: https://buildpacks.cloudfoundry.org/dependencies/python/python_3.10.19_linux_x64_cflinuxfs3_d754b71d.tgz
@@ -235,14 +256,21 @@ dependencies:
235256
source: https://www.python.org/ftp/python/3.14.4/Python-3.14.4.tgz
236257
source_sha256: b4c059d5895f030e7df9663894ce3732bfa1b32cd3ab2883980266a45ce3cb3b
237258
- name: setuptools
238-
version: 82.0.1
239-
uri: https://buildpacks.cloudfoundry.org/dependencies/setuptools/setuptools_82.0.1_linux_noarch_any-stack_934b4323.tgz
240-
sha256: 934b4323475131e04577a24eff3774f75a1219948f49c63afcd5e35a507d8ba7
259+
version: 84.0.0
260+
uri: https://buildpacks.cloudfoundry.org/dependencies/setuptools/setuptools_84.0.0_linux_noarch_cflinuxfs4_dc798ecb.tgz
261+
sha256: dc798ecb1eb2ed9375f94fa2b9bbedd0516f0184e6cb33598b94a4e3bbe4cc82
241262
cf_stacks:
242263
- cflinuxfs4
264+
source: https://files.pythonhosted.org/packages/6d/44/f5da03a8ef95d369145c5bb53050e7877c9f3d312e128605fd9504829143/setuptools-84.0.0.tar.gz
265+
source_sha256: f4695c21257f0d9b537ec2692c941d02ee143b7cc1276941349a546573b2ef73
266+
- name: setuptools
267+
version: 84.0.0
268+
uri: https://buildpacks.cloudfoundry.org/dependencies/setuptools/setuptools_84.0.0_linux_noarch_cflinuxfs5_bbb8d7e4.tgz
269+
sha256: bbb8d7e47d541c55ff4a99808118a4ffdd2a5418615d0236b8a33d76335c0a06
270+
cf_stacks:
243271
- cflinuxfs5
244-
source: https://files.pythonhosted.org/packages/4f/db/cfac1baf10650ab4d1c111714410d2fbb77ac5a616db26775db562c8fab2/setuptools-82.0.1.tar.gz
245-
source_sha256: 7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9
272+
source: https://files.pythonhosted.org/packages/6d/44/f5da03a8ef95d369145c5bb53050e7877c9f3d312e128605fd9504829143/setuptools-84.0.0.tar.gz
273+
source_sha256: f4695c21257f0d9b537ec2692c941d02ee143b7cc1276941349a546573b2ef73
246274
include_files:
247275
- CHANGELOG
248276
- CONTRIBUTING.md

0 commit comments

Comments
 (0)