Lines Matching +full:- +full:- +full:toolchains

1 :::{default-domain} bzl
6 This is a human-friendly changelog in a keepachangelog.com style format.
7 Because this changelog is for end-user consumption of meaningful changes,only
20 * Particular sub-systems are identified using parentheses, e.g. `(bzlmod)` or
39 ## [0.36.0] - 2024-09-24
44 * (gazelle): Update error messages when unable to resolve a dependency to be more human-friendly.
45 * (flags) The {obj}`--python_version` flag now also returns
48 that one should use when patching toolchains. Please set it if you are
51 * (toolchains) When {obj}`py_runtime.interpreter_version_info` isn't specified,
52 the {obj}`--python_version` flag will determine the value. This allows
53 specifying the build-time Python version for the
55 * (toolchains) {obj}`py_cc_toolchain.libs` and {obj}`PyCcToolchainInfo.libs` is
61 * (whl_library): Remove `--no-index` and add `--no-build-isolation` to the
65 platform non-dependent hashes in the lock file when the requirement markers need
69 re-evaluated when the said files change.
71 * (toolchain) Omit third-party python packages from coverage reports from
74 * (gazelle) Correctly resolve deps that have top-level module overlap with a gazelle_python.yaml de…
75 * (rules) Make `RUNFILES_MANIFEST_FILE`-based invocations work when used with
76 {obj}`--bootstrap_impl=script`. This fixes invocations using non-sandboxed
77 test execution with `--enable_runfiles=false --build_runfile_manifests=true`.
79 * (py_wheel) Fix incorrectly generated `Required-Dist` when specifying requirements with markers
82 bootstrap .py file when using {obj}`--bootstrap_impl=script`
93 executable-specific information useful for packaging an executable or
99 * (toolchains) Added {attr}`python_repository.patch_strip` attribute for
100 allowing values that are other than `1`, which has been hard-coded up until
102 `TOOL_VERSIONS` for registering patched toolchains please consider setting
103 the `patch_strip` explicitly to `1` if you depend on this value - in the
105 * (toolchains) Added `//python:none`, a special target for use with
109 * (toolchains): Removed accidentally exposed `http_archive` symbol from
111 * (toolchains): An internal _is_python_config_setting_ macro has been removed.
113 ## [0.35.0] - 2024-08-15
122 * (toolchains): Change some old toochain versions to use [20240726] release to
124 * (toolchains): Bump default toolchain versions to:
125 * `3.12 -> 3.12.4`
127 disabling it (Requires {obj}`--bootstrap_impl=script`)
139 * (rules) Signals are properly received when using {obj}`--bootstrap_impl=script`
140 (for non-zip builds).
142 * (rules) Fixes Python builds when the `--build_python_zip` is set to `false` on
144 * (rules) Fixes Mac + `--build_python_zip` + {obj}`--bootstrap_impl=script`
146 * (rules) User dependencies come before runtime site-packages when using
147 {obj}`--bootstrap_impl=script`.
149 * (rules) Version-aware rules now return both `@_builtins` and `@rules_python`
154 * (toolchains) Added missing executable permission to
162 * (bzlmod): The conflicting toolchains during `python` extension will no longer
174 disabling it (Requires {obj}`--bootstrap_impl=script`)
178 [`pytest-bazel`][pytest_bazel], [rules_python_pytest] or `rules_py`
182 * (toolchains) New Python versions available: `3.12.4` using the [20240726] release.
186 downloading an interpreter (for hermetic-based builds) or cause non-hermetic
191 [pytest_bazel]: https://pypi.org/project/pytest-bazel
192 [20240726]: https://github.com/indygreg/python-build-standalone/releases/tag/20240726
194 ## [0.34.0] - 2024-07-04
202 * (toolchains) The exec tools toolchain now finds its interpreter by reusing
205 * (toolchains) ({obj}`//python:autodetecting_toolchain`) is deprecated. It is
228 other toolchains support.
233 * (whl_library) Correctly handle arch-specific dependencies when we encounter a
240 * (toolchains) {obj}`//python/runtime_env_toolchains:all`, which is a drop-in
243 …allows altering default Gazelle label format to third-party dependencies useful for re-using Gazel…
249 ## [0.33.2] - 2024-06-13
254 * (toolchains) The {obj}`exec_tools_toolchain_type` is disabled by default.
255 To enable it, set {obj}`--//python/config_settings:exec_tools_toolchain=enabled`.
260 ## [0.33.1] - 2024-06-13
265 * (py_binary) Fix building of zip file when using `--build_python_zip`
268 ## [0.33.0] - 2024-06-12
274 * (toolchains) Optional toolchain dependency: `py_binary`, `py_test`, and
282 Introduced a new Go-based helper leveraging tree-sitter for syntax analysis.
283 Implemented the use of `pypi/stdlib-list` for standard library module verification.
295 * (bzlmod) The `pythons_hub//:interpreters.bzl` no longer has platform-specific
306 * (whl_library): Use _is_python_config_setting_ to correctly handle multi-python
324 * (toolchains): Now matching of the default hermetic toolchain is more robust
325 and explicit and should fix rare edge-cases where the host toolchain
337 [Precompiling docs][precompile-docs] and API reference docs for more
344 * (toolchains) The target runtime toolchain (`//python:toolchain_type`) has
347 * (toolchains) A toolchain type for build tools has been added:
352 * `//python:features.bzl` added to allow easy feature-detection in the future.
354 validations when parsing the inputs. This is a non-breaking change for most
356 with `extra_pip_args = ["--platform=manylinux_2_4_x86_64"]`, that was an
359 * (toolchains) Added riscv64 platform definition for python toolchains.
364 {obj}`--@rules_python//python/config_settings:bootstrap_impl=script`. It
370 * (toolchains) A replacement for the Bazel-builtn autodetecting toolchain is
374 `glibc`, whether `universal2` or arch-specific MacOS wheels are preferred and
383 [precompile-docs]: /precompiling
385 ## [0.32.2] - 2024-05-14
391 …hen targeting linux platforms with recent Python toolchains. Works around an upstream [issue][indy…
393 [indygreg-231]: https://github.com/indygreg/python-build-standalone/issues/231
396 ## [0.32.0] - 2024-05-12
405 …` to [7.4.3](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst#version-743--2024-02-23).
407 non-blocking downloads.
409 * (toolchains): Change some old toolchain versions to use [20240224] release to
411 * (toolchains): Bump default toolchain versions to:
412 * `3.8 -> 3.8.19`
413 * `3.9 -> 3.9.19`
414 * `3.10 -> 3.10.14`
415 * `3.11 -> 3.11.9`
416 * `3.12 -> 3.12.3`
436 * (refactor) The pre-commit developer workflow should now pass `isort` and `black`
441 * (toolchains) Added armv7 platform definition for python toolchains.
442 * (toolchains) New Python versions available: `3.11.8`, `3.12.2` using the [20240224] release.
443 * (toolchains) New Python versions available: `3.8.19`, `3.9.19`, `3.10.14`, `3.11.9`, `3.12.3` usi…
476 [python_default_visibility]: gazelle/README.md#directive-python_default_visibility
478 [test_file_pattern_docs]: gazelle/README.md#directive-python_test_file_pattern
479 [20240224]: https://github.com/indygreg/python-build-standalone/releases/tag/20240224.
480 [20240415]: https://github.com/indygreg/python-build-standalone/releases/tag/20240415.
483 ## [0.31.0] - 2024-02-12
495 ## [0.30.0] - 2024-02-12
501 * (toolchains) Windows hosts always ignore pyc files in the downloaded runtimes.
542 `common --@rules_python//python/config_settings:python_version=X.Y.Z`.
545 https://github.com/indygreg/python-build-standalone/releases/tag/20240107.
548 the version-aware `py_binary` and `py_test` rules. This allows users to
569 ## [0.29.0] - 2024-01-22
588 * (bzlmod pip.parse) Use a platform-independent reference to the interpreter
590 platform-specific content in `MODULE.bazel.lock` files; Follow
592 platform-specific content in `MODULE.bazel.lock` files.
595 lower-cased when normalizing under PEP440 conventions.
599 * (toolchains) `python_register_toolchains` now also generates a repository
610 * (toolchains) `PyRuntimeInfo` now includes a `interpreter_version_info` field
621 ## [0.28.0] - 2024-01-07
637 * (toolchains) `py_runtime`, `py_runtime_pair`, and `PyRuntimeInfo` now use the
647 * (toolchains) `py_runtime` can now take an executable target. Note: runfiles
661 * (gazelle) The gazelle plugin helper was not working with Python toolchains 3.11
683 * (coverage): coverage reports are now created when the version-aware
686 * (toolchains) Workspace builds register the py cc toolchain (bzlmod already
695 * (docs) bzlmod extensions are now documented on rules-python.readthedocs.io
697 See https://rules-python.readthedocs.io/en/latest/support.html
702 ## [0.27.0] - 2023-11-16
710 re-exported via `//python:pip_bzl` `bzl_library`.
727 `True` by default on `non-bzlmod` setups allowing users to use the same label
735 default, which will cause `gazelle` to change third-party dependency labels
740 `pip-compile` behaviour more closely.
766 * Skip aliases for unloaded toolchains. Some Python versions that don't have full
781 * (toolchains) Keep tcl subdirectory in Windows build of hermetic interpreter.
783 * (bzlmod) sub-modules now don't have the `//conditions:default` clause in the
785 in case there is a misconfiguration of toolchains or a bug in `rules_python`.
792 * (pip) Support for using [PEP621](https://peps.python.org/pep-0621/) compliant
798 ## [0.26.0] - 2023-10-06
803 * 3.8.15 -> 3.8.18
804 * 3.9.17 -> 3.9.18
805 * 3.10.12 -> 3.10.13
806 * 3.11.4 -> 3.11.6
808 * (deps) Upgrade rules_go 0.39.1 -> 0.41.0; this is so gazelle integration works with upcoming Baze…
810 * (multi-version) The `distribs` attribute is no longer propagated. This
829 https://github.com/indygreg/python-build-standalone/releases/tag/20230826.
849 https://github.com/indygreg/python-build-standalone/releases/tag/20231002.
872 ## [0.25.0] - 2023-08-22
877 * 3.9.16 -> 3.9.17
878 * 3.10.9 -> 3.10.12
879 * 3.11.1 -> 3.11.4
888 * (multi-version) The `main` arg is now correctly computed and usually optional.
896 * (toolchains) s390x supported for Python 3.9.17, 3.10.12, and 3.11.4.
900 ## [0.24.0] - 2023-07-11
927 * (py_wheel) Support for specifying `Description-Content-Type` and `Summary` in METADATA
928 * (py_wheel) Support for specifying `Project-URL`