• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# rules_python Changelog
2
3This is a human-friendly changelog in a keepachangelog.com style format.
4Because this changelog is for end-user consumption of meaningful changes,only
5a summary of a release's changes is described. This means every commit is not
6necessarily mentioned, and internal refactors or code cleanups are omitted
7unless they're particularly notable.
8
9A brief description of the categories of changes:
10
11* `Changed`: Some behavior changed. If the change is expected to break a
12  public API or supported behavior, it will be marked as **BREAKING**. Note that
13  beta APIs will not have breaking API changes called out.
14* `Fixed`: A bug, or otherwise incorrect behavior, was fixed.
15* `Added`: A new feature, API, or behavior was added in a backwards compatible
16  manner.
17* Particular sub-systems are identified using parentheses, e.g. `(bzlmod)` or
18  `(docs)`.
19
20## [0.25.0] - 2023-08-22
21
22### Changed
23
24* (bzlmod) `pip.parse` can no longer automatically use the default
25  Python version; this was an unreliable and unsafe behavior. The
26  `python_version` arg must always be explicitly specified.
27
28### Fixed
29
30* (docs) Update docs to use correct bzlmod APIs and clarify how and when to use
31  various APIs.
32* (multi-version) The `main` arg is now correctly computed and usually optional.
33* (bzlmod) `pip.parse` no longer requires a call for whatever the configured
34  default Python version is.
35
36### Added
37
38* Created a changelog.
39* (gazelle) Stop generating unnecessary imports.
40* (toolchains) s390x supported for Python 3.9.17, 3.10.12, and 3.11.4.
41
42[0.25.0]: https://github.com/bazelbuild/rules_python/releases/tag/0.25.0
43
44## [0.24.0] - 2023-07-11
45
46### Changed
47
48* **BREAKING** (gazelle) Gazelle 0.30.0 or higher is required
49* (bzlmod) `@python_aliases` renamed to `@python_versions
50* (bzlmod) `pip.parse` arg `name` renamed to `hub_name`
51* (bzlmod) `pip.parse` arg `incompatible_generate_aliases` removed and always
52  true.
53
54### Fixed
55
56* (bzlmod) Fixing Windows Python Interpreter symlink issues
57* (py_wheel) Allow twine tags and args
58* (toolchain, bzlmod) Restrict coverage tool visibility under bzlmod
59* (pip) Ignore temporary pyc.NNN files in wheels
60* (pip) Add format() calls to glob_exclude templates
61* plugin_output in py_proto_library rule
62
63### Added
64
65* Using Gazelle's lifecycle manager to manage external processes
66* (bzlmod) `pip.parse` can be called multiple times with different Python
67  versions
68* (bzlmod) Allow bzlmod `pip.parse` to reference the default python toolchain and interpreter
69* (bzlmod) Implementing wheel annotations via `whl_mods`
70* (gazelle) support multiple requirements files in manifest generation
71* (py_wheel) Support for specifying `Description-Content-Type` and `Summary` in METADATA
72* (py_wheel) Support for specifying `Project-URL`
73* (compile_pip_requirements) Added `generate_hashes` arg (default True) to
74  control generating hashes
75* (pip) Create all_data_requirements alias
76* Expose Python C headers through the toolchain.
77
78[0.24.0]: https://github.com/bazelbuild/rules_python/releases/tag/0.24.0
79
80
81