From 8ed7cbb4429943b6b80ba0d979328f365d306a15 Mon Sep 17 00:00:00 2001 From: Jan Schlicht Date: Tue, 20 Sep 2022 15:27:03 +0200 Subject: [PATCH] fix: analytics client not started correctly by fl-operator (#39) The fl-operator expects any FL client image to be started with "python /app/main.py". The analytics client image has been restructured to be started that way. --- .../analytics-client/Dockerfile | 13 +- .../__main__.py => main.py} | 0 .../analytics-client/requirements.txt | 250 +++++++++--------- .../python/fl_suite/analytics/_analytics.py | 4 +- 4 files changed, 134 insertions(+), 133 deletions(-) rename components/kubeflow-pipeline/pipeline_components/analytics-client/{flwr_analytics_client/__main__.py => main.py} (100%) diff --git a/components/kubeflow-pipeline/pipeline_components/analytics-client/Dockerfile b/components/kubeflow-pipeline/pipeline_components/analytics-client/Dockerfile index e857276..a30d9e9 100644 --- a/components/kubeflow-pipeline/pipeline_components/analytics-client/Dockerfile +++ b/components/kubeflow-pipeline/pipeline_components/analytics-client/Dockerfile @@ -2,12 +2,13 @@ FROM python:3.10 LABEL org.opencontainers.image.source https://github.com/katulu-io/fl-suite -COPY requirements.txt /pipelines/ -RUN python3 -m pip install --no-cache-dir -r /pipelines/requirements.txt && \ - rm /pipelines/requirements.txt +COPY requirements.txt /app/ +RUN python3 -m pip install --no-cache-dir -r /app/requirements.txt && \ + rm /app/requirements.txt -COPY flwr_analytics_client /pipelines/component/flwr_analytics_client +COPY flwr_analytics_client /app/flwr_analytics_client/ +COPY main.py /app/ -ENV PYTHONPATH "${PYTHONPATH}:/pipelines/component" +ENV PYTHONPATH="${PYTHONPATH}:/app" -ENTRYPOINT [ "python3", "-m", "flwr_analytics_client" ] +ENTRYPOINT [ "python3", "/app/main.py" ] diff --git a/components/kubeflow-pipeline/pipeline_components/analytics-client/flwr_analytics_client/__main__.py b/components/kubeflow-pipeline/pipeline_components/analytics-client/main.py similarity index 100% rename from components/kubeflow-pipeline/pipeline_components/analytics-client/flwr_analytics_client/__main__.py rename to components/kubeflow-pipeline/pipeline_components/analytics-client/main.py diff --git a/components/kubeflow-pipeline/pipeline_components/analytics-client/requirements.txt b/components/kubeflow-pipeline/pipeline_components/analytics-client/requirements.txt index cc88dda..783a136 100644 --- a/components/kubeflow-pipeline/pipeline_components/analytics-client/requirements.txt +++ b/components/kubeflow-pipeline/pipeline_components/analytics-client/requirements.txt @@ -1,170 +1,170 @@ -crlibm==1.0.3; python_version >= "3.7" \ +crlibm==1.0.3 ; python_version >= "3.8" and python_version < "3.12" \ + --hash=sha256:13c31e207cf6ac19b9a27a38f8cf4b5ad19e5d7b2e06daaf111e7fc22d2f637e \ --hash=sha256:2592ceec4f7b26579049f63f637d8bdeef82a4465999c35d71124623b82c7a33 \ + --hash=sha256:28044e908dec4d85b5eff8b22459687c4302460a56ac12baf6ec220ba1d693c2 \ + --hash=sha256:420bca4a622152f74196b2e9af3fe3d38ac8b54dc8c228746fa9f46094f69b5e \ + --hash=sha256:48e17981f90d69c6bb0013f68bacbe7a157de864a533d15dd196ca7e98348a35 \ --hash=sha256:5ee43fcc10e1be0c3fa47503c452f34f83b3c86b274f1fb0f7872b7e53cef861 \ - --hash=sha256:d8b045de7187904833738092e334d17d4c53bd7ef88732635fb2b4e220a30bc6 \ --hash=sha256:6fffdaa6c470826df1c892e358a6308b9c989ce15627146e945ab42dcb28eabe \ - --hash=sha256:420bca4a622152f74196b2e9af3fe3d38ac8b54dc8c228746fa9f46094f69b5e \ - --hash=sha256:28044e908dec4d85b5eff8b22459687c4302460a56ac12baf6ec220ba1d693c2 \ - --hash=sha256:f98c2d1a656104c8e47fb293cb29224c45a24eaad4a1096e2b14a935abe748d5 \ - --hash=sha256:13c31e207cf6ac19b9a27a38f8cf4b5ad19e5d7b2e06daaf111e7fc22d2f637e \ - --hash=sha256:48e17981f90d69c6bb0013f68bacbe7a157de864a533d15dd196ca7e98348a35 -diffprivlib==0.5.2; python_version >= "3.7" \ - --hash=sha256:3bbe171c241d233a8d52c3cc36632c839fc9b30ec27d9ae5ce6d650e65f0b829 \ - --hash=sha256:0f7278d9d655214590899999da317eda9762dc9d8dd9feb8c3735e706ecf82a1 -flwr==1.0.0; python_version >= "3.7" and python_version < "4.0" \ + --hash=sha256:d8b045de7187904833738092e334d17d4c53bd7ef88732635fb2b4e220a30bc6 \ + --hash=sha256:f98c2d1a656104c8e47fb293cb29224c45a24eaad4a1096e2b14a935abe748d5 +diffprivlib==0.5.2 ; python_version >= "3.8" and python_version < "3.12" \ + --hash=sha256:0f7278d9d655214590899999da317eda9762dc9d8dd9feb8c3735e706ecf82a1 \ + --hash=sha256:3bbe171c241d233a8d52c3cc36632c839fc9b30ec27d9ae5ce6d650e65f0b829 +flwr==1.0.0 ; python_version >= "3.8" and python_version < "3.12" \ --hash=sha256:2cd2fed40392a39cea96c143fa53607e8280fa0ead56add4ba04530c4ea295a6 \ --hash=sha256:f4f1c3020ab3088d7b8f9ff2614c061cc7561d004f4fd2aa54aadf361527f70b -grpcio==1.48.0; python_version >= "3.7" and python_version < "4.0" \ - --hash=sha256:4a049a032144641ed5d073535c0dc69eb6029187cc729a66946c86dcc8eec3a1 \ - --hash=sha256:f8bc76f5cd95f5476e5285fe5d3704a9332586a569fbbccef551b0b6f7a270f9 \ - --hash=sha256:448d397fe88e9fef8170f019b86abdc4d554ae311aaf4dbff1532fde227d3308 \ - --hash=sha256:8f9b6b6f7c83869d2316c5d13f953381881a16741275a34ec5ed5762f11b206e \ - --hash=sha256:5bd8541c4b6b43c9024496d30b4a12346325d3a17a1f3c80ad8924caed1e35c3 \ - --hash=sha256:877d33aeba05ae0b9e81761a694914ed33613f655c35f6bbcf4ebbcb984e0167 \ - --hash=sha256:cd01a8201fd8ab2ce496f7e65975da1f1e629eac8eea84ead0fd77e32e4350cd \ +grpcio==1.48.0 ; python_version >= "3.8" and python_version < "3.12" \ --hash=sha256:0388da923dff58ba7f711233e41c2b749b5817b8e0f137a107672d9c15a1009c \ - --hash=sha256:8dcffdb8921fd88857ae350fd579277a5f9315351e89ed9094ef28927a46d40d \ + --hash=sha256:059e9d58b5aba7fb9eabe3a4d2ac49e1dcbc2b54b0f166f6475e40b7f4435343 \ + --hash=sha256:0ecba22f25ccde2442be7e7dd7fa746905d628f03312b4a0c9961f0d99771f53 \ + --hash=sha256:111fb2f5f4a069f331ae23106145fd16dd4e1112ca223858a922068614dac6d2 \ + --hash=sha256:13dad31f5155fa555d393511cc8108c41b1b5b54dc4c24c27d4694ddd7a78fad \ + --hash=sha256:1f3f142579f58def64c0850f0bb0eb1b425ae885f5669dda5b73ade64ad2b753 \ --hash=sha256:2138c50331232f56178c2b36dcfa6ad67aad705fe410955f3b2a53d722191b89 \ - --hash=sha256:af2d80f142da2a6af45204a5ca2374e2747af07a99de54a1164111e169a761ff \ + --hash=sha256:34f5917f0c49a04633dc12d483c8aee6f6d9f69133b700214d3703f72a72f501 \ + --hash=sha256:41b65166779d7dafac4c98380ac19f690f1c5fe18083a71d370df87b24dd30ff \ + --hash=sha256:448d397fe88e9fef8170f019b86abdc4d554ae311aaf4dbff1532fde227d3308 \ + --hash=sha256:4a049a032144641ed5d073535c0dc69eb6029187cc729a66946c86dcc8eec3a1 \ --hash=sha256:59284bd4cdf47c147c26d91aca693765318d524328f6ece2a1a0b85a12a362af \ - --hash=sha256:cc3ebfe356c0c6750379cd194bf2b7e5d1d2f29db1832358f05a73e9290db98c \ - --hash=sha256:dc2619a31339e1c53731f54761f1a2cb865d3421f690e00ef3e92f90d2a0c5ae \ - --hash=sha256:7df637405de328a54c1c8c08a3206f974c7a577730f90644af4c3400b7bfde2d \ - --hash=sha256:9e73b95969a579798bfbeb85d376695cce5172357fb52e450467ceb8e7365152 \ - --hash=sha256:059e9d58b5aba7fb9eabe3a4d2ac49e1dcbc2b54b0f166f6475e40b7f4435343 \ + --hash=sha256:5bd8541c4b6b43c9024496d30b4a12346325d3a17a1f3c80ad8924caed1e35c3 \ + --hash=sha256:5fe3af539d2f50891ed93aed3064ffbcc38bf848aa3f7ed1fbedcce139c57302 \ + --hash=sha256:60843d8184e171886dd7a93d6672e2ef0b08dfd4f88da7421c10b46b6e031ac4 \ + --hash=sha256:656c6f6f7b815bca3054780b8cdfa1e4e37cd36c887a48558d00c2cf85f31697 \ + --hash=sha256:7b820696a5ce7b98f459f234698cb323f89b355373789188efa126d7f47a2a92 \ + --hash=sha256:7cccbf6db31f2a78e1909047ff69620f94a4e6e53251858e9502fbbff5714b48 \ --hash=sha256:7cebcf645170f0c82ef71769544f9ac4515993a4d367f5900aba2eb4ecd2a32f \ + --hash=sha256:7df637405de328a54c1c8c08a3206f974c7a577730f90644af4c3400b7bfde2d \ + --hash=sha256:7ec264a7fb413e0c804a7a48a6f7d7212742955a60724c44d793da35a8f30873 \ + --hash=sha256:877d33aeba05ae0b9e81761a694914ed33613f655c35f6bbcf4ebbcb984e0167 \ --hash=sha256:8af3a8845df35b838104d6fb1ae7f4969d248cf037fa2794916d31e917346f72 \ - --hash=sha256:a1ef40975ec9ced6c17ce7fbec9825823da782fa606f0b92392646ff3886f198 \ - --hash=sha256:7cccbf6db31f2a78e1909047ff69620f94a4e6e53251858e9502fbbff5714b48 \ - --hash=sha256:1f3f142579f58def64c0850f0bb0eb1b425ae885f5669dda5b73ade64ad2b753 \ - --hash=sha256:656c6f6f7b815bca3054780b8cdfa1e4e37cd36c887a48558d00c2cf85f31697 \ - --hash=sha256:cba4538e8a2ef123ea570e7b1d62162e158963c2471e35d79eb9690c971a10c0 \ + --hash=sha256:8dcffdb8921fd88857ae350fd579277a5f9315351e89ed9094ef28927a46d40d \ + --hash=sha256:8f9b6b6f7c83869d2316c5d13f953381881a16741275a34ec5ed5762f11b206e \ --hash=sha256:9daa67820fafceec6194ed1686c1783816e62d6756ff301ba93e682948836846 \ - --hash=sha256:7ec264a7fb413e0c804a7a48a6f7d7212742955a60724c44d793da35a8f30873 \ + --hash=sha256:9e73b95969a579798bfbeb85d376695cce5172357fb52e450467ceb8e7365152 \ + --hash=sha256:a1ef40975ec9ced6c17ce7fbec9825823da782fa606f0b92392646ff3886f198 \ --hash=sha256:a2b1b33b92359388b8164807313dcbb3317101b038a5d54342982560329d958f \ - --hash=sha256:7b820696a5ce7b98f459f234698cb323f89b355373789188efa126d7f47a2a92 \ - --hash=sha256:e4dfae66ebc165c46c5b7048eb554472ee72fbaab2c2c2da7f9b1621c81e077c \ - --hash=sha256:f7115038edce33b494e0138b0bd31a2eb6595d45e2eed23be46bc32886feb741 \ + --hash=sha256:a4ed57f4e3d91259551e6765782b22d9e8b8178fec43ebf8e1b2c392c4ced37b \ + --hash=sha256:ae3fd135666448058fe277d93c10e0f18345fbcbb015c4642de2fa3db6f0c205 \ + --hash=sha256:af2d80f142da2a6af45204a5ca2374e2747af07a99de54a1164111e169a761ff \ --hash=sha256:b4e996282238943ca114628255be61980e38b25f73a08ae2ffd02b63eaf70d3a \ - --hash=sha256:13dad31f5155fa555d393511cc8108c41b1b5b54dc4c24c27d4694ddd7a78fad \ - --hash=sha256:c84b9d90b2641963de98b35bb7a2a51f78119fe5bd00ef27246ba9f4f0835e36 \ - --hash=sha256:41b65166779d7dafac4c98380ac19f690f1c5fe18083a71d370df87b24dd30ff \ --hash=sha256:b890e5f5fbc21cb994894f73ecb2faaa66697d8debcb228a5adb0622b9bec3b2 \ - --hash=sha256:5fe3af539d2f50891ed93aed3064ffbcc38bf848aa3f7ed1fbedcce139c57302 \ - --hash=sha256:a4ed57f4e3d91259551e6765782b22d9e8b8178fec43ebf8e1b2c392c4ced37b \ - --hash=sha256:60843d8184e171886dd7a93d6672e2ef0b08dfd4f88da7421c10b46b6e031ac4 \ - --hash=sha256:0ecba22f25ccde2442be7e7dd7fa746905d628f03312b4a0c9961f0d99771f53 \ - --hash=sha256:34f5917f0c49a04633dc12d483c8aee6f6d9f69133b700214d3703f72a72f501 \ - --hash=sha256:f4c4ad8ad7e2cf3a272cbc96734d56635e6543939022f17e0c4487f7d2a45bf9 \ - --hash=sha256:111fb2f5f4a069f331ae23106145fd16dd4e1112ca223858a922068614dac6d2 \ --hash=sha256:beb0573daa49889efcfea0a6e995b4f39d481aa1b94e1257617406ef417b56a6 \ + --hash=sha256:c84b9d90b2641963de98b35bb7a2a51f78119fe5bd00ef27246ba9f4f0835e36 \ + --hash=sha256:cba4538e8a2ef123ea570e7b1d62162e158963c2471e35d79eb9690c971a10c0 \ + --hash=sha256:cc3ebfe356c0c6750379cd194bf2b7e5d1d2f29db1832358f05a73e9290db98c \ + --hash=sha256:cd01a8201fd8ab2ce496f7e65975da1f1e629eac8eea84ead0fd77e32e4350cd \ --hash=sha256:ce70254a082cb767217b2fdee374cc79199d338d46140753438cd6d67c609b2f \ - --hash=sha256:ae3fd135666448058fe277d93c10e0f18345fbcbb015c4642de2fa3db6f0c205 \ - --hash=sha256:eaf4bb73819863440727195411ab3b5c304f6663625e66f348e91ebe0a039306 -iterators==0.0.2; python_version >= "3.7" and python_version < "4.0" \ - --hash=sha256:ac2a9d8af1dd9eed051ccab4a1905a1343d66bbc9f451567d94f6e2744f30fce \ - --hash=sha256:4f6a5b39c3c724edd5c7231a589d463ad50357cdc35494a3c71730795b78eb50 -joblib==1.1.0; python_version >= "3.8" \ - --hash=sha256:f21f109b3c7ff9d95f8387f752d0d9c34a02aa2f7060c2135f465da0e5160ff6 \ - --hash=sha256:4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35 -numpy==1.23.2; python_version >= "3.8" \ - --hash=sha256:e603ca1fb47b913942f3e660a15e55a9ebca906857edfea476ae5f0fe9b457d5 \ - --hash=sha256:633679a472934b1c20a12ed0c9a6c9eb167fbb4cb89031939bfd03dd9dbc62b8 \ + --hash=sha256:dc2619a31339e1c53731f54761f1a2cb865d3421f690e00ef3e92f90d2a0c5ae \ + --hash=sha256:e4dfae66ebc165c46c5b7048eb554472ee72fbaab2c2c2da7f9b1621c81e077c \ + --hash=sha256:eaf4bb73819863440727195411ab3b5c304f6663625e66f348e91ebe0a039306 \ + --hash=sha256:f4c4ad8ad7e2cf3a272cbc96734d56635e6543939022f17e0c4487f7d2a45bf9 \ + --hash=sha256:f7115038edce33b494e0138b0bd31a2eb6595d45e2eed23be46bc32886feb741 \ + --hash=sha256:f8bc76f5cd95f5476e5285fe5d3704a9332586a569fbbccef551b0b6f7a270f9 +iterators==0.0.2 ; python_version >= "3.8" and python_version < "3.12" \ + --hash=sha256:4f6a5b39c3c724edd5c7231a589d463ad50357cdc35494a3c71730795b78eb50 \ + --hash=sha256:ac2a9d8af1dd9eed051ccab4a1905a1343d66bbc9f451567d94f6e2744f30fce +joblib==1.1.0 ; python_version >= "3.8" and python_version < "3.12" \ + --hash=sha256:4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35 \ + --hash=sha256:f21f109b3c7ff9d95f8387f752d0d9c34a02aa2f7060c2135f465da0e5160ff6 +numpy==1.23.2 ; python_version >= "3.8" and python_version < "3.12" \ --hash=sha256:17e5226674f6ea79e14e3b91bfbc153fdf3ac13f5cc54ee7bc8fdbe820a32da0 \ - --hash=sha256:bdc02c0235b261925102b1bd586579b7158e9d0d07ecb61148a1799214a4afd5 \ - --hash=sha256:df28dda02c9328e122661f399f7655cdcbcf22ea42daa3650a26bce08a187450 \ - --hash=sha256:8ebf7e194b89bc66b78475bd3624d92980fca4e5bb86dda08d677d786fefc414 \ - --hash=sha256:dc76bca1ca98f4b122114435f83f1fcf3c0fe48e4e6f660e07996abf2f53903c \ - --hash=sha256:ecfdd68d334a6b97472ed032b5b37a30d8217c097acfff15e8452c710e775524 \ + --hash=sha256:2bd879d3ca4b6f39b7770829f73278b7c5e248c91d538aab1e506c628353e47f \ + --hash=sha256:4f41f5bf20d9a521f8cab3a34557cd77b6f205ab2116651f12959714494268b0 \ --hash=sha256:5593f67e66dea4e237f5af998d31a43e447786b2154ba1ad833676c788f37cde \ - --hash=sha256:ac987b35df8c2a2eab495ee206658117e9ce867acf3ccb376a19e83070e69418 \ - --hash=sha256:d98addfd3c8728ee8b2c49126f3c44c703e2b005d4a95998e2167af176a9e722 \ + --hash=sha256:5e28cd64624dc2354a349152599e55308eb6ca95a13ce6a7d5679ebff2962913 \ + --hash=sha256:633679a472934b1c20a12ed0c9a6c9eb167fbb4cb89031939bfd03dd9dbc62b8 \ + --hash=sha256:806970e69106556d1dd200e26647e9bee5e2b3f1814f9da104a943e8d548ca38 \ + --hash=sha256:806cc25d5c43e240db709875e947076b2826f47c2c340a5a2f36da5bb10c58d6 \ + --hash=sha256:8247f01c4721479e482cc2f9f7d973f3f47810cbc8c65e38fd1bbd3141cc9842 \ + --hash=sha256:8ebf7e194b89bc66b78475bd3624d92980fca4e5bb86dda08d677d786fefc414 \ --hash=sha256:8ecb818231afe5f0f568c81f12ce50f2b828ff2b27487520d85eb44c71313b9e \ + --hash=sha256:8f9d84a24889ebb4c641a9b99e54adb8cab50972f0166a3abc14c3b93163f074 \ --hash=sha256:909c56c4d4341ec8315291a105169d8aae732cfb4c250fbc375a1efb7a844f8f \ - --hash=sha256:8247f01c4721479e482cc2f9f7d973f3f47810cbc8c65e38fd1bbd3141cc9842 \ + --hash=sha256:9b83d48e464f393d46e8dd8171687394d39bc5abfe2978896b77dc2604e8635d \ + --hash=sha256:ac987b35df8c2a2eab495ee206658117e9ce867acf3ccb376a19e83070e69418 \ + --hash=sha256:b78d00e48261fbbd04aa0d7427cf78d18401ee0abd89c7559bbf422e5b1c7d01 \ --hash=sha256:b8b97a8a87cadcd3f94659b4ef6ec056261fa1e1c3317f4193ac231d4df70215 \ --hash=sha256:bd5b7ccae24e3d8501ee5563e82febc1771e73bd268eef82a1e8d2b4d556ae66 \ - --hash=sha256:9b83d48e464f393d46e8dd8171687394d39bc5abfe2978896b77dc2604e8635d \ - --hash=sha256:dec198619b7dbd6db58603cd256e092bcadef22a796f778bf87f8592b468441d \ - --hash=sha256:4f41f5bf20d9a521f8cab3a34557cd77b6f205ab2116651f12959714494268b0 \ - --hash=sha256:806cc25d5c43e240db709875e947076b2826f47c2c340a5a2f36da5bb10c58d6 \ - --hash=sha256:8f9d84a24889ebb4c641a9b99e54adb8cab50972f0166a3abc14c3b93163f074 \ + --hash=sha256:bdc02c0235b261925102b1bd586579b7158e9d0d07ecb61148a1799214a4afd5 \ + --hash=sha256:be6b350dfbc7f708d9d853663772a9310783ea58f6035eec649fb9c4371b5389 \ --hash=sha256:c403c81bb8ffb1c993d0165a11493fd4bf1353d258f6997b3ee288b0a48fce77 \ --hash=sha256:cf8c6aed12a935abf2e290860af8e77b26a042eb7f2582ff83dc7ed5f963340c \ - --hash=sha256:5e28cd64624dc2354a349152599e55308eb6ca95a13ce6a7d5679ebff2962913 \ - --hash=sha256:806970e69106556d1dd200e26647e9bee5e2b3f1814f9da104a943e8d548ca38 \ - --hash=sha256:2bd879d3ca4b6f39b7770829f73278b7c5e248c91d538aab1e506c628353e47f \ - --hash=sha256:be6b350dfbc7f708d9d853663772a9310783ea58f6035eec649fb9c4371b5389 \ - --hash=sha256:b78d00e48261fbbd04aa0d7427cf78d18401ee0abd89c7559bbf422e5b1c7d01 -protobuf==3.20.1; python_version >= "3.7" and python_version < "4.0" \ - --hash=sha256:3cc797c9d15d7689ed507b165cd05913acb992d78b379f6014e013f9ecb20996 \ - --hash=sha256:ff8d8fa42675249bb456f5db06c00de6c2f4c27a065955917b28c4f15978b9c3 \ - --hash=sha256:cd68be2559e2a3b84f517fb029ee611546f7812b1fdd0aa2ecc9bc6ec0e4fdde \ - --hash=sha256:9016d01c91e8e625141d24ec1b20fed584703e527d28512aa8c8707f105a683c \ - --hash=sha256:32ca378605b41fd180dfe4e14d3226386d8d1b002ab31c969c366549e66a2bb7 \ - --hash=sha256:9be73ad47579abc26c12024239d3540e6b765182a91dbc88e23658ab71767153 \ + --hash=sha256:d98addfd3c8728ee8b2c49126f3c44c703e2b005d4a95998e2167af176a9e722 \ + --hash=sha256:dc76bca1ca98f4b122114435f83f1fcf3c0fe48e4e6f660e07996abf2f53903c \ + --hash=sha256:dec198619b7dbd6db58603cd256e092bcadef22a796f778bf87f8592b468441d \ + --hash=sha256:df28dda02c9328e122661f399f7655cdcbcf22ea42daa3650a26bce08a187450 \ + --hash=sha256:e603ca1fb47b913942f3e660a15e55a9ebca906857edfea476ae5f0fe9b457d5 \ + --hash=sha256:ecfdd68d334a6b97472ed032b5b37a30d8217c097acfff15e8452c710e775524 +protobuf==3.20.1 ; python_version >= "3.8" and python_version < "3.12" \ + --hash=sha256:06059eb6953ff01e56a25cd02cca1a9649a75a7e65397b5b9b4e929ed71d10cf \ --hash=sha256:097c5d8a9808302fb0da7e20edf0b8d4703274d140fd25c5edabddcde43e081f \ - --hash=sha256:e250a42f15bf9d5b09fe1b293bdba2801cd520a9f5ea2d7fb7536d4441811d20 \ - --hash=sha256:cdee09140e1cd184ba9324ec1df410e7147242b94b5f8b0c64fc89e38a8ba531 \ - --hash=sha256:af0ebadc74e281a517141daad9d0f2c5d93ab78e9d455113719a45a49da9db4e \ - --hash=sha256:755f3aee41354ae395e104d62119cb223339a8f3276a0cd009ffabfcdd46bb0c \ + --hash=sha256:284f86a6207c897542d7e956eb243a36bb8f9564c1742b253462386e96c6b78f \ + --hash=sha256:32ca378605b41fd180dfe4e14d3226386d8d1b002ab31c969c366549e66a2bb7 \ + --hash=sha256:3cc797c9d15d7689ed507b165cd05913acb992d78b379f6014e013f9ecb20996 \ --hash=sha256:62f1b5c4cd6c5402b4e2d63804ba49a327e0c386c99b1675c8a0fefda23b2067 \ - --hash=sha256:06059eb6953ff01e56a25cd02cca1a9649a75a7e65397b5b9b4e929ed71d10cf \ - --hash=sha256:cb29edb9eab15742d791e1025dd7b6a8f6fcb53802ad2f6e3adcb102051063ab \ --hash=sha256:69ccfdf3657ba59569c64295b7d51325f91af586f8d5793b734260dfe2e94e2c \ - --hash=sha256:dd5789b2948ca702c17027c84c2accb552fc30f4622a98ab5c51fcfe8c50d3e7 \ - --hash=sha256:77053d28427a29987ca9caf7b72ccafee011257561259faba8dd308fda9a8739 \ --hash=sha256:6f50601512a3d23625d8a85b1638d914a0970f17920ff39cec63aaef80a93fb7 \ - --hash=sha256:284f86a6207c897542d7e956eb243a36bb8f9564c1742b253462386e96c6b78f \ --hash=sha256:7403941f6d0992d40161aa8bb23e12575637008a5a02283a930addc0508982f9 \ + --hash=sha256:755f3aee41354ae395e104d62119cb223339a8f3276a0cd009ffabfcdd46bb0c \ + --hash=sha256:77053d28427a29987ca9caf7b72ccafee011257561259faba8dd308fda9a8739 \ + --hash=sha256:7e371f10abe57cee5021797126c93479f59fccc9693dafd6bd5633ab67808a91 \ + --hash=sha256:9016d01c91e8e625141d24ec1b20fed584703e527d28512aa8c8707f105a683c \ + --hash=sha256:9be73ad47579abc26c12024239d3540e6b765182a91dbc88e23658ab71767153 \ + --hash=sha256:af0ebadc74e281a517141daad9d0f2c5d93ab78e9d455113719a45a49da9db4e \ + --hash=sha256:cb29edb9eab15742d791e1025dd7b6a8f6fcb53802ad2f6e3adcb102051063ab \ + --hash=sha256:cd68be2559e2a3b84f517fb029ee611546f7812b1fdd0aa2ecc9bc6ec0e4fdde \ + --hash=sha256:cdee09140e1cd184ba9324ec1df410e7147242b94b5f8b0c64fc89e38a8ba531 \ --hash=sha256:db977c4ca738dd9ce508557d4fce0f5aebd105e158c725beec86feb1f6bc20d8 \ - --hash=sha256:7e371f10abe57cee5021797126c93479f59fccc9693dafd6bd5633ab67808a91 -scikit-learn==1.1.2; python_version >= "3.8" \ - --hash=sha256:7c22d1305b16f08d57751a4ea36071e2215efb4c09cb79183faa4e8e82a3dbf8 \ - --hash=sha256:6c840f662b5d3377c4ccb8be1fc21bb52cb5d8b8790f8d6bf021739f84e543cf \ + --hash=sha256:dd5789b2948ca702c17027c84c2accb552fc30f4622a98ab5c51fcfe8c50d3e7 \ + --hash=sha256:e250a42f15bf9d5b09fe1b293bdba2801cd520a9f5ea2d7fb7536d4441811d20 \ + --hash=sha256:ff8d8fa42675249bb456f5db06c00de6c2f4c27a065955917b28c4f15978b9c3 +scikit-learn==1.1.2 ; python_version >= "3.8" and python_version < "3.12" \ + --hash=sha256:1c8fecb7c9984d9ec2ea48898229f98aad681a0873e0935f2b7f724fbce4a047 \ --hash=sha256:2b8db962360c93554cab7bb3c096c4a24695da394dd4b3c3f13409f409b425bc \ + --hash=sha256:2f46c6e3ff1054a5ec701646dcfd61d43b8ecac4d416014daed8843cf4c33d4d \ --hash=sha256:3e7d1fc817867a350133f937aaebcafbc06192517cbdf0cf7e5774ad4d1adb9f \ + --hash=sha256:407e9a1cb9e6ba458a539986a9bd25546a757088095b3aab91d465b79a760d37 \ + --hash=sha256:567417dbbe6a6278399c3e6daf1654414a5a1a4d818d28f251fa7fc28730a1bf \ + --hash=sha256:589d46f28460469f444b898223b13d99db9463e1038dc581ba698111f612264b \ --hash=sha256:5ec3ea40d467966821843210c02117d82b097b54276fdcfb50f4dfb5c60dbe39 \ - --hash=sha256:bbef6ea1c012ff9f3e6f6e9ca006b8772d8383e177b898091e68fbd9b3f840f9 \ - --hash=sha256:a90ca42fe8242fd6ff56cda2fecc5fca586a88a24ab602d275d2d0dcc0b928fb \ + --hash=sha256:6c840f662b5d3377c4ccb8be1fc21bb52cb5d8b8790f8d6bf021739f84e543cf \ + --hash=sha256:76800652fb6d6bf527bce36ecc2cc25738b28fe1a17bd294a218fff8e8bd6d50 \ + --hash=sha256:7c22d1305b16f08d57751a4ea36071e2215efb4c09cb79183faa4e8e82a3dbf8 \ --hash=sha256:a682ec0f82b6f30fb07486daed1c8001b6683cc66b51877644dfc532bece6a18 \ - --hash=sha256:c33e16e9a165af6012f5be530ccfbb672e2bc5f9b840238a05eb7f6694304e3f \ - --hash=sha256:f94c0146bad51daef919c402a3da8c1c6162619653e1c00c92baa168fda292f2 \ - --hash=sha256:2f46c6e3ff1054a5ec701646dcfd61d43b8ecac4d416014daed8843cf4c33d4d \ + --hash=sha256:a90ca42fe8242fd6ff56cda2fecc5fca586a88a24ab602d275d2d0dcc0b928fb \ --hash=sha256:b1e706deca9b2ad87ae27dafd5ac4e8eff01b6db492ed5c12cef4735ec5f21ea \ - --hash=sha256:567417dbbe6a6278399c3e6daf1654414a5a1a4d818d28f251fa7fc28730a1bf \ + --hash=sha256:bbef6ea1c012ff9f3e6f6e9ca006b8772d8383e177b898091e68fbd9b3f840f9 \ + --hash=sha256:c33e16e9a165af6012f5be530ccfbb672e2bc5f9b840238a05eb7f6694304e3f \ --hash=sha256:d6f232779023c3b060b80b5c82e5823723bc424dcac1d1a148aa2492c54d245d \ - --hash=sha256:589d46f28460469f444b898223b13d99db9463e1038dc581ba698111f612264b \ - --hash=sha256:76800652fb6d6bf527bce36ecc2cc25738b28fe1a17bd294a218fff8e8bd6d50 \ - --hash=sha256:1c8fecb7c9984d9ec2ea48898229f98aad681a0873e0935f2b7f724fbce4a047 \ - --hash=sha256:407e9a1cb9e6ba458a539986a9bd25546a757088095b3aab91d465b79a760d37 -scipy==1.9.0; python_version >= "3.8" and python_version < "3.12" \ + --hash=sha256:f94c0146bad51daef919c402a3da8c1c6162619653e1c00c92baa168fda292f2 +scipy==1.9.0 ; python_version >= "3.8" and python_version < "3.12" \ + --hash=sha256:01c2015e132774feefe059d5354055fec6b751d7a7d70ad2cf5ce314e7426e2a \ --hash=sha256:0424d1bbbfa51d5ddaa16d067fd593863c9f2fb7c6840c32f8a08a8832f8e7a4 \ - --hash=sha256:8f2232c9d9119ec356240255a715a289b3a33be828c3e4abac11fd052ce15b1e \ - --hash=sha256:e2004d2a3c397b26ca78e67c9d320153a1a9b71ae713ad33f4a3a3ab3d79cc65 \ - --hash=sha256:45f0d6c0d6e55582d3b8f5c58ad4ca4259a02affb190f89f06c8cc02e21bba81 \ - --hash=sha256:79dd7876614fc2869bf5d311ef33962d2066ea888bc66c80fd4fa80f8772e5a9 \ --hash=sha256:10417935486b320d98536d732a58362e3d37e84add98c251e070c59a6bfe0863 \ - --hash=sha256:adb6c438c6ef550e2bb83968e772b9690cb421f2c6073f9c2cb6af15ee538bc9 \ - --hash=sha256:8d541db2d441ef87afb60c4a2addb00c3af281633602a4967e733ef4b7050504 \ - --hash=sha256:97a1f1e51ea30782d7baa8d0c52f72c3f9f05cb609cf1b990664231c5102bccd \ - --hash=sha256:16207622570af10f9e6a2cdc7da7a9660678852477adbcd056b6d1057a036fef \ - --hash=sha256:bb687d245b6963673c639f318eea7e875d1ba147a67925586abed3d6f39bb7d8 \ - --hash=sha256:73b704c5eea9be811919cae4caacf3180dd9212d9aed08477c1d2ba14900a9de \ --hash=sha256:12005d30894e4fe7b247f7233ba0801a341f887b62e2eb99034dd6f2a8a33ad6 \ - --hash=sha256:fc58c3fcb8a724b703ffbc126afdca5a8353d4d5945d5c92db85617e165299e7 \ - --hash=sha256:01c2015e132774feefe059d5354055fec6b751d7a7d70ad2cf5ce314e7426e2a \ - --hash=sha256:f7c3c578ff556333f3890c2df6c056955d53537bb176698359088108af73a58f \ - --hash=sha256:e2ac088ea4aa61115b96b47f5f3d94b3fa29554340b6629cd2bfe6b0521ee33b \ + --hash=sha256:16207622570af10f9e6a2cdc7da7a9660678852477adbcd056b6d1057a036fef \ + --hash=sha256:45f0d6c0d6e55582d3b8f5c58ad4ca4259a02affb190f89f06c8cc02e21bba81 \ --hash=sha256:5d1b9cf3771fd921f7213b4b886ab2606010343bb36259b544a816044576d69e \ - --hash=sha256:d3a326673ac5afa9ef5613a61626b9ec15c8f7222b4ecd1ce0fd8fcba7b83c59 \ --hash=sha256:693b3fe2e7736ce0dbc72b4d933798eb6ca8ce51b8b934e3f547cc06f48b2afb \ + --hash=sha256:73b704c5eea9be811919cae4caacf3180dd9212d9aed08477c1d2ba14900a9de \ + --hash=sha256:79dd7876614fc2869bf5d311ef33962d2066ea888bc66c80fd4fa80f8772e5a9 \ --hash=sha256:7bad16b91918bf3288089a78a4157e04892ea6475fb7a1d9bcdf32c30c8a3dba \ + --hash=sha256:8d541db2d441ef87afb60c4a2addb00c3af281633602a4967e733ef4b7050504 \ + --hash=sha256:8f2232c9d9119ec356240255a715a289b3a33be828c3e4abac11fd052ce15b1e \ + --hash=sha256:97a1f1e51ea30782d7baa8d0c52f72c3f9f05cb609cf1b990664231c5102bccd \ + --hash=sha256:adb6c438c6ef550e2bb83968e772b9690cb421f2c6073f9c2cb6af15ee538bc9 \ + --hash=sha256:bb687d245b6963673c639f318eea7e875d1ba147a67925586abed3d6f39bb7d8 \ --hash=sha256:bd490f77f35800d5620f4d9af669e372d9a88db1f76ef219e1609cc4ecdd1a24 \ - --hash=sha256:c0dfd7d2429452e7e94904c6a3af63cbaa3cf51b348bd9d35b42db7e9ad42791 -six==1.16.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.3.0" \ - --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 \ - --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 -threadpoolctl==3.1.0; python_version >= "3.8" \ + --hash=sha256:c0dfd7d2429452e7e94904c6a3af63cbaa3cf51b348bd9d35b42db7e9ad42791 \ + --hash=sha256:d3a326673ac5afa9ef5613a61626b9ec15c8f7222b4ecd1ce0fd8fcba7b83c59 \ + --hash=sha256:e2004d2a3c397b26ca78e67c9d320153a1a9b71ae713ad33f4a3a3ab3d79cc65 \ + --hash=sha256:e2ac088ea4aa61115b96b47f5f3d94b3fa29554340b6629cd2bfe6b0521ee33b \ + --hash=sha256:f7c3c578ff556333f3890c2df6c056955d53537bb176698359088108af73a58f \ + --hash=sha256:fc58c3fcb8a724b703ffbc126afdca5a8353d4d5945d5c92db85617e165299e7 +six==1.16.0 ; python_version >= "3.8" and python_version < "3.12" \ + --hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \ + --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 +threadpoolctl==3.1.0 ; python_version >= "3.8" and python_version < "3.12" \ --hash=sha256:8b99adda265feb6773280df41eece7b2e6561b772d21ffd52e372f999024907b \ --hash=sha256:a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380 diff --git a/components/kubeflow-pipeline/python/fl_suite/analytics/_analytics.py b/components/kubeflow-pipeline/python/fl_suite/analytics/_analytics.py index 223ad99..4b125bd 100644 --- a/components/kubeflow-pipeline/python/fl_suite/analytics/_analytics.py +++ b/components/kubeflow-pipeline/python/fl_suite/analytics/_analytics.py @@ -89,8 +89,8 @@ def prepare_analytics_client( 'cat << EOF > "$2/Dockerfile"\n' f"FROM {analytics_client_base}\n" "RUN python -m pip install --no-cache-dir $0\n" - "COPY data.py /pipelines/component/flwr_analytics_client/data.py\n" - 'ENTRYPOINT [ "python3", "/pipelines/component/flwr_analytics_client" ]\n' + "COPY data.py /app/flwr_analytics_client/data.py\n" + 'ENTRYPOINT [ "python3", "/app/main.py" ]\n' "EOF\n" 'ls "$2"', InputValuePlaceholder("pip_packages"),