Skip to content

Commit

Permalink
Publish google-parfait/federated-language@v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
publish-to-bcr-bot[bot] committed Feb 13, 2025
1 parent 0cfe464 commit e0b8530
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 1 deletion.
70 changes: 70 additions & 0 deletions modules/federated_language/0.3.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

module(
name = "federated_language",
version = "0.3.0",
compatibility_level = 0,
)

bazel_dep(name = "protobuf", version = "26.0")
bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "rules_python", version = "0.38.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
python_version = "3.9",
)
python.toolchain(
python_version = "3.10",
)
python.toolchain(
python_version = "3.11",
)
python.toolchain(
is_default = True,
python_version = "3.12",
)
python.toolchain(
python_version = "3.13",
)
use_repo(python, python = "python_versions")

pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "pypi",
python_version = "3.9",
requirements_lock = "//:requirements_lock_3_9.txt",
)
pip.parse(
hub_name = "pypi",
python_version = "3.10",
requirements_lock = "//:requirements_lock_3_10.txt",
)
pip.parse(
hub_name = "pypi",
python_version = "3.11",
requirements_lock = "//:requirements_lock_3_11.txt",
)
pip.parse(
hub_name = "pypi",
python_version = "3.12",
requirements_lock = "//:requirements_lock_3_12.txt",
)
pip.parse(
hub_name = "pypi",
python_version = "3.13",
requirements_lock = "//:requirements_lock_3_13.txt",
)
use_repo(pip, "pypi")
24 changes: 24 additions & 0 deletions modules/federated_language/0.3.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

matrix:
platform: ["debian10", "macos", "ubuntu2004", "windows"]
bazel: [7.x, 8.x]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@federated_language//federated_language'
5 changes: 5 additions & 0 deletions modules/federated_language/0.3.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "sha256-1e+yuTJjNXsgZQGJ74tGqj18NZxS+dcMpluyW0hfCGk=",
"strip_prefix": "federated-language-0.3.0",
"url": "https://github.com/google-parfait/federated-language/releases/download/v0.3.0/federated-language-0.3.0.tar.gz"
}
3 changes: 2 additions & 1 deletion modules/federated_language/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
],
"versions": [
"0.1.0",
"0.2.0"
"0.2.0",
"0.3.0"
],
"yanked_versions": {}
}

0 comments on commit e0b8530

Please sign in to comment.