-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from rohaquinlop/issue-39
feat(build): #39 upgrade bazel rules_python
- Loading branch information
Showing
20 changed files
with
589 additions
and
430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ automathon/errors/__pycache__/ | |
build/ | ||
.idea/ | ||
bazel-* | ||
.pytest_cache/ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
############################################################################### | ||
# Bazel now uses Bzlmod by default to manage external dependencies. | ||
# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel. | ||
# | ||
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958 | ||
############################################################################### | ||
""" | ||
Bazel build file for the Python module. | ||
Imports the `rules_python` dependency and the `pip` extension from the | ||
`rules_python` repository. | ||
""" | ||
|
||
bazel_dep(name = "rules_python", version = "0.34.0") | ||
|
||
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") | ||
|
||
pip.parse( | ||
hub_name = "pip", | ||
python_version = "3.11", | ||
requirements_lock = "//:requirements.txt", | ||
) | ||
|
||
use_repo(pip, "pip") |
Oops, something went wrong.