Repository navigation
CHORE: Bump Black to 26.10.1 in release dependency locks - #866
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
PR Performance Report✅ No regression detectedNo consistent slowdowns detected across all 2 environments. 0 IMPROVEMENTS 0 SLOWDOWNS 2/2 ENVIRONMENTS Coverage: 2 of 2 environments completed. Advisory result; does not block merging. Performance diagnosticsPhase times are inclusive diagnostics and must not be added together. They identify where measured time changed, not why it changed. No affected phases or call-count changes were recorded. All database tasks and timingsUnix / SQL Server 2022
Unix / SQL Server 2025
Build and measurement detailsPR head:
A consistent change requires more than 20% median paired movement, at least 1 ms between the median runtimes, and at least 80% of pairs exceeding the relative threshold in the same direction. A slowdown without enough pair agreement is reported as inconsistent. The displayed change is the median of paired before-and-after ratios. It is not recalculated from the two displayed median runtimes. Both revisions use profiling-enabled builds on the same agent and database, with alternating order and discarded warmups. Results are diagnostic and do not represent production-wheel latency. Raw samples and logs are attached to the ADO run as |
There was a problem hiding this comment.
🔵 Needs a closer look
Dependency removals beyond the Black upgrade need validation across the supported Python matrix before approval.
No open issues 🎉
What changed in this PR
Updates Black from 26.5.1 to 26.10.1 in mssql-python’s Linux test and macOS build dependency locks.
Changes:
- Refreshes Black’s version pin and distribution hashes.
- Regenerates dependency entries, removing several conditional and build-tool requirements and changing extras and markers.
- Normalizes dependency-source comments without changing executable paths.
| File | Description |
|---|---|
eng/requirements-test-linux.txt |
Updates Black and regenerates the Linux test dependency lock. |
eng/requirements-build-macos.txt |
Updates Black and regenerates the macOS build dependency lock. |
Review effort: Balanced
85c915a to
104ff6e
Compare
There was a problem hiding this comment.
🟡 Changes recommended
Removing the pinned setuptools dependency leaves the macOS wheel build reliant on a preinstalled version or causes it to fail when setuptools is absent, since types-setuptools supplies only type stubs.
1 open issue
Review effort: Balanced
Bumps [black](https://github.com/psf/black) from 26.5.1 to 26.10.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@26.5.1...26.10.1) --- updated-dependencies: - dependency-name: black dependency-version: 26.10.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
104ff6e to
b38760f
Compare
Restore the full universal dependency closure while preserving Black 26.10.1 and all unrelated reviewed pins and markers. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
📊 Code Coverage Report
Diff CoverageDiff: main...HEAD, staged and unstaged changesNo lines with coverage information in this diff. 📋 Files Needing Attention📉 Files with overall lowest coverage (click to expand)mssql_python.pybind.performance_counter.hpp: 0.7%
mssql_python.pybind.logger_bridge.cpp: 57.9%
mssql_python.pybind.ddbc_bindings.h: 64.5%
mssql_python.pybind.logger_bridge.hpp: 70.8%
mssql_python._native_fetch.py: 77.7%
mssql_python.__init__.py: 80.8%
mssql_python.pybind.ddbc_bindings.cpp: 81.4%
mssql_python.pybind.row_mapping_cache.hpp: 81.5%
mssql_python.pybind.connection.connection_pool.cpp: 82.5%
mssql_python.pybind.connection.connection.cpp: 83.1%🔗 Quick Links
|
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
/azp run MSSQL-Python-PR-Validation |
|
/azp run MSSQL-Python-PR-Validation |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
|
/azp run MSSQL-Python-PR-Validation |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
/azp run MSSQL-Python-PR-Validation |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
/azp run MSSQL-Python-PR-Validation |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |

Work Item / Issue Reference
Summary
Upgrade Black from 26.5.1 to 26.10.1 in the release build/test dependency locks. Regenerate complete, hash-locked universal dependency closures, preserving required build tools, runtime/test dependencies, and both supported PyArrow Python-version branches without unrelated upgrades.