Releases: jvolkman/rules_pycross
Releases · jvolkman/rules_pycross
v0.6.1
See the changelog.
Using Bzlmod:
Add to your MODULE.bazel
file:
bazel_dep(name = "rules_pycross", version = "0.6.1")
Using WORKSPACE
:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_pycross",
sha256 = "cef7fd594645a72af17e6748cd0e47743720632ce5c0e9f6b640cce0d185eeb3",
strip_prefix = "rules_pycross-0.6.1",
url = "https://github.com/jvolkman/rules_pycross/releases/download/v0.6.1/rules_pycross-v0.6.1.tar.gz",
)
# change this to something that works in your environment.
load("@python//3.12.0:defs.bzl", python_interpreter = "interpreter")
load("@rules_pycross//pycross:repositories.bzl", "rules_pycross_dependencies")
rules_pycross_dependencies(python_interpreter)
What's Changed
- feat: Implement UV lock translator by @ewianda in #106
- feat: Add default dependencies fields by @ewianda in #108
Full Changelog: v0.6.0...v0.6.1
v0.6.0
See the changelog.
Using Bzlmod:
Add to your MODULE.bazel
file:
bazel_dep(name = "rules_pycross", version = "0.6.0")
Using WORKSPACE
:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_pycross",
sha256 = "149ec8b3d353212b8a74ca126eaca27516f1c409a5d01d0215313698d53a7d9d",
strip_prefix = "rules_pycross-0.6.0",
url = "https://github.com/jvolkman/rules_pycross/releases/download/v0.6.0/rules_pycross-v0.6.0.tar.gz",
)
# change this to something that works in your environment.
load("@python//3.12.0:defs.bzl", python_interpreter = "interpreter")
load("@rules_pycross//pycross:repositories.bzl", "rules_pycross_dependencies")
rules_pycross_dependencies(python_interpreter)
What's Changed
- feat: expose package_annotations by @betaboon in #96
- feat(bzlmod): mark lock_import and lock_repos as reproducible by @betaboon in #99
- Bump repairwheel to 0.3.1 and pass the new --no-sys-paths param by @jvolkman in #102
Full Changelog: v0.5.4...v0.6.0
v0.5.4
See the changelog.
Using Bzlmod:
Add to your MODULE.bazel
file:
bazel_dep(name = "rules_pycross", version = "0.5.4")
Using WORKSPACE
:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_pycross",
sha256 = "a2aa4921a09ba749459b8e47580f259f36efc8b0763d7e2420590d73e7306f13",
strip_prefix = "rules_pycross-0.5.4",
url = "https://github.com/jvolkman/rules_pycross/releases/download/v0.5.4/rules_pycross-v0.5.4.tar.gz",
)
# change this to something that works in your environment.
load("@python//3.12.0:defs.bzl", python_interpreter = "interpreter")
load("@rules_pycross//pycross:repositories.bzl", "rules_pycross_dependencies")
rules_pycross_dependencies(python_interpreter)
What's Changed
- fix: Remove + signs from repo name to handle torch+cu112 version naming by @ewianda in #91
- fix: Don't generate pyc files on installation by @ewianda in #92
- Fix e2e tests by @jvolkman in #94
- Add all_whl_requirements similar to rules_python by @ewianda in #93
Full Changelog: v0.5.3...v0.5.4
v0.5.3
See the changelog.
Using Bzlmod:
Add to your MODULE.bazel
file:
bazel_dep(name = "rules_pycross", version = "0.5.3")
Using WORKSPACE
:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_pycross",
sha256 = "ae1ee76d6bd78c43a5036426da0f81a017c740d1dfa57dece8d3775968718b36",
strip_prefix = "rules_pycross-0.5.3",
url = "https://github.com/jvolkman/rules_pycross/releases/download/v0.5.3/rules_pycross-v0.5.3.tar.gz",
)
# change this to something that works in your environment.
load("@python//3.12.0:defs.bzl", python_interpreter = "interpreter")
load("@rules_pycross//pycross:repositories.bzl", "rules_pycross_dependencies")
rules_pycross_dependencies(python_interpreter)
What's Changed
- Fix local_wheels in repo context by @jvolkman in #80
- Mark toolchain exec and target interpreter targets as such by @jvolkman in #81
- Fix compatibility with rules_python 0.31+ by @jvolkman in #82
- Accomodate PDM monorepo setups by @plobsing in #67
- Fix canonical repo names for Bazel 7.1 by @jvolkman in #88
- fix: Add imports to allow experimental_python_import_all_repositories by @ewianda in #86
New Contributors
Full Changelog: v0.5.2...v0.5.3
v0.5.2
See the changelog.
Using Bzlmod:
Add to your MODULE.bazel
file:
bazel_dep(name = "rules_pycross", version = "0.5.2")
Using WORKSPACE
:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_pycross",
sha256 = "cfa3cdc7ce8b224f19fad68f29af2478fa680aed7a42435b0ab2bdcda4d72b9f",
strip_prefix = "rules_pycross-0.5.2",
url = "https://github.com/jvolkman/rules_pycross/releases/download/v0.5.2/rules_pycross-v0.5.2.tar.gz",
)
# change this to something that works in your environment.
load("@python//3.12.0:defs.bzl", python_interpreter = "interpreter")
load("@rules_pycross//pycross:repositories.bzl", "rules_pycross_dependencies")
rules_pycross_dependencies(python_interpreter)
What's Changed
- dev/fix smoke test cache by @jvolkman in #73
- Fix toolchain resolution issue when default version < requested version in lexicographical order by @jvolkman in #74
- Adds requirements.bzl to lock_repo by @jvolkman in #75
- Rename tests/smoke* -> e2e/ by @jvolkman in #76
- Use GLIBC 2.28 as default by @jvolkman in #77
- Fix toolchain config when default python version is X.Y instead of X.Y.Z by @jvolkman in #78
Full Changelog: v0.5.1...v0.5.2
v0.5.1
See the changelog.
Using Bzlmod:
Add to your MODULE.bazel
file:
bazel_dep(name = "rules_pycross", version = "0.5.1")
Using WORKSPACE
:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_pycross",
sha256 = "edc0ccb8b95a0064f130fa3e7f5d690af9f120243cab72858a265738847e3d51",
strip_prefix = "rules_pycross-0.5.1",
url = "https://github.com/jvolkman/rules_pycross/releases/download/v0.5.1/rules_pycross-v0.5.1.tar.gz",
)
# change this to something that works in your environment.
load("@python//3.12.0:defs.bzl", python_interpreter = "interpreter")
load("@rules_pycross//pycross:repositories.bzl", "rules_pycross_dependencies")
rules_pycross_dependencies(python_interpreter)
What's Changed
- Fix loads of pycross_lock_file_repo by @ahans in #71
- Bump repairwheel to 0.2.8 to fix an issue targeting non-x86_64 linux platforms by @jvolkman in #72
New Contributors
Full Changelog: v0.5.0...v0.5.1
v0.5.0
See the changelog.
Using Bzlmod:
Add to your MODULE.bazel
file:
bazel_dep(name = "rules_pycross", version = "0.5.0")
Using WORKSPACE
:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_pycross",
sha256 = "f16b985a9eb7cf3258d78f07662d052c42b8270d424e5bc85e7a52bd670991d2",
strip_prefix = "rules_pycross-0.5.0",
url = "https://github.com/jvolkman/rules_pycross/releases/download/v0.5.0/rules_pycross-v0.5.0.tar.gz",
)
# change this to something that works in your environment.
load("@python//3.12.0:defs.bzl", python_interpreter = "interpreter")
load("@rules_pycross//pycross:repositories.bzl", "rules_pycross_dependencies")
rules_pycross_dependencies(python_interpreter)
What's Changed
- Self-hosted dependencies (pycross using pycross) by @jvolkman in #53
- Update pre-commit config and run across the codebase. by @jvolkman in #54
- Rewrite the PDM translator to not depend on PDM by @jvolkman in #56
- Fix support for default python version when using pycross_register_for_python_toolchains by @jvolkman in #57
- Support lock generation in WORKSPACE by @jvolkman in #58
- Use the official pre-commit actions by @jvolkman in #60
- fix: pdm translator fails to resolve dependency if pre-release version is required by @betaboon in #59
- jvolkman_rules_pycross -> rules_pycross by @jvolkman in #62
- Remove target_environment from toolchain by @jvolkman in #64
- bzl_lock_generator refactoring by @jvolkman in #65
- Lock model tweaks by @jvolkman in #66
- 🎉 bzlmod support by @jvolkman in #68
- Tweaks for BCR by @jvolkman in #69
Full Changelog: v0.4...v0.5.0
0.4
http_archive(
name = "jvolkman_rules_pycross",
url = "https://github.com/jvolkman/rules_pycross/archive/refs/tags/v0.4.tar.gz",
sha256 = "ca98a1ed766b6052d40fc4340b5abc56e32b081dea5b228e55ea0bf83d72c550",
strip_prefix = "rules_pycross-0.4",
)
load("@jvolkman_rules_pycross//pycross:repositories.bzl", "rules_pycross_dependencies")
rules_pycross_dependencies()
# Or, if you're using a hermetic toolchain:
# rules_pycross_dependencies(python_interpreter_target = interpreter)
What's Changed
Full Changelog: v0.3...v0.4
0.3
http_archive(
name = "jvolkman_rules_pycross",
url = "https://github.com/jvolkman/rules_pycross/archive/refs/tags/v0.3.tar.gz",
sha256 = "ec150d5fe4dabd9dad6dea71a7ead3d491ce37221f310b5c161ad18e70e31e4b",
strip_prefix = "rules_pycross-0.3",
)
load("@jvolkman_rules_pycross//pycross:repositories.bzl", "rules_pycross_dependencies")
rules_pycross_dependencies()
# Or, if you're using a hermetic toolchain:
# rules_pycross_dependencies(python_interpreter_target = interpreter)
What's Changed
- Pdm 2.10.0 by @betaboon in #45
- [Easy] Fixed wheel builder bug. by @eaplatanios in #44
- Better support for complex wheel builds by @jvolkman in #48
- feat: add
package_ignore_dependencies
option by @betaboon in #49 - Better toolchain/environment setup, and integration tests by @jvolkman in #51
New Contributors
- @eaplatanios made their first contribution in #44
Full Changelog: v0.2...v0.3
0.2
http_archive(
name = "jvolkman_rules_pycross",
url = "https://github.com/jvolkman/rules_pycross/archive/refs/tags/v0.2.tar.gz",
sha256 = "5b51cfa4890d6de29b6a0976248e8139f69354bf29924308093a039d93ab630f",
strip_prefix = "rules_pycross-0.2",
)
load("@jvolkman_rules_pycross//pycross:repositories.bzl", "rules_pycross_dependencies")
rules_pycross_dependencies()
# Or, if you're using a hermetic toolchain:
# rules_pycross_dependencies(python_interpreter_target = interpreter)
What's Changed
- Fix leaking PYVENV_LAUNCHER by @jvolkman in #23
- Experimental wheel cross-compilation by @jvolkman in #24
- Introduce absl-py and use flag files by @jvolkman in #25
- Support a newer version of poetry, and downgrade the import usage to … by @ianoc in #27
- dev/absolutize flags by @jvolkman in #28
- fix: normalize package-name from pdm-lockfile by @betaboon in #29
- feat: add dont-edit comment to lockfile by @betaboon in #38
- Don't fail when no wheel/sdist is available for a platform by @jvolkman in #31
- make pdm support compatible with pdm 2.8 by @betaboon in #40
New Contributors
Full Changelog: 0.1...v0.2