Skip to content

CHORE: Bump PyJWT to 2.15.0 in release dependency locks - #831

Merged
Jahnvi Thakkar (jahnvi480) merged 7 commits into
mainfrom
dependabot/pip/eng/pyjwt-2.15.0
Nov 18, 2026
Merged

Jahnvi Thakkar (jahnvi480) merged 7 commits into
mainfrom
dependabot/pip/eng/pyjwt-2.15.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Work Item / Issue Reference

AB#47861

GitHub Issue: N/A


Summary

Upgrade PyJWT from 2.13.0 to 2.15.0 in the release build/test dependency locks rather than removing the package. Resolve conflicts against current main and regenerate complete, hash-locked universal dependency closures, retaining required build tools, test dependencies, and supported Python/platform markers.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Oct 1, 2026
Copilot AI balanced review requested due to automatic review settings October 1, 2026 18:47
@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 1, 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 10.543 ms 10.467 ms -1.5% no signal
SELECT queries 1.032 ms 1.010 ms -1.5% no signal
Row insertion 30.265 ms 30.356 ms +0.2% no signal
Executemany inserts 161.404 ms 162.331 ms -0.2% no signal
Fetch-all queries 120.259 ms 118.617 ms -0.1% no signal
Row-by-row fetching 4.888 ms 4.986 ms +2.4% no signal
Batched row fetching 116.045 ms 116.172 ms -0.0% no signal
Transaction commit and rollback 105.494 ms 103.957 ms +0.6% no signal
Arrow row fetching 89.128 ms 96.145 ms +2.6% no signal
100,000-row insertion 343.455 ms 355.580 ms +0.2% no signal
Row fetching in batches of 100 119.766 ms 120.220 ms +0.1% no signal
Row fetching in batches of 10,000 128.250 ms 129.595 ms +0.3% no signal
Repeated positional queries 31.911 ms 31.594 ms -0.0% no signal
Repeated named-parameter queries 32.431 ms 31.745 ms -1.4% no signal
Legacy 100,000-row insertion 256.927 ms 256.362 ms +0.3% no signal
Insertion with explicit input sizes 394.038 ms 381.920 ms -1.8% no signal
Joined aggregation queries 177.659 ms 178.039 ms +0.1% no signal
Large joined-result fetching 192.767 ms 192.860 ms +0.6% no signal
1.2-million-row fetching 3488.748 ms 3484.111 ms +1.0% no signal
Common table expression queries 5.446 ms 5.492 ms -2.1% no signal
256 KiB VARCHAR(MAX) / fetchall() 1.350 ms 1.290 ms -7.3% no signal
10,000 scalar values / fetchval() (debug disabled) 16.936 ms 17.461 ms +3.1% no signal
10,000 output-converted rows / fetchall() 19.712 ms 19.190 ms -2.3% no signal
10,000 output-converted rows / fetchmany(1000) 24.264 ms 23.751 ms -1.5% no signal
10,000 INT/NVARCHAR rows / fetchmany(1) 24.466 ms 24.606 ms -0.1% no signal
10,000 rows x 32 columns / dict(row._mapping) (warm) 32.729 ms 31.638 ms -1.3% no signal

Unix / SQL Server 2025

Database task Before After Paired change Result
Connection opening 81.054 ms 81.027 ms -0.0% no signal
SELECT queries 1.006 ms 0.983 ms -2.0% no signal
Row insertion 30.405 ms 30.135 ms -0.4% no signal
Executemany inserts 156.288 ms 155.141 ms -0.7% no signal
Fetch-all queries 119.130 ms 118.008 ms -0.9% no signal
Row-by-row fetching 4.901 ms 4.886 ms -0.9% no signal
Batched row fetching 116.525 ms 115.908 ms -0.5% no signal
Transaction commit and rollback 106.144 ms 105.999 ms -0.3% no signal
Arrow row fetching 88.813 ms 90.349 ms +1.9% no signal
100,000-row insertion 358.843 ms 357.344 ms +1.4% no signal
Row fetching in batches of 100 121.834 ms 119.754 ms -0.9% no signal
Row fetching in batches of 10,000 125.565 ms 124.331 ms -0.6% no signal
Repeated positional queries 31.799 ms 31.562 ms +0.1% no signal
Repeated named-parameter queries 32.163 ms 31.913 ms -0.6% no signal
Legacy 100,000-row insertion 250.445 ms 250.809 ms +0.2% no signal
Insertion with explicit input sizes 394.949 ms 391.838 ms +0.5% no signal
Joined aggregation queries 162.916 ms 163.056 ms -0.9% no signal
Large joined-result fetching 189.898 ms 186.150 ms -2.8% no signal
1.2-million-row fetching 3477.624 ms 3460.660 ms -0.6% no signal
Common table expression queries 5.124 ms 5.189 ms +0.1% no signal
256 KiB VARCHAR(MAX) / fetchall() 1.848 ms 1.420 ms -3.8% no signal
10,000 scalar values / fetchval() (debug disabled) 16.661 ms 16.656 ms -0.0% no signal
10,000 output-converted rows / fetchall() 19.392 ms 19.461 ms +0.1% no signal
10,000 output-converted rows / fetchmany(1000) 22.662 ms 24.251 ms +7.0% no signal
10,000 INT/NVARCHAR rows / fetchmany(1) 24.446 ms 24.305 ms -0.2% no signal
10,000 rows x 32 columns / dict(row._mapping) (warm) 30.738 ms 30.984 ms +1.5% no signal
Build and measurement details

