Skip to content

CHORE: Bump Black to 26.10.1 in release dependency locks - #866

Merged
Jahnvi Thakkar (jahnvi480) merged 8 commits into
mainfrom
dependabot/pip/eng/black-26.10.1
Nov 18, 2026
Merged

Jahnvi Thakkar (jahnvi480) merged 8 commits into
mainfrom
dependabot/pip/eng/black-26.10.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Work Item / Issue Reference

AB#47861

GitHub Issue: N/A


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.

Copilot AI balanced review requested due to automatic review settings October 26, 2026 08:11
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Oct 26, 2026
@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

PR Performance Report

✅ No regression detected

No 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 diagnostics

Phase 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 timings

Unix / SQL Server 2022

Database task Before After Paired change Result
Connection opening 9.973 ms 9.891 ms -0.9% no signal
SELECT queries 0.982 ms 0.969 ms -0.9% no signal
Row insertion 30.519 ms 30.677 ms +0.5% no signal
Executemany inserts 160.799 ms 160.825 ms +1.3% no signal
Fetch-all queries 118.097 ms 118.163 ms -0.2% no signal
Row-by-row fetching 5.028 ms 4.934 ms -1.9% no signal
Batched row fetching 115.152 ms 116.460 ms +0.3% no signal
Transaction commit and rollback 104.448 ms 105.455 ms +0.6% no signal
Arrow row fetching 88.662 ms 88.824 ms +0.0% no signal
100,000-row insertion 342.481 ms 363.252 ms +1.0% no signal
Row fetching in batches of 100 119.749 ms 121.079 ms +0.8% no signal
Row fetching in batches of 10,000 124.282 ms 123.187 ms -0.9% no signal
Repeated positional queries 32.214 ms 32.432 ms +0.8% no signal
Repeated named-parameter queries 32.545 ms 33.051 ms -0.0% no signal
Legacy 100,000-row insertion 269.849 ms 254.786 ms -1.2% no signal
Insertion with explicit input sizes 379.194 ms 381.442 ms +1.3% no signal
Joined aggregation queries 178.769 ms 179.424 ms +1.6% no signal
Large joined-result fetching 188.757 ms 188.026 ms -1.7% no signal
1.2-million-row fetching 3504.594 ms 3493.969 ms -0.3% no signal
Common table expression queries 5.263 ms 5.226 ms -1.0% no signal
256 KiB VARCHAR(MAX) / fetchall() 1.511 ms 1.556 ms -3.1% no signal
10,000 scalar values / fetchval() (debug disabled) 17.062 ms 17.067 ms +1.0% no signal
10,000 output-converted rows / fetchall() 19.610 ms 19.613 ms -1.7% no signal
10,000 output-converted rows / fetchmany(1000) 23.479 ms 22.821 ms -3.5% no signal
10,000 INT/NVARCHAR rows / fetchmany(1) 25.089 ms 24.244 ms -3.4% no signal
10,000 rows x 32 columns / dict(row._mapping) (warm) 31.727 ms 31.628 ms +1.0% no signal

Unix / SQL Server 2025

Database task Before After Paired change Result
Connection opening 80.804 ms 81.859 ms +0.9% no signal
SELECT queries 0.980 ms 0.959 ms -1.9% no signal
Row insertion 30.230 ms 30.312 ms +0.2% no signal
Executemany inserts 155.188 ms 156.223 ms +0.0% no signal
Fetch-all queries 119.841 ms 120.686 ms +1.7% no signal
Row-by-row fetching 5.052 ms 4.991 ms -0.6% no signal
Batched row fetching 117.288 ms 117.705 ms +0.3% no signal
Transaction commit and rollback 105.377 ms 104.974 ms -0.4% no signal
Arrow row fetching 88.639 ms 89.769 ms +0.7% no signal
100,000-row insertion 364.133 ms 348.099 ms -1.0% no signal
Row fetching in batches of 100 122.933 ms 121.695 ms -0.1% no signal
Row fetching in batches of 10,000 125.810 ms 138.715 ms +11.7% no signal
Repeated positional queries 31.268 ms 31.277 ms +0.0% no signal
Repeated named-parameter queries 31.720 ms 31.548 ms -0.7% no signal
Legacy 100,000-row insertion 254.042 ms 261.685 ms +2.4% no signal
Insertion with explicit input sizes 399.685 ms 387.090 ms -0.9% no signal
Joined aggregation queries 165.222 ms 165.059 ms +0.5% no signal
Large joined-result fetching 182.723 ms 182.639 ms +0.9% no signal
1.2-million-row fetching 3500.956 ms 3496.396 ms +0.6% no signal
Common table expression queries 5.132 ms 5.311 ms +4.5% no signal
256 KiB VARCHAR(MAX) / fetchall() 2.003 ms 1.988 ms +1.3% no signal
10,000 scalar values / fetchval() (debug disabled) 17.196 ms 18.492 ms +7.4% no signal
10,000 output-converted rows / fetchall() 20.510 ms 20.166 ms +3.8% no signal
10,000 output-converted rows / fetchmany(1000) 23.403 ms 22.884 ms +0.5% no signal
10,000 INT/NVARCHAR rows / fetchmany(1) 24.922 ms 24.843 ms +2.1% no signal
10,000 rows x 32 columns / dict(row._mapping) (warm) 31.344 ms 31.945 ms +2.3% no signal
Build and measurement details

