[mlir][tensor][bufferization] Preserve memory space for tensor.concat (#213528)
## Summary
- Use the buffer type selected for the destination `alloc_tensor` when
bufferizing `tensor.concat`.
- Pass that type to `ToBufferOp` instead of reconstructing a
default-memory-space `MemRefType`.
- Use the same type for the destination subviews, preserving its memory
space and layout.
- Add an encoding-based regression test for a non-default destination
memory space.
## Motivation
While investigating `tensor.concat` bufferization with a non-default
memory space, I reproduced a mismatch between the destination allocation
type and the type requested by `ToBufferOp`.
[40 lines not shown]
py-zensical: update to 0.0.57.
This version improves compatibility with markdown-exec by supporting
pymdownx blocks, raises the maximum HTTP header value size to 8
KiB for proxy-generated cookies, and updates the UI dependency
stack and bundled icons. UI performance and palette tooltip behavior
were also improved, especially on large pages and in Safari.
py-vcs-versioning: update to 2.3.1.
Add some test dependencies.
## 2.3.1 (2026-08-19)
### Fixed
- Fix a `FileNotFoundError` crash in the git file finder when a
submodule is tracked in the index but its working tree directory
does not exist - such gitlinks are now skipped like not checked
out submodules.
([#1500](https://github.com/pypa/setuptools-scm/issues/1500))
## 2.3.0 (2026-08-13)
### Added
- Add a ``vcs_versioning.dynamic_metadata`` provider for the
[68 lines not shown]
py-pygments: update to 2.21.0.
Version 2.21.0
---------------
(released August 17th, 2026)
- New lexers:
* BitBake (#3103)
* Caddyfile (#3225)
* CEL (#3048)
* PureScript (#1077, #3054)
- Updated lexers:
* Bash: Fix coloured keyword at the beginning of a name (#2926)
* Boogie: Add missing Boogie and Civl Verifier keywords (#3156)
* C#:
- Recognize interpolated verbatim strings with either ``$@`` or ``@$``
[85 lines not shown]
py-idna: update to 3.19.
## 3.19 (2026-08-XX)
- Restore the `std3_rules` option, which had no effect since changes
to UTS #46 processing in Unicode 16. Note that `uts46_remap()`
defaults to enabling STD3 rules, so direct callers will see input
containing non-LDH ASCII characters rejected again.
- Performance improvements to UTS #46 mapping, particularly for
ASCII-only domains.
- Test on free-threaded CPython with the GIL disabled and document
thread safety.
- Expose the Unicode version of the generated tables as
`idna.unicode_version`, and show it in `idna --version`.
- Add `code`, `text`, `codepoint` and `position` attributes to
`IDNAError` so that the failed rule and the offending character can
be identified without parsing the exception message.
- The deprecated `transitional` argument to `encode()` and
`uts46_remap()` is now completely ignored, and gives a deprecation warning
[11 lines not shown]
py-httpx2: update to 2.12.0.
## 2.12.0 (August 18th, 2026)
### Changed
* Use `backports.zstd` for Zstandard decoding on Python 3.13 and earlier.
([#1146](https://github.com/pydantic/httpx2/pull/1146))
### Fixed
* Bound peak memory while streaming compressed responses and close response streams when decoding fails.
([#1126](https://github.com/pydantic/httpx2/pull/1126))
## 2.11.0 (August 18th, 2026)
### Added
* Add the public `Origin` value object and `URL.origin` property for normalized,
[14 lines not shown]
hwpmc: build hwpmc_rapl.c into the i386 module
The module's i386 source list compiles the files that call
pmc_rapl_initialize() and pmc_rapl_finalize() but not the one that defines
them, so the i386 hwpmc.ko has both undefined and cannot be loaded.
Fixes: a99d04f39dab ("hwpmc: add RAPL energy-counter class (AMD + Intel)")
Assisted-by: Claude Code (Opus 5)
hwpmc: do not register RAPL when the unit register reads as zero
An energy status unit of zero means one joule per raw tick, which no part
reports; it is what a hypervisor returns for an MSR it does not implement.
Both energy rows are scaled by that field, so the class would be
registered with counters that read zero forever.
Refuse it, as the class is already refused when no energy MSR responds.
Assisted-by: Claude Code (Opus 5)
hwpmc: probe the RAPL unit MSR instead of faulting on it
The RAPL probe read MSR_RAPL_POWER_UNIT with a bare rdmsr(). RAPL is not
enumerated by CPUID on either vendor and the register is absent on older
Intel and AMD parts and under a hypervisor that does not emulate it, so
the read raises #GP and loading hwpmc panics the machine.
Read it with rdmsr_safe() and return ENXIO when it is not there, as this
function already does for the energy MSRs. Both callers already drop the
class when the probe fails.
Fixes: a99d04f39dab ("hwpmc: add RAPL energy-counter class (AMD + Intel)")
Assisted-by: Claude Code (Opus 5)
py-httpcore2: update to 2.12.0.
## 2.12.0 (August 18th, 2026)
No changes since `2.11.0`. Version bumped to stay in lockstep with `httpx2`.
## 2.11.0 (August 18th, 2026)
### Changed
* Cache sniffio availability instead of importing it on every synchronization call.
([#1132](https://github.com/pydantic/httpx2/pull/1132))
[git-clang-format] Don't format the line preceding a deletion (#215946)
`git diff -U0` renders a pure deletion as `@@ -3,3 +2,0 @@`: no new
lines,
anchored at the preceding line. extract_lines coerces that zero count to
one, so clang-format reformats a line the deletion never touched.
Skip such hunks, matching clang-format-diff.py. start_line is 0 only for
deletions at the start of a file, so that check goes away as well.
Aided by Claude Opus 5