Skip to content

Releases: rickeylev/rules_python

0.1.1-rc1

27 Nov 23:09
Compare
Choose a tag to compare
0.1.1-rc1 Pre-release
Pre-release

For more detailed setup instructions, see https://rules-python.readthedocs.io/en/latest/getting-started.html

Using Bzlmod

Add to your MODULE.bazel file:

bazel_dep(name = "rules_python", version = "0.1.1-rc1")

pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")

pip.parse(
    hub_name = "pip",
    python_version = "3.11",
    requirements_lock = "//:requirements_lock.txt",
)

use_repo(pip, "pip")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_python",
    sha256 = "03b5b7df209b73952866d5411d7c9c20ac0806aed1258d176e5d59c1cfa4d12d",
    strip_prefix = "rules_python-0.1.1-rc1",
    url = "https://github.com/bazelbuild/rules_python/releases/download/0.1.1-rc1/rules_python-0.1.1-rc1.tar.gz",
)

load("@rules_python//python:repositories.bzl", "py_repositories")

py_repositories()

Gazelle plugin

Paste this snippet into your WORKSPACE file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_python_gazelle_plugin",
    sha256 = "03b5b7df209b73952866d5411d7c9c20ac0806aed1258d176e5d59c1cfa4d12d",
    strip_prefix = "rules_python-0.1.1-rc1/gazelle",
    url = "https://github.com/bazelbuild/rules_python/releases/download/0.1.1-rc1/rules_python-0.1.1-rc1.tar.gz",
)

# To compile the rules_python gazelle extension from source,
# we must fetch some third-party go dependencies that it uses.

load("@rules_python_gazelle_plugin//:deps.bzl", _py_gazelle_deps = "gazelle_deps")

_py_gazelle_deps()

Full Changelog: https://github.com/rickeylev/rules_python/commits/0.1.1-rc1

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy