Releases: oxidase/ofiuco
Releases · oxidase/ofiuco
0.3.7
Using Bzlmod
Add to your MODULE.bazel
file:
- for packaging and dependency management with Poetry
bazel_dep(name = "ofiuco", version = "0.3.7")
poetry = use_extension("@ofiuco//python:extensions.bzl", "poetry")
poetry.parse(
name = "poetry",
lock = "//:poetry.lock",
)
use_repo(poetry, "poetry")
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
- for packaging and dependency management with Poetry
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
toolchain_name = "python"
python_version = "3.12"
# Setup rules_python
http_archive(
name = "rules_python",
sha256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -",
strip_prefix = "rules_python-0.34.0",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.34.0/rules_python-0.34.0.tar.gz",
)
load("@rules_python//python:repositories.bzl", "py_repositories", "python_register_toolchains")
py_repositories()
python_register_toolchains(toolchain_name, python_version)
# Setup ofiuco
http_archive(
name = "ofiuco",
sha256 = "009543bf36b39a9f422cd3b50cefe52e4fb2e3a08de2c3c9ccf3d915ac036f08",
strip_prefix = "ofiuco-0.3.7",
url = "https://github.com/oxidase/ofiuco/releases/download/v0.3.7/ofiuco-0.3.7.tar.gz",
)
load("@ofiuco//python:repositories.bzl", install_poetry_dependencies = "install_dependencies")
install_poetry_dependencies(toolchain_name, python_version)
load("@ofiuco//python:poetry_parse.bzl", "poetry_parse")
poetry_parse(
name = "poetry",
lock = "//:poetry.lock",
)
What's Changed
- Feat/test by @oxidase in #73
- Rename to rules_ophiuchus by @oxidase in #74
- feat: rename s/host/system/g and use host interpret from rules_python by @oxidase in #75
Full Changelog: v0.3.6...v0.3.7
0.3.6
Using Bzlmod
Add to your MODULE.bazel
file:
bazel_dep(name = "rules_poetry", version = "0.3.6")
poetry = use_extension("@rules_poetry//python:extensions.bzl", "poetry")
poetry.parse(
name = "poetry",
lock = "//:poetry.lock",
)
use_repo(poetry, "poetry")
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_poetry",
sha256 = "a393f7f8ed8579b0044deac241bd075da466dfcf3e14f2a1c738f162e73c3125",
strip_prefix = "rules_poetry-0.3.6",
url = "https://github.com/oxidase/rules_poetry/releases/download/v0.3.6/rules_poetry-0.3.6.tar.gz",
)
load("@rules_poetry//python:poetry_parse.bzl", "poetry_parse")
load("@rules_poetry//python:repositories.bzl", install_poetry_dependencies = "install_dependencies")
install_poetry_dependencies()
poetry_parse(
name = "poetry",
lock = "//:poetry.lock",
)
What's Changed
- fix: enable aspect_rules_py test by @oxidase in https://github.com/oxidase/rules_poetry/pull/66
- feat: use Python toolchain associated with poetry_deps instead of the… by @oxidase in https://github.com/oxidase/rules_poetry/pull/65
- feat: use CC toolchain to build wheels for target by @oxidase in https://github.com/oxidase/rules_poetry/pull/67
Full Changelog: oxidase/rules_poetry@v0.3.5...v0.3.6
0.3.5
What's Changed
- fix: platforms attribute and add markers example by @oxidase in https://github.com/oxidase/rules_poetry/pull/59
- fix: add "requires-network" execution requirements to the installation script by @oxidase in https://github.com/oxidase/rules_poetry/pull/62
- fix: use PyInfo from rules_package by @oxidase in https://github.com/oxidase/rules_poetry/pull/63
- fix: use MINOR_MAPPING from rules_python to provide
python_full_version
value by @oxidase in https://github.com/oxidase/rules_poetry/pull/64
Full Changelog: oxidase/rules_poetry@v0.3.4...v0.3.5
0.3.4
What's Changed
- fix: allow to use py_venv with Python < 3.12 by @oxidase in https://github.com/oxidase/rules_poetry/pull/56
- fix: add macosx_14_0_arm64 to aarch64-apple-darwin.platform_tags by @oxidase in https://github.com/oxidase/rules_poetry/pull/57
Full Changelog: oxidase/rules_poetry@v0.3.3...v0.3.4
0.3.3
Full Changelog: oxidase/rules_poetry@v0.3.2...v0.3.3
0.3.2
What's Changed
- feat: add main.py stub to zip files by @oxidase in https://github.com/oxidase/rules_poetry/pull/50
- feat: add platform attribute to py_zip by @oxidase in https://github.com/oxidase/rules_poetry/pull/51
- chore: update poetry to v1.8.2 by @oxidase in https://github.com/oxidase/rules_poetry/pull/52
Full Changelog: oxidase/rules_poetry@v0.3.1...v0.3.2
0.3.1
What's Changed
- feat: generate libraries with extras dependencies by @oxidase in https://github.com/oxidase/rules_poetry/pull/44
- fix: create all links in a local directory by @oxidase in https://github.com/oxidase/rules_poetry/pull/45
- feat: add manylinux_2_27_x86_64 and manylinux_2_28_x86_64 platforms by @oxidase in https://github.com/oxidase/rules_poetry/pull/46
Full Changelog: oxidase/rules_poetry@v0.3.0...v0.3.1
0.3.0
What's Changed
- fix: update to rules_python toolchain naming by @oxidase in https://github.com/oxidase/rules_poetry/pull/33
- feat: add a dependency cycles checking by @oxidase in https://github.com/oxidase/rules_poetry/pull/34
- feat: add py_zip_with_transition function by @oxidase in https://github.com/oxidase/rules_poetry/pull/35
- feat: cache wheels if possible by @oxidase in https://github.com/oxidase/rules_poetry/pull/36
- fix: create directory if it does not exist by @oxidase in https://github.com/oxidase/rules_poetry/pull/37
- Bump internal poetry by @oxidase in https://github.com/oxidase/rules_poetry/pull/38
- fix: use pip cache by @oxidase in https://github.com/oxidase/rules_poetry/pull/39
- fix: check cache directory for write access by @oxidase in https://github.com/oxidase/rules_poetry/pull/40
- feat: use source urls by @oxidase in https://github.com/oxidase/rules_poetry/pull/41
- fix: don't update when generating lock file by @oxidase in https://github.com/oxidase/rules_poetry/pull/42
- Feat/source url by @oxidase in https://github.com/oxidase/rules_poetry/pull/43
Full Changelog: oxidase/rules_poetry@v0.2.0...v0.3.0
0.2.0
What's Changed
- feat: add py_zip rule by @oxidase in https://github.com/oxidase/rules_poetry/pull/13
- feat: remove awk dependency by @oxidase in https://github.com/oxidase/rules_poetry/pull/14
- fix: cleanup by @oxidase in https://github.com/oxidase/rules_poetry/pull/15
- feat: add source_url argument by @oxidase in https://github.com/oxidase/rules_poetry/pull/21
- feat: add interpreter_markers attribute by @oxidase in https://github.com/oxidase/rules_poetry/pull/22
- feat: split download and install steps by @oxidase in https://github.com/oxidase/rules_poetry/pull/23
- fix: add platform_machine to platform tags by @oxidase in https://github.com/oxidase/rules_poetry/pull/24
- chore: add transitions example by @oxidase in https://github.com/oxidase/rules_poetry/pull/25
- release 0.2.0 by @oxidase in https://github.com/oxidase/rules_poetry/pull/26
- fix: list typing by @oxidase in https://github.com/oxidase/rules_poetry/pull/27
- Fix/create release by @oxidase in https://github.com/oxidase/rules_poetry/pull/28
- fix: remove internal_deps.install() by @oxidase in https://github.com/oxidase/rules_poetry/pull/30
Full Changelog: oxidase/rules_poetry@v0.1.0...v0.2.0
Initial release
v0.1.0 fix: workflows naming