ADO build 193055

PR head: 8b0325d6c021cab2dd7b5f7640c9657c3e4bd0f8
Base: b23b04b24265269edfd90770376e2237510f3edd
Measured merge: 04e17f747d1942708b2678a6608c755e315ffacd

  • 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.

Copilot review overview

🟡 Changes recommended

Both regenerated locks omit required Python 3.10 dependencies and directly requested build tools.

Review effort: Balanced
Findings: None

What changed in this PR

Updates PyJWT in hash-locked Linux test and macOS build environments.

Changes:

  • Bumps PyJWT from 2.13.0 to 2.15.0 with updated hashes.
  • Regenerates dependency metadata and closures.
File Description
eng/​requirements-test-linux.txt Updates the Linux test lock.
eng/​requirements-build-macos.txt Updates the macOS build lock.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI balanced review requested due to automatic review settings October 12, 2026 06:25
@dependabot
dependabot Bot force-pushed the dependabot/pip/eng/pyjwt-2.15.0 branch from 4d2508d to e9f818a Compare October 12, 2026 06:25

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

Both locks omit required Python 3.10 dependencies, causing existing dependency-contract tests to fail.

0 open findings

🧠 Review effort: Balanced

Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.13.0 to 2.15.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](jpadilla/pyjwt@2.13.0...2.15.0)

---
updated-dependencies:
- dependency-name: pyjwt
  dependency-version: 2.15.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/eng/pyjwt-2.15.0 branch from e9f818a to e681c8e Compare October 12, 2026 08:50
Copilot AI balanced review requested due to automatic review settings October 12, 2026 08:50

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

Regeneration drops required Python-specific dependencies, breaking a contract test and Python 3.15 Arrow coverage.

0 open findings

🧠 Review effort: Balanced

@jahnvi480 Jahnvi Thakkar (jahnvi480) changed the title Build(deps): Bump pyjwt from 2.13.0 to 2.15.0 in /eng CHORE: Bump PyJWT to 2.15.0 in release dependency locks Nov 12, 2026
Resolve generated lock conflicts against current main with uv 0.12.6. Retain all current pins and universal markers while upgrading PyJWT to 2.15.0.

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:25
@github-actions github-actions Bot added the pr-size: small Minimal code update label 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.

🔵 Needs a closer look

Offline review cannot verify PyJWT 2.15.0’s publication, artifact hashes, or compatibility with MSAL and supported Python versions, so dependency-refresh regeneration and release-matrix validation results need confirmation.

No open issues 🎉

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

Retain reproducible universal PyJWT 2.15.0 locks with all other pins and markers unchanged.

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:27

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 PyJWT updates in the Linux test and macOS build dependency 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).

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.

The reviewed PyJWT-only lock update preserves the dependency closure and markers. Azure build 191864 now passed all 23 jobs, including both previously failing Windows and macOS jobs on their bounded retries. Both exact-head paired Linux SQL Server performance reports validated without a consistent regression under the existing policy; these profiling-enabled results are not a zero-effect or universal release-latency guarantee.

Merge main without rewriting history; retain only the two universal PyJWT 2.15.0 version/hash lock updates relative to main.

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

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 with the PyJWT dependency-lock updates.

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:07

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

The PyJWT dependency-lock update has no active review issues.

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

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 PyJWT dependency-lock update.

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 18, 2026 00:38

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 recorded for the PyJWT dependency-lock update.

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).

@jahnvi480
Jahnvi Thakkar (jahnvi480) merged commit 8c31193 into main Nov 18, 2026
53 checks passed
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: small Minimal code update python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants