Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Releases: ali5h/rules_pip

Release 4.0.0

25 Feb 03:13
f386001
Compare
Choose a tag to compare

Thanks to all the contributors.

new

  • Allow replacing pip dependencies with targets (#67)
http_archive(
    name = "com_github_ali5h_rules_pip",
    strip_prefix = "rules_pip-4.0.0",
    sha256 = "10285a51c6624519bd2ae079ea079eb97fe7d909003fc999b2d4bb28252057c8",
    urls = ["https://github.com/ali5h/rules_pip/archive/4.0.0.tar.gz"],
)

Release 3.0.0

03 Jul 19:37
f905f5b
Compare
Choose a tag to compare

new

  • Generate BUILD file with aliases for wheels packages (#36)
  • upgrade pip (#34)
  • pytest: allow customizing test runner args (#26)
  • always use dash in pkg name (#31), so you may need to update your BUILD files

fixes

  • Handle missing namespace packages (#28)

Also

  • do not compile by default (#37)
http_archive(
    name = "com_github_ali5h_rules_pip",
    strip_prefix = "rules_pip-3.0.0",
    sha256 = "630a7cab43a87927353efca116d20201df88fb443962bf01c7383245c7f3a623",
    urls = ["https://github.com/ali5h/rules_pip/archive/3.0.0.tar.gz"],
)

Release 2.1.1

22 Apr 20:17
Compare
Choose a tag to compare

fixed an issue with sorting dependencies that could cause cache misses, also fixed bazel 3.1.0 compatibility

Release 2.1.0

04 Apr 21:44
Compare
Choose a tag to compare
load("@bazel_tools//tools/build_defs/repo:git.bzl", "http_archive")

http_archive(
    name = "com_github_ali5h_rules_pip",
    strip_prefix = "rules_pip-2.1.0",
    sha256 = "c8c11f219642ab94cb3f4a5ff25aadda6fb6dcb0c77329021e843a7e7ba294d1",
    urls = ["https://github.com/ali5h/rules_pip/archive/2.1.0.tar.gz"],
)

Release 2.0.1

01 Jan 05:51
Compare
Choose a tag to compare

compile attribute was not being honored

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

http_archive(
    name = "com_github_ali5h_rules_pip",
    strip_prefix = "rules_pip-2.0.1",
    sha256 = "befa5df35a7cd6e8f230e50f66128b468b0d7fdd9d960090701efc40c349b42e",
    urls = ["https://github.com/ali5h/rules_pip/archive/2.0.1.tar.gz"],
)

Release 2.0.0

31 Dec 05:38
Compare
Choose a tag to compare
  • remove checked in binaries, and vendor all the dependencies
load("@bazel_tools//tools/build_defs/repo:git.bzl", "http_archive")

http_archive(
    name = "com_github_ali5h_rules_pip",
    strip_prefix = "rules_pip-2.0.0",
    sha256 = "45ed37fdc177f1aeb99d6769365dc664c59bbef0bf45460d158f2224c5fb75a1",
    urls = ["https://github.com/ali5h/rules_pip/archive/2.0.0.tar.gz"],
)

Release 1.1.0

18 Dec 08:46
db80b0c
Compare
Choose a tag to compare

add a compile step, which removes the limitation of only using pre-compiled reqs files

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

http_archive(
    name = "com_github_ali5h_rules_pip",
    strip_prefix = "rules_pip-1.1.0",
    sha256 = "12a0661d85c04ea4b763a1890bd3f8ec8d3b39d92ddd0bf86d596f470761a51d",
    urls = ["https://github.com/ali5h/rules_pip/archive/v1.1.0.tar.gz"],
)

Release 1.0.0

13 Dec 10:29
Compare
Choose a tag to compare
  • fixed issue with PEP 420 -- Implicit Namespace Packages
  • made wheels reproducible
  • drop requirement for providing minor python version

Release 0.5.0

22 Oct 21:09
Compare
Choose a tag to compare
  • add tensorflow import to import test
  • inject pip path into PYTHONPATH for the compile script
  • make whl and compile par files non-zipsafe so path injection works

Release 0.4.0

22 Oct 06:26
Compare
Choose a tag to compare

updated README and repo name