Lines Matching +full:windows +full:- +full:build +full:- +full:rules

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
52 the {obj}`--python_version` flag will determine the value. This allows
53 specifying the build-time Python version for the
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
81 * (rules) Prevent pytest from trying run the generated stage2
82 bootstrap .py file when using {obj}`--bootstrap_impl=script`
92 * (rules) Executables provide {obj}`PyExecutableInfo`, which contains
93 executable-specific information useful for packaging an executable or
95 * (py_wheel) Removed use of bash to avoid failures on Windows machines which do not
100 allowing values that are other than `1`, which has been hard-coded up until
103 the `patch_strip` explicitly to `1` if you depend on this value - in the
113 ## [0.35.0] - 2024-08-15
125 * `3.12 -> 3.12.4`
126 * (rules) `PYTHONSAFEPATH` is inherited from the calling environment to allow
127 disabling it (Requires {obj}`--bootstrap_impl=script`)
131 * (rules) `compile_pip_requirements` now sets the `USERPROFILE` env variable on
132 Windows to work around an issue where `setuptools` fails to locate the user's
134 * (rules) correctly handle absolute URLs in parse_simpleapi_html.bzl.
135 * (rules) Fixes build targets linking against `@rules_python//python/cc:current_py_cc_libs`
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
143 Windows. See [#1840](https://github.com/bazelbuild/rules_python/issues/1840).
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`
172 * (rules) `compile_pip_requirements` supports multiple requirements input files as `srcs`.
173 * (rules) `PYTHONSAFEPATH` is inherited from the calling environment to allow
174 disabling it (Requires {obj}`--bootstrap_impl=script`)
178 [`pytest-bazel`][pytest_bazel], [rules_python_pytest] or `rules_py`
186 downloading an interpreter (for hermetic-based builds) or cause non-hermetic
190 [py_test_main]: https://docs.aspect.build/rulesets/aspect_rules_py/docs/rules/#py_pytest_main
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
226 * (rules) Auto exec groups are enabled. This allows actions run by the rules,
233 * (whl_library) Correctly handle arch-specific dependencies when we encounter a
236 * (rules) The first element of the default outputs is now the executable again.
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…
244 …with other rules, including `rules_pycross`. See [#1939](https://github.com/bazelbuild/rules_pytho…
249 ## [0.33.2] - 2024-06-13
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
275 `py_library` now depend on the `//python:exec_tools_toolchain_type` for build
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
302 Now empty(have no `deps/main/srcs/imports` attr) `py_library/test/binary` rules will
306 * (whl_library): Use _is_python_config_setting_ to correctly handle multi-python
310 * (gazelle) Fix Gazelle failing on Windows with
325 and explicit and should fix rare edge-cases where the host toolchain
333 * (rules) Precompiling Python source at build time is available. but is
337 [Precompiling docs][precompile-docs] and API reference docs for more
341 * (rules) Attributes and flags to control precompile behavior: `precompile`,
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
357 invalid usage previously but we were not failing the build. From now on this
362 * (rules) A new bootstrap implementation that doesn't require a system Python
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 …rms with recent Python toolchains. Works around an upstream [issue][indygreg-231]. Fixes [#1800][r…
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.
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`
427 rules when there are no test files and do not set `main = "__test__.py"` when
436 * (refactor) The pre-commit developer workflow should now pass `isort` and `black`
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
489 * For Bazel 7, the core rules and providers are now implemented in rules_python
490 directly and the rules bundled with Bazel are not used. Bazel 6 and earlier
495 ## [0.30.0] - 2024-02-12
501 * (toolchains) Windows hosts always ignore pyc files in the downloaded runtimes.
524 Windows host environments without symlink support.
536 Python version explicitly and the output `BUILD.bazel` file will be correct
540 closures but that is not yet ready to be used and may break the build if
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
561 * (repo rules) The environment variable `RULES_PYTHON_REPO_DEBUG=1` can be
562 set to make repository rules log detailed information about what they're
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.
621 ## [0.28.0] - 2024-01-07
678 On Windows the patching may result in files with CRLF line endings, as a result
683 * (coverage): coverage reports are now created when the version-aware
684 rules are used.
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.
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
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
826 the `py_binary` rule used to build it.
829 https://github.com/indygreg/python-build-standalone/releases/tag/20230826.
849 https://github.com/indygreg/python-build-standalone/releases/tag/20231002.
865 dependencies improving initial build times involving external dependency
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.
900 ## [0.24.0] - 2023-07-11
912 * (bzlmod) Fixing Windows Python Interpreter symlink issues
927 * (py_wheel) Support for specifying `Description-Content-Type` and `Summary` in METADATA
928 * (py_wheel) Support for specifying `Project-URL`