ADO build 193079

PR head: 71505955369645b37a1dc2473bab7bedaef7c5be
Base: 8c31193ce93ae80fd203704de071a035cfb5145b
Measured merge: 4f58fa674cd101d3dcc1af5db1f478f71afd3d2d

  • Unix / SQL Server 2022: Python 3.12.3, x86_64, SQL 16.0.4325.4; 5 paired comparisons and 1 warmup.
  • Unix / SQL Server 2025: Python 3.12.3, x86_64, SQL 17.0.5065.9; 5 paired comparisons and 1 warmup.

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 profiler-* artifacts.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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

@dependabot
dependabot Bot force-pushed the dependabot/pip/eng/black-26.10.1 branch from 85c915a to 104ff6e Compare November 2, 2026 08:23
Copilot AI balanced review requested due to automatic review settings November 2, 2026 08:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

Comment thread eng/requirements-build-macos.txt Resolved
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>
@dependabot
dependabot Bot force-pushed the dependabot/pip/eng/black-26.10.1 branch from 104ff6e to b38760f Compare November 6, 2026 09:52
Copilot AI balanced review requested due to automatic review settings November 6, 2026 09:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the Black dependency-lock update.

1 open issue

Review effort: Balanced

@jahnvi480 Jahnvi Thakkar (jahnvi480) changed the title Build(deps): Bump black from 26.5.1 to 26.10.1 in /eng CHORE: Bump Black to 26.10.1 in release dependency locks Nov 12, 2026
@github-actions github-actions Bot added the pr-size: large Substantial code update label Nov 12, 2026
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>
Copilot AI balanced review requested due to automatic review settings November 12, 2026 11:26
@github-actions github-actions Bot added pr-size: medium Moderate update size and removed pr-size: large Substantial code update labels Nov 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the Black version and hash updates in the Linux test and macOS build dependency locks.

1 open issue

Review effort: Balanced

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

📊 Code Coverage Report

🔥 Diff Coverage

100%


🎯 Overall Coverage

86%


📈 Total Lines Covered: 11690 out of 13576
📁 Project: mssql-python


Diff Coverage

Diff: main...HEAD, staged and unstaged changes

No 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

⚙️ Build Summary 📋 Coverage Details

View Azure DevOps Build

Browse Full Coverage Report

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 13, 2026 09:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are identified for the Black version and hash updates in the Linux test and macOS build dependency locks.

1 open issue

Review effort: Balanced

@jahnvi480

Copy link
Copy Markdown
Contributor

/azp run MSSQL-Python-PR-Validation

Copilot AI balanced review requested due to automatic review settings November 13, 2026 17:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the Black dependency updates in the Linux test and macOS build locks.

No open issues 🎉

Review effort: Balanced

@jahnvi480

Copy link
Copy Markdown
Contributor

/azp run MSSQL-Python-PR-Validation

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 1 pipeline(s).

Copilot AI balanced review requested due to automatic review settings November 16, 2026 04:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the Black dependency-lock updates used by Linux tests and macOS builds.

No open issues 🎉

Review effort: Balanced

@jahnvi480

Copy link
Copy Markdown
Contributor

/azp run MSSQL-Python-PR-Validation

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 1 pipeline(s).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 16, 2026 05:53
@jahnvi480

Copy link
Copy Markdown
Contributor

/azp run MSSQL-Python-PR-Validation

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 1 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the Black dependency-lock updates.

No open issues 🎉

Review effort: Balanced

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 18, 2026 02:11
@jahnvi480

Copy link
Copy Markdown
Contributor

/azp run MSSQL-Python-PR-Validation

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 1 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the Black version and hash updates in the Linux test and macOS build dependency locks.

No open issues 🎉

Review effort: Balanced

@jahnvi480
Jahnvi Thakkar (jahnvi480) merged commit 6178aa8 into main Nov 18, 2026
88 of 91 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/eng/black-26.10.1 branch November 18, 2026 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file pr-size: medium Moderate update size python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants