Skip to content

Commit 88b1283

Browse files
committed
util: requirements* files for bazel python
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent b2683ab commit 88b1283

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

flow/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,6 @@ filegroup(
271271

272272
compile_pip_requirements(
273273
name = "requirements",
274-
src = "requirements.in",
275-
requirements_txt = "requirements_lock.txt",
274+
src = "util/requirements.in",
275+
requirements_txt = "util/requirements_lock.txt",
276276
)

flow/MODULE.bazel

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ git_override(
2424
# module_name = "bazel-orfs", path = "../bazel-orfs"
2525
#)
2626

27-
2827
bazel_dep(name = "rules_python", version = "0.31.0")
2928

3029
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
@@ -37,11 +36,10 @@ pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
3736
pip.parse(
3837
hub_name = "orfs-pip",
3938
python_version = "3.12",
40-
requirements_lock = "//:requirements_lock.txt",
39+
requirements_lock = "//:util/requirements_lock.txt",
4140
)
4241
use_repo(pip, "orfs-pip")
4342

44-
4543
orfs = use_extension("@bazel-orfs//:extension.bzl", "orfs_repositories")
4644
orfs.default(
4745
# To build an ORFS image from a PR:

flow/MODULE.bazel.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ matplotlib==3.10.0 \
233233
--hash=sha256:d44cb942af1693cced2604c33a9abcef6205601c445f6d0dc531d813af8a2f5a \
234234
--hash=sha256:d907fddb39f923d011875452ff1eca29a9e7f21722b873e90db32e5d8ddff12e \
235235
--hash=sha256:fd44fc75522f58612ec4a33958a7e5552562b7705b42ef1b4f8c0818e304a363
236-
# via -r requirements.in
236+
# via -r util/requirements.in
237237
numpy==2.2.2 \
238238
--hash=sha256:02935e2c3c0c6cbe9c7955a8efa8908dd4221d7755644c59d1bba28b94fd334f \
239239
--hash=sha256:0349b025e15ea9d05c3d63f9657707a4e1d471128a3b1d876c095f328f8ff7f0 \
@@ -432,7 +432,7 @@ pyyaml==6.0.2 \
432432
--hash=sha256:efdca5630322a10774e8e98e1af481aad470dd62c3170801852d752aa7a783ba \
433433
--hash=sha256:f753120cb8181e736c57ef7636e83f31b9c0d1722c516f7e86cf15b7aa57ff12 \
434434
--hash=sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4
435-
# via -r requirements.in
435+
# via -r util/requirements.in
436436
six==1.17.0 \
437437
--hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \
438438
--hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81

0 commit comments

Comments
 (0)