From 821b71015c6b9326cffb8d644781751c9eca96c0 Mon Sep 17 00:00:00 2001 From: Alexander Hans Date: Wed, 17 Sep 2025 12:40:09 +0200 Subject: [PATCH] Rename pypi and set dev_dependency=True --- MODULE.bazel | 10 +- MODULE.bazel.lock | 270 ++++++++++++++++++++++----------------------- python/BUILD.bazel | 2 +- 3 files changed, 143 insertions(+), 139 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index d7c537a..2231746 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -24,10 +24,14 @@ python.toolchain( python_version = "3.10", ) -pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") +pip = use_extension( + "@rules_python//python/extensions:pip.bzl", + "pip", + dev_dependency = True, +) pip.parse( - hub_name = "pypi", + hub_name = "com_github_com_ahans_dbscan_pypi", python_version = "3.10", requirements_lock = "//python:requirements_lock.txt", ) -use_repo(pip, "pypi") +use_repo(pip, "com_github_com_ahans_dbscan_pypi") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index e9d821d..37147cb 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -297,7 +297,7 @@ "@@rules_python~//python/extensions:pip.bzl%pip": { "general": { "bzlTransitiveDigest": "Hlb5e4/4TcJGAhzQytVMVPfQq9nSFs0FqofQFNXrQuY=", - "usagesDigest": "fyQ39NFnv7pl6rR9LSlfjjcDGBzaeMiWmjXlUu84lk8=", + "usagesDigest": "dXtVlyn0P1RFqGjuQ1OOA+ldUMuWT5I9s6Ms4lF2b/s=", "recordedFileInputs": { "@@rules_python~//tools/publish/requirements_linux.txt": "d576e0d8542df61396a9b38deeaa183c24135ed5e8e73bb9622f298f2671811e", "@@//python/requirements_lock.txt": "28fe7f4a11c33dec4bc058ee949c65fa348fd170f42faa68e0c0b608379717d5", @@ -312,224 +312,224 @@ "RULES_PYTHON_REPO_DEBUG_VERBOSITY": null }, "generatedRepoSpecs": { - "pip_deps_310_numpy": { + "com_github_com_ahans_dbscan_pypi_310_attrs": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pip_deps//{name}:{target}", + "dep_template": "@com_github_com_ahans_dbscan_pypi//{name}:{target}", "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pip_deps_310", - "requirement": "numpy<=1.26.1" + "repo": "com_github_com_ahans_dbscan_pypi_310", + "requirement": "attrs==22.2.0 --hash=sha256:29e95c7f6778868dbd49170f98f8818f78f3dc5e0e37c0b1f474e3561b240836 --hash=sha256:c9227bfc2f01993c03f68db37d1d15c9690188323c067c641f1a35ca58185f99" } }, - "pip_deps_310_setuptools": { + "com_github_com_ahans_dbscan_pypi_310_exceptiongroup": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pip_deps//{name}:{target}", + "dep_template": "@com_github_com_ahans_dbscan_pypi//{name}:{target}", "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pip_deps_310", - "requirement": "setuptools<=70.3.0" + "repo": "com_github_com_ahans_dbscan_pypi_310", + "requirement": "exceptiongroup==1.1.1 --hash=sha256:232c37c63e4f682982c8b6459f33a8981039e5fb8756b2074364e5055c498c9e --hash=sha256:d484c3090ba2889ae2928419117447a14daf3c1231d5e30d0aae34f354f01785" } }, - "pip_deps_311_numpy": { + "com_github_com_ahans_dbscan_pypi_310_iniconfig": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pip_deps//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", - "repo": "pip_deps_311", - "requirement": "numpy<=1.26.1" + "dep_template": "@com_github_com_ahans_dbscan_pypi//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", + "repo": "com_github_com_ahans_dbscan_pypi_310", + "requirement": "iniconfig==2.0.0 --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374" } }, - "pip_deps_311_setuptools": { + "com_github_com_ahans_dbscan_pypi_310_joblib": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pip_deps//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", - "repo": "pip_deps_311", - "requirement": "setuptools<=70.3.0" + "dep_template": "@com_github_com_ahans_dbscan_pypi//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", + "repo": "com_github_com_ahans_dbscan_pypi_310", + "requirement": "joblib==1.2.0 --hash=sha256:091138ed78f800342968c523bdde947e7a305b8594b910a0fea2ab83c3c6d385 --hash=sha256:e1cee4a79e4af22881164f218d4311f60074197fb707e082e803b61f6d137018" } }, - "pip_deps_312_numpy": { + "com_github_com_ahans_dbscan_pypi_310_numpy": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pip_deps//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_12_host//:python", - "repo": "pip_deps_312", - "requirement": "numpy<=1.26.1" + "dep_template": "@com_github_com_ahans_dbscan_pypi//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", + "repo": "com_github_com_ahans_dbscan_pypi_310", + "requirement": "numpy==1.24.2 --hash=sha256:003a9f530e880cb2cd177cba1af7220b9aa42def9c4afc2a2fc3ee6be7eb2b22 --hash=sha256:150947adbdfeceec4e5926d956a06865c1c690f2fd902efede4ca6fe2e657c3f --hash=sha256:2620e8592136e073bd12ee4536149380695fbe9ebeae845b81237f986479ffc9 --hash=sha256:2eabd64ddb96a1239791da78fa5f4e1693ae2dadc82a76bc76a14cbb2b966e96 --hash=sha256:4173bde9fa2a005c2c6e2ea8ac1618e2ed2c1c6ec8a7657237854d42094123a0 --hash=sha256:4199e7cfc307a778f72d293372736223e39ec9ac096ff0a2e64853b866a8e18a --hash=sha256:4cecaed30dc14123020f77b03601559fff3e6cd0c048f8b5289f4eeabb0eb281 --hash=sha256:557d42778a6869c2162deb40ad82612645e21d79e11c1dc62c6e82a2220ffb04 --hash=sha256:63e45511ee4d9d976637d11e6c9864eae50e12dc9598f531c035265991910468 --hash=sha256:6524630f71631be2dabe0c541e7675db82651eb998496bbe16bc4f77f0772253 --hash=sha256:76807b4063f0002c8532cfeac47a3068a69561e9c8715efdad3c642eb27c0756 --hash=sha256:7de8fdde0003f4294655aa5d5f0a89c26b9f22c0a58790c38fae1ed392d44a5a --hash=sha256:889b2cc88b837d86eda1b17008ebeb679d82875022200c6e8e4ce6cf549b7acb --hash=sha256:92011118955724465fb6853def593cf397b4a1367495e0b59a7e69d40c4eb71d --hash=sha256:97cf27e51fa078078c649a51d7ade3c92d9e709ba2bfb97493007103c741f1d0 --hash=sha256:9a23f8440561a633204a67fb44617ce2a299beecf3295f0d13c495518908e910 --hash=sha256:a51725a815a6188c662fb66fb32077709a9ca38053f0274640293a14fdd22978 --hash=sha256:a77d3e1163a7770164404607b7ba3967fb49b24782a6ef85d9b5f54126cc39e5 --hash=sha256:adbdce121896fd3a17a77ab0b0b5eedf05a9834a18699db6829a64e1dfccca7f --hash=sha256:c29e6bd0ec49a44d7690ecb623a8eac5ab8a923bce0bea6293953992edf3a76a --hash=sha256:c72a6b2f4af1adfe193f7beb91ddf708ff867a3f977ef2ec53c0ffb8283ab9f5 --hash=sha256:d0a2db9d20117bf523dde15858398e7c0858aadca7c0f088ac0d6edd360e9ad2 --hash=sha256:e3ab5d32784e843fc0dd3ab6dcafc67ef806e6b6828dc6af2f689be0eb4d781d --hash=sha256:e428c4fbfa085f947b536706a2fc349245d7baa8334f0c5723c56a10595f9b95 --hash=sha256:e8d2859428712785e8a8b7d2b3ef0a1d1565892367b32f915c4a4df44d0e64f5 --hash=sha256:eef70b4fc1e872ebddc38cddacc87c19a3709c0e3e5d20bf3954c147b1dd941d --hash=sha256:f64bb98ac59b3ea3bf74b02f13836eb2e24e48e0ab0145bbda646295769bd780 --hash=sha256:f9006288bcf4895917d02583cf3411f98631275bc67cce355a7f39f8c14338fa" } }, - "pip_deps_312_setuptools": { + "com_github_com_ahans_dbscan_pypi_310_packaging": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pip_deps//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_12_host//:python", - "repo": "pip_deps_312", - "requirement": "setuptools<=70.3.0" + "dep_template": "@com_github_com_ahans_dbscan_pypi//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", + "repo": "com_github_com_ahans_dbscan_pypi_310", + "requirement": "packaging==23.0 --hash=sha256:714ac14496c3e68c99c29b00845f7a2b85f3bb6f1078fd9f72fd20f0570002b2 --hash=sha256:b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97" } }, - "pip_deps_38_numpy": { + "com_github_com_ahans_dbscan_pypi_310_pluggy": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pip_deps//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_8_host//:python", - "repo": "pip_deps_38", - "requirement": "numpy<=1.26.1" + "dep_template": "@com_github_com_ahans_dbscan_pypi//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", + "repo": "com_github_com_ahans_dbscan_pypi_310", + "requirement": "pluggy==1.0.0 --hash=sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159 --hash=sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3" } }, - "pip_deps_38_setuptools": { + "com_github_com_ahans_dbscan_pypi_310_pytest": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pip_deps//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_8_host//:python", - "repo": "pip_deps_38", - "requirement": "setuptools<=70.3.0" + "dep_template": "@com_github_com_ahans_dbscan_pypi//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", + "repo": "com_github_com_ahans_dbscan_pypi_310", + "requirement": "pytest==7.2.1 --hash=sha256:c7c6ca206e93355074ae32f7403e8ea12163b1163c976fee7d4d84027c162be5 --hash=sha256:d45e0952f3727241918b8fd0f376f5ff6b301cc0777c6f9a556935c92d8a7d42" } }, - "pip_deps_39_numpy": { + "com_github_com_ahans_dbscan_pypi_310_scikit_learn": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pip_deps//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_9_host//:python", - "repo": "pip_deps_39", - "requirement": "numpy<=1.26.1" + "dep_template": "@com_github_com_ahans_dbscan_pypi//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", + "repo": "com_github_com_ahans_dbscan_pypi_310", + "requirement": "scikit-learn==1.2.2 --hash=sha256:065e9673e24e0dc5113e2dd2b4ca30c9d8aa2fa90f4c0597241c93b63130d233 --hash=sha256:2dd3ffd3950e3d6c0c0ef9033a9b9b32d910c61bd06cb8206303fb4514b88a49 --hash=sha256:2e2642baa0ad1e8f8188917423dd73994bf25429f8893ddbe115be3ca3183584 --hash=sha256:44b47a305190c28dd8dd73fc9445f802b6ea716669cfc22ab1eb97b335d238b1 --hash=sha256:6477eed40dbce190f9f9e9d0d37e020815825b300121307942ec2110302b66a3 --hash=sha256:6fe83b676f407f00afa388dd1fdd49e5c6612e551ed84f3b1b182858f09e987d --hash=sha256:7d5312d9674bed14f73773d2acf15a3272639b981e60b72c9b190a0cffed5bad --hash=sha256:7f69313884e8eb311460cc2f28676d5e400bd929841a2c8eb8742ae78ebf7c20 --hash=sha256:8156db41e1c39c69aa2d8599ab7577af53e9e5e7a57b0504e116cc73c39138dd --hash=sha256:8429aea30ec24e7a8c7ed8a3fa6213adf3814a6efbea09e16e0a0c71e1a1a3d7 --hash=sha256:8b0670d4224a3c2d596fd572fb4fa673b2a0ccfb07152688ebd2ea0b8c61025c --hash=sha256:953236889928d104c2ef14027539f5f2609a47ebf716b8cbe4437e85dce42744 --hash=sha256:99cc01184e347de485bf253d19fcb3b1a3fb0ee4cea5ee3c43ec0cc429b6d29f --hash=sha256:9c710ff9f9936ba8a3b74a455ccf0dcf59b230caa1e9ba0223773c490cab1e51 --hash=sha256:ad66c3848c0a1ec13464b2a95d0a484fd5b02ce74268eaa7e0c697b904f31d6c --hash=sha256:bf036ea7ef66115e0d49655f16febfa547886deba20149555a41d28f56fd6d3c --hash=sha256:dfeaf8be72117eb61a164ea6fc8afb6dfe08c6f90365bde2dc16456e4bc8e45f --hash=sha256:e6e574db9914afcb4e11ade84fab084536a895ca60aadea3041e85b8ac963edb --hash=sha256:ea061bf0283bf9a9f36ea3c5d3231ba2176221bbd430abd2603b1c3b2ed85c89 --hash=sha256:fe0aa1a7029ed3e1dcbf4a5bc675aa3b1bc468d9012ecf6c6f081251ca47f590 --hash=sha256:fe175ee1dab589d2e1033657c5b6bec92a8a3b69103e3dd361b58014729975c3" } }, - "pip_deps_39_setuptools": { + "com_github_com_ahans_dbscan_pypi_310_scipy": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pip_deps//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_9_host//:python", - "repo": "pip_deps_39", - "requirement": "setuptools<=70.3.0" + "dep_template": "@com_github_com_ahans_dbscan_pypi//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", + "repo": "com_github_com_ahans_dbscan_pypi_310", + "requirement": "scipy==1.10.1 --hash=sha256:049a8bbf0ad95277ffba9b3b7d23e5369cc39e66406d60422c8cfef40ccc8415 --hash=sha256:07c3457ce0b3ad5124f98a86533106b643dd811dd61b548e78cf4c8786652f6f --hash=sha256:0f1564ea217e82c1bbe75ddf7285ba0709ecd503f048cb1236ae9995f64217bd --hash=sha256:1553b5dcddd64ba9a0d95355e63fe6c3fc303a8fd77c7bc91e77d61363f7433f --hash=sha256:15a35c4242ec5f292c3dd364a7c71a61be87a3d4ddcc693372813c0b73c9af1d --hash=sha256:1b4735d6c28aad3cdcf52117e0e91d6b39acd4272f3f5cd9907c24ee931ad601 --hash=sha256:2cf9dfb80a7b4589ba4c40ce7588986d6d5cebc5457cad2c2880f6bc2d42f3a5 --hash=sha256:39becb03541f9e58243f4197584286e339029e8908c46f7221abeea4b749fa88 --hash=sha256:43b8e0bcb877faf0abfb613d51026cd5cc78918e9530e375727bf0625c82788f --hash=sha256:4b3f429188c66603a1a5c549fb414e4d3bdc2a24792e061ffbd607d3d75fd84e --hash=sha256:4c0ff64b06b10e35215abce517252b375e580a6125fd5fdf6421b98efbefb2d2 --hash=sha256:51af417a000d2dbe1ec6c372dfe688e041a7084da4fdd350aeb139bd3fb55353 --hash=sha256:5678f88c68ea866ed9ebe3a989091088553ba12c6090244fdae3e467b1139c35 --hash=sha256:79c8e5a6c6ffaf3a2262ef1be1e108a035cf4f05c14df56057b64acc5bebffb6 --hash=sha256:7ff7f37b1bf4417baca958d254e8e2875d0cc23aaadbe65b3d5b3077b0eb23ea --hash=sha256:aaea0a6be54462ec027de54fca511540980d1e9eea68b2d5c1dbfe084797be35 --hash=sha256:bce5869c8d68cf383ce240e44c1d9ae7c06078a9396df68ce88a1230f93a30c1 --hash=sha256:cd9f1027ff30d90618914a64ca9b1a77a431159df0e2a195d8a9e8a04c78abf9 --hash=sha256:d925fa1c81b772882aa55bcc10bf88324dadb66ff85d548c71515f6689c6dac5 --hash=sha256:e7354fd7527a4b0377ce55f286805b34e8c54b91be865bac273f527e1b839019 --hash=sha256:fae8a7b898c42dffe3f7361c40d5952b6bf32d10c4569098d276b4c547905ee1" } }, - "pypi_310_attrs": { + "com_github_com_ahans_dbscan_pypi_310_threadpoolctl": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pypi//{name}:{target}", + "dep_template": "@com_github_com_ahans_dbscan_pypi//{name}:{target}", "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pypi_310", - "requirement": "attrs==22.2.0 --hash=sha256:29e95c7f6778868dbd49170f98f8818f78f3dc5e0e37c0b1f474e3561b240836 --hash=sha256:c9227bfc2f01993c03f68db37d1d15c9690188323c067c641f1a35ca58185f99" + "repo": "com_github_com_ahans_dbscan_pypi_310", + "requirement": "threadpoolctl==3.1.0 --hash=sha256:8b99adda265feb6773280df41eece7b2e6561b772d21ffd52e372f999024907b --hash=sha256:a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380" } }, - "pypi_310_exceptiongroup": { + "com_github_com_ahans_dbscan_pypi_310_tomli": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pypi//{name}:{target}", + "dep_template": "@com_github_com_ahans_dbscan_pypi//{name}:{target}", "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pypi_310", - "requirement": "exceptiongroup==1.1.1 --hash=sha256:232c37c63e4f682982c8b6459f33a8981039e5fb8756b2074364e5055c498c9e --hash=sha256:d484c3090ba2889ae2928419117447a14daf3c1231d5e30d0aae34f354f01785" + "repo": "com_github_com_ahans_dbscan_pypi_310", + "requirement": "tomli==2.0.1 --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc --hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" } }, - "pypi_310_iniconfig": { + "pip_deps_310_numpy": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pypi//{name}:{target}", + "dep_template": "@pip_deps//{name}:{target}", "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pypi_310", - "requirement": "iniconfig==2.0.0 --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374" + "repo": "pip_deps_310", + "requirement": "numpy<=1.26.1" } }, - "pypi_310_joblib": { + "pip_deps_310_setuptools": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pypi//{name}:{target}", + "dep_template": "@pip_deps//{name}:{target}", "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pypi_310", - "requirement": "joblib==1.2.0 --hash=sha256:091138ed78f800342968c523bdde947e7a305b8594b910a0fea2ab83c3c6d385 --hash=sha256:e1cee4a79e4af22881164f218d4311f60074197fb707e082e803b61f6d137018" + "repo": "pip_deps_310", + "requirement": "setuptools<=70.3.0" } }, - "pypi_310_numpy": { + "pip_deps_311_numpy": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pypi//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pypi_310", - "requirement": "numpy==1.24.2 --hash=sha256:003a9f530e880cb2cd177cba1af7220b9aa42def9c4afc2a2fc3ee6be7eb2b22 --hash=sha256:150947adbdfeceec4e5926d956a06865c1c690f2fd902efede4ca6fe2e657c3f --hash=sha256:2620e8592136e073bd12ee4536149380695fbe9ebeae845b81237f986479ffc9 --hash=sha256:2eabd64ddb96a1239791da78fa5f4e1693ae2dadc82a76bc76a14cbb2b966e96 --hash=sha256:4173bde9fa2a005c2c6e2ea8ac1618e2ed2c1c6ec8a7657237854d42094123a0 --hash=sha256:4199e7cfc307a778f72d293372736223e39ec9ac096ff0a2e64853b866a8e18a --hash=sha256:4cecaed30dc14123020f77b03601559fff3e6cd0c048f8b5289f4eeabb0eb281 --hash=sha256:557d42778a6869c2162deb40ad82612645e21d79e11c1dc62c6e82a2220ffb04 --hash=sha256:63e45511ee4d9d976637d11e6c9864eae50e12dc9598f531c035265991910468 --hash=sha256:6524630f71631be2dabe0c541e7675db82651eb998496bbe16bc4f77f0772253 --hash=sha256:76807b4063f0002c8532cfeac47a3068a69561e9c8715efdad3c642eb27c0756 --hash=sha256:7de8fdde0003f4294655aa5d5f0a89c26b9f22c0a58790c38fae1ed392d44a5a --hash=sha256:889b2cc88b837d86eda1b17008ebeb679d82875022200c6e8e4ce6cf549b7acb --hash=sha256:92011118955724465fb6853def593cf397b4a1367495e0b59a7e69d40c4eb71d --hash=sha256:97cf27e51fa078078c649a51d7ade3c92d9e709ba2bfb97493007103c741f1d0 --hash=sha256:9a23f8440561a633204a67fb44617ce2a299beecf3295f0d13c495518908e910 --hash=sha256:a51725a815a6188c662fb66fb32077709a9ca38053f0274640293a14fdd22978 --hash=sha256:a77d3e1163a7770164404607b7ba3967fb49b24782a6ef85d9b5f54126cc39e5 --hash=sha256:adbdce121896fd3a17a77ab0b0b5eedf05a9834a18699db6829a64e1dfccca7f --hash=sha256:c29e6bd0ec49a44d7690ecb623a8eac5ab8a923bce0bea6293953992edf3a76a --hash=sha256:c72a6b2f4af1adfe193f7beb91ddf708ff867a3f977ef2ec53c0ffb8283ab9f5 --hash=sha256:d0a2db9d20117bf523dde15858398e7c0858aadca7c0f088ac0d6edd360e9ad2 --hash=sha256:e3ab5d32784e843fc0dd3ab6dcafc67ef806e6b6828dc6af2f689be0eb4d781d --hash=sha256:e428c4fbfa085f947b536706a2fc349245d7baa8334f0c5723c56a10595f9b95 --hash=sha256:e8d2859428712785e8a8b7d2b3ef0a1d1565892367b32f915c4a4df44d0e64f5 --hash=sha256:eef70b4fc1e872ebddc38cddacc87c19a3709c0e3e5d20bf3954c147b1dd941d --hash=sha256:f64bb98ac59b3ea3bf74b02f13836eb2e24e48e0ab0145bbda646295769bd780 --hash=sha256:f9006288bcf4895917d02583cf3411f98631275bc67cce355a7f39f8c14338fa" + "dep_template": "@pip_deps//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "repo": "pip_deps_311", + "requirement": "numpy<=1.26.1" } }, - "pypi_310_packaging": { + "pip_deps_311_setuptools": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pypi//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pypi_310", - "requirement": "packaging==23.0 --hash=sha256:714ac14496c3e68c99c29b00845f7a2b85f3bb6f1078fd9f72fd20f0570002b2 --hash=sha256:b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97" + "dep_template": "@pip_deps//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_11_host//:python", + "repo": "pip_deps_311", + "requirement": "setuptools<=70.3.0" } }, - "pypi_310_pluggy": { + "pip_deps_312_numpy": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pypi//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pypi_310", - "requirement": "pluggy==1.0.0 --hash=sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159 --hash=sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3" + "dep_template": "@pip_deps//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_12_host//:python", + "repo": "pip_deps_312", + "requirement": "numpy<=1.26.1" } }, - "pypi_310_pytest": { + "pip_deps_312_setuptools": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pypi//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pypi_310", - "requirement": "pytest==7.2.1 --hash=sha256:c7c6ca206e93355074ae32f7403e8ea12163b1163c976fee7d4d84027c162be5 --hash=sha256:d45e0952f3727241918b8fd0f376f5ff6b301cc0777c6f9a556935c92d8a7d42" + "dep_template": "@pip_deps//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_12_host//:python", + "repo": "pip_deps_312", + "requirement": "setuptools<=70.3.0" } }, - "pypi_310_scikit_learn": { + "pip_deps_38_numpy": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pypi//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pypi_310", - "requirement": "scikit-learn==1.2.2 --hash=sha256:065e9673e24e0dc5113e2dd2b4ca30c9d8aa2fa90f4c0597241c93b63130d233 --hash=sha256:2dd3ffd3950e3d6c0c0ef9033a9b9b32d910c61bd06cb8206303fb4514b88a49 --hash=sha256:2e2642baa0ad1e8f8188917423dd73994bf25429f8893ddbe115be3ca3183584 --hash=sha256:44b47a305190c28dd8dd73fc9445f802b6ea716669cfc22ab1eb97b335d238b1 --hash=sha256:6477eed40dbce190f9f9e9d0d37e020815825b300121307942ec2110302b66a3 --hash=sha256:6fe83b676f407f00afa388dd1fdd49e5c6612e551ed84f3b1b182858f09e987d --hash=sha256:7d5312d9674bed14f73773d2acf15a3272639b981e60b72c9b190a0cffed5bad --hash=sha256:7f69313884e8eb311460cc2f28676d5e400bd929841a2c8eb8742ae78ebf7c20 --hash=sha256:8156db41e1c39c69aa2d8599ab7577af53e9e5e7a57b0504e116cc73c39138dd --hash=sha256:8429aea30ec24e7a8c7ed8a3fa6213adf3814a6efbea09e16e0a0c71e1a1a3d7 --hash=sha256:8b0670d4224a3c2d596fd572fb4fa673b2a0ccfb07152688ebd2ea0b8c61025c --hash=sha256:953236889928d104c2ef14027539f5f2609a47ebf716b8cbe4437e85dce42744 --hash=sha256:99cc01184e347de485bf253d19fcb3b1a3fb0ee4cea5ee3c43ec0cc429b6d29f --hash=sha256:9c710ff9f9936ba8a3b74a455ccf0dcf59b230caa1e9ba0223773c490cab1e51 --hash=sha256:ad66c3848c0a1ec13464b2a95d0a484fd5b02ce74268eaa7e0c697b904f31d6c --hash=sha256:bf036ea7ef66115e0d49655f16febfa547886deba20149555a41d28f56fd6d3c --hash=sha256:dfeaf8be72117eb61a164ea6fc8afb6dfe08c6f90365bde2dc16456e4bc8e45f --hash=sha256:e6e574db9914afcb4e11ade84fab084536a895ca60aadea3041e85b8ac963edb --hash=sha256:ea061bf0283bf9a9f36ea3c5d3231ba2176221bbd430abd2603b1c3b2ed85c89 --hash=sha256:fe0aa1a7029ed3e1dcbf4a5bc675aa3b1bc468d9012ecf6c6f081251ca47f590 --hash=sha256:fe175ee1dab589d2e1033657c5b6bec92a8a3b69103e3dd361b58014729975c3" + "dep_template": "@pip_deps//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_8_host//:python", + "repo": "pip_deps_38", + "requirement": "numpy<=1.26.1" } }, - "pypi_310_scipy": { + "pip_deps_38_setuptools": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pypi//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pypi_310", - "requirement": "scipy==1.10.1 --hash=sha256:049a8bbf0ad95277ffba9b3b7d23e5369cc39e66406d60422c8cfef40ccc8415 --hash=sha256:07c3457ce0b3ad5124f98a86533106b643dd811dd61b548e78cf4c8786652f6f --hash=sha256:0f1564ea217e82c1bbe75ddf7285ba0709ecd503f048cb1236ae9995f64217bd --hash=sha256:1553b5dcddd64ba9a0d95355e63fe6c3fc303a8fd77c7bc91e77d61363f7433f --hash=sha256:15a35c4242ec5f292c3dd364a7c71a61be87a3d4ddcc693372813c0b73c9af1d --hash=sha256:1b4735d6c28aad3cdcf52117e0e91d6b39acd4272f3f5cd9907c24ee931ad601 --hash=sha256:2cf9dfb80a7b4589ba4c40ce7588986d6d5cebc5457cad2c2880f6bc2d42f3a5 --hash=sha256:39becb03541f9e58243f4197584286e339029e8908c46f7221abeea4b749fa88 --hash=sha256:43b8e0bcb877faf0abfb613d51026cd5cc78918e9530e375727bf0625c82788f --hash=sha256:4b3f429188c66603a1a5c549fb414e4d3bdc2a24792e061ffbd607d3d75fd84e --hash=sha256:4c0ff64b06b10e35215abce517252b375e580a6125fd5fdf6421b98efbefb2d2 --hash=sha256:51af417a000d2dbe1ec6c372dfe688e041a7084da4fdd350aeb139bd3fb55353 --hash=sha256:5678f88c68ea866ed9ebe3a989091088553ba12c6090244fdae3e467b1139c35 --hash=sha256:79c8e5a6c6ffaf3a2262ef1be1e108a035cf4f05c14df56057b64acc5bebffb6 --hash=sha256:7ff7f37b1bf4417baca958d254e8e2875d0cc23aaadbe65b3d5b3077b0eb23ea --hash=sha256:aaea0a6be54462ec027de54fca511540980d1e9eea68b2d5c1dbfe084797be35 --hash=sha256:bce5869c8d68cf383ce240e44c1d9ae7c06078a9396df68ce88a1230f93a30c1 --hash=sha256:cd9f1027ff30d90618914a64ca9b1a77a431159df0e2a195d8a9e8a04c78abf9 --hash=sha256:d925fa1c81b772882aa55bcc10bf88324dadb66ff85d548c71515f6689c6dac5 --hash=sha256:e7354fd7527a4b0377ce55f286805b34e8c54b91be865bac273f527e1b839019 --hash=sha256:fae8a7b898c42dffe3f7361c40d5952b6bf32d10c4569098d276b4c547905ee1" + "dep_template": "@pip_deps//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_8_host//:python", + "repo": "pip_deps_38", + "requirement": "setuptools<=70.3.0" } }, - "pypi_310_threadpoolctl": { + "pip_deps_39_numpy": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pypi//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pypi_310", - "requirement": "threadpoolctl==3.1.0 --hash=sha256:8b99adda265feb6773280df41eece7b2e6561b772d21ffd52e372f999024907b --hash=sha256:a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380" + "dep_template": "@pip_deps//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_9_host//:python", + "repo": "pip_deps_39", + "requirement": "numpy<=1.26.1" } }, - "pypi_310_tomli": { + "pip_deps_39_setuptools": { "bzlFile": "@@rules_python~//python/private/pypi:whl_library.bzl", "ruleClassName": "whl_library", "attributes": { - "dep_template": "@pypi//{name}:{target}", - "python_interpreter_target": "@@rules_python~~python~python_3_10_host//:python", - "repo": "pypi_310", - "requirement": "tomli==2.0.1 --hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc --hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f" + "dep_template": "@pip_deps//{name}:{target}", + "python_interpreter_target": "@@rules_python~~python~python_3_9_host//:python", + "repo": "pip_deps_39", + "requirement": "setuptools<=70.3.0" } }, "rules_fuzzing_py_deps_310_absl_py": { @@ -3033,56 +3033,56 @@ ] } }, - "pip_deps": { + "com_github_com_ahans_dbscan_pypi": { "bzlFile": "@@rules_python~//python/private/pypi:hub_repository.bzl", "ruleClassName": "hub_repository", "attributes": { - "repo_name": "pip_deps", + "repo_name": "com_github_com_ahans_dbscan_pypi", "extra_hub_aliases": {}, "whl_map": { - "numpy": "{\"pip_deps_310_numpy\":[{\"version\":\"3.10\"}],\"pip_deps_311_numpy\":[{\"version\":\"3.11\"}],\"pip_deps_312_numpy\":[{\"version\":\"3.12\"}],\"pip_deps_38_numpy\":[{\"version\":\"3.8\"}],\"pip_deps_39_numpy\":[{\"version\":\"3.9\"}]}", - "setuptools": "{\"pip_deps_310_setuptools\":[{\"version\":\"3.10\"}],\"pip_deps_311_setuptools\":[{\"version\":\"3.11\"}],\"pip_deps_312_setuptools\":[{\"version\":\"3.12\"}],\"pip_deps_38_setuptools\":[{\"version\":\"3.8\"}],\"pip_deps_39_setuptools\":[{\"version\":\"3.9\"}]}" + "attrs": "{\"com_github_com_ahans_dbscan_pypi_310_attrs\":[{\"version\":\"3.10\"}]}", + "exceptiongroup": "{\"com_github_com_ahans_dbscan_pypi_310_exceptiongroup\":[{\"version\":\"3.10\"}]}", + "iniconfig": "{\"com_github_com_ahans_dbscan_pypi_310_iniconfig\":[{\"version\":\"3.10\"}]}", + "joblib": "{\"com_github_com_ahans_dbscan_pypi_310_joblib\":[{\"version\":\"3.10\"}]}", + "numpy": "{\"com_github_com_ahans_dbscan_pypi_310_numpy\":[{\"version\":\"3.10\"}]}", + "packaging": "{\"com_github_com_ahans_dbscan_pypi_310_packaging\":[{\"version\":\"3.10\"}]}", + "pluggy": "{\"com_github_com_ahans_dbscan_pypi_310_pluggy\":[{\"version\":\"3.10\"}]}", + "pytest": "{\"com_github_com_ahans_dbscan_pypi_310_pytest\":[{\"version\":\"3.10\"}]}", + "scikit_learn": "{\"com_github_com_ahans_dbscan_pypi_310_scikit_learn\":[{\"version\":\"3.10\"}]}", + "scipy": "{\"com_github_com_ahans_dbscan_pypi_310_scipy\":[{\"version\":\"3.10\"}]}", + "threadpoolctl": "{\"com_github_com_ahans_dbscan_pypi_310_threadpoolctl\":[{\"version\":\"3.10\"}]}", + "tomli": "{\"com_github_com_ahans_dbscan_pypi_310_tomli\":[{\"version\":\"3.10\"}]}" }, "packages": [ + "attrs", + "exceptiongroup", + "iniconfig", + "joblib", "numpy", - "setuptools" + "packaging", + "pluggy", + "pytest", + "scikit_learn", + "scipy", + "threadpoolctl", + "tomli" ], "groups": {} } }, - "pypi": { + "pip_deps": { "bzlFile": "@@rules_python~//python/private/pypi:hub_repository.bzl", "ruleClassName": "hub_repository", "attributes": { - "repo_name": "pypi", + "repo_name": "pip_deps", "extra_hub_aliases": {}, "whl_map": { - "attrs": "{\"pypi_310_attrs\":[{\"version\":\"3.10\"}]}", - "exceptiongroup": "{\"pypi_310_exceptiongroup\":[{\"version\":\"3.10\"}]}", - "iniconfig": "{\"pypi_310_iniconfig\":[{\"version\":\"3.10\"}]}", - "joblib": "{\"pypi_310_joblib\":[{\"version\":\"3.10\"}]}", - "numpy": "{\"pypi_310_numpy\":[{\"version\":\"3.10\"}]}", - "packaging": "{\"pypi_310_packaging\":[{\"version\":\"3.10\"}]}", - "pluggy": "{\"pypi_310_pluggy\":[{\"version\":\"3.10\"}]}", - "pytest": "{\"pypi_310_pytest\":[{\"version\":\"3.10\"}]}", - "scikit_learn": "{\"pypi_310_scikit_learn\":[{\"version\":\"3.10\"}]}", - "scipy": "{\"pypi_310_scipy\":[{\"version\":\"3.10\"}]}", - "threadpoolctl": "{\"pypi_310_threadpoolctl\":[{\"version\":\"3.10\"}]}", - "tomli": "{\"pypi_310_tomli\":[{\"version\":\"3.10\"}]}" + "numpy": "{\"pip_deps_310_numpy\":[{\"version\":\"3.10\"}],\"pip_deps_311_numpy\":[{\"version\":\"3.11\"}],\"pip_deps_312_numpy\":[{\"version\":\"3.12\"}],\"pip_deps_38_numpy\":[{\"version\":\"3.8\"}],\"pip_deps_39_numpy\":[{\"version\":\"3.9\"}]}", + "setuptools": "{\"pip_deps_310_setuptools\":[{\"version\":\"3.10\"}],\"pip_deps_311_setuptools\":[{\"version\":\"3.11\"}],\"pip_deps_312_setuptools\":[{\"version\":\"3.12\"}],\"pip_deps_38_setuptools\":[{\"version\":\"3.8\"}],\"pip_deps_39_setuptools\":[{\"version\":\"3.9\"}]}" }, "packages": [ - "attrs", - "exceptiongroup", - "iniconfig", - "joblib", "numpy", - "packaging", - "pluggy", - "pytest", - "scikit_learn", - "scipy", - "threadpoolctl", - "tomli" + "setuptools" ], "groups": {} } diff --git a/python/BUILD.bazel b/python/BUILD.bazel index 99eaaaa..018cc92 100644 --- a/python/BUILD.bazel +++ b/python/BUILD.bazel @@ -1,4 +1,4 @@ -load("@pypi//:requirements.bzl", "requirement") +load("@com_github_com_ahans_dbscan_pypi//:requirements.bzl", "requirement") load("@rules_python//python:defs.bzl", "py_binary", "py_test") load("@rules_python//python:pip.bzl", "compile_pip_requirements")