From fb6b618461bc48421d7dc44e83b40cc6e18f6ba4 Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 17:15:06 +0100 Subject: [PATCH] rules_pydeps@0.2.0 (#3296) Release: https://github.com/theoremlp/rules_pydeps/releases/tag/v0.2.0 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: Mark Elliot <123787712+mark-thm@users.noreply.github.com> --- modules/rules_pydeps/0.2.0/MODULE.bazel | 36 ++++++++++++++++++++++++ modules/rules_pydeps/0.2.0/presubmit.yml | 15 ++++++++++ modules/rules_pydeps/0.2.0/source.json | 5 ++++ modules/rules_pydeps/metadata.json | 3 +- 4 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 modules/rules_pydeps/0.2.0/MODULE.bazel create mode 100644 modules/rules_pydeps/0.2.0/presubmit.yml create mode 100644 modules/rules_pydeps/0.2.0/source.json diff --git a/modules/rules_pydeps/0.2.0/MODULE.bazel b/modules/rules_pydeps/0.2.0/MODULE.bazel new file mode 100644 index 00000000000..6f26fd8348d --- /dev/null +++ b/modules/rules_pydeps/0.2.0/MODULE.bazel @@ -0,0 +1,36 @@ +"rules_pydeps" + +module( + name = "rules_pydeps", + version = "0.2.0", +) + +bazel_dep(name = "bazel_skylib", version = "1.4.1") +bazel_dep(name = "buildifier_prebuilt", version = "7.3.1") +bazel_dep(name = "platforms", version = "0.0.8") +bazel_dep(name = "rules_python", version = "0.40.0") +bazel_dep(name = "rules_uv", version = "0.21.0") + +# configuration +PYTHON_VERSION = "3.12" + +PYTHON_VERSION_SNAKE = PYTHON_VERSION.replace(".", "_") + +python = use_extension("@rules_python//python/extensions:python.bzl", "python") +python.toolchain( + is_default = True, + python_version = PYTHON_VERSION, +) +use_repo(python, "python_" + PYTHON_VERSION_SNAKE, "python_versions") + +pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") +pip.parse( + enable_implicit_namespace_pkgs = True, + experimental_index_url = "https://pypi.org/simple", # use Bazel downloader + hub_name = "rules_pydeps_pip", + python_version = PYTHON_VERSION, + requirements_by_platform = { + "//pydeps/private:requirements.txt": "*", + }, +) +use_repo(pip, "rules_pydeps_pip") diff --git a/modules/rules_pydeps/0.2.0/presubmit.yml b/modules/rules_pydeps/0.2.0/presubmit.yml new file mode 100644 index 00000000000..37b7612ad10 --- /dev/null +++ b/modules/rules_pydeps/0.2.0/presubmit.yml @@ -0,0 +1,15 @@ +matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - macos_arm64 + bazel: + - 7.x +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - "@rules_pydeps//..." diff --git a/modules/rules_pydeps/0.2.0/source.json b/modules/rules_pydeps/0.2.0/source.json new file mode 100644 index 00000000000..5cac2dee7db --- /dev/null +++ b/modules/rules_pydeps/0.2.0/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-+SpMyPU0cn0jquh00zrjCWxnmw14Lz+xUCvFmN/p0Ew=", + "strip_prefix": "rules_pydeps-0.2.0", + "url": "https://github.com/theoremlp/rules_pydeps/releases/download/v0.2.0/rules_pydeps-0.2.0.tar.gz" +} diff --git a/modules/rules_pydeps/metadata.json b/modules/rules_pydeps/metadata.json index c27539283a0..befb28c5ea5 100644 --- a/modules/rules_pydeps/metadata.json +++ b/modules/rules_pydeps/metadata.json @@ -17,7 +17,8 @@ ], "versions": [ "0.1.1", - "0.1.2" + "0.1.2", + "0.2.0" ], "yanked_versions": {} }