Commit ec764d1
committed
Merged PR 6131: SYNC: Github main to ADO main
Sync GH to ADO
----
#### AI description (iteration 1)
#### PR Classification
This PR syncs updates from GitHub main into the ADO main branch, incorporating extensive test additions, pipeline enhancements, and core code improvements.
#### PR Summary
The PR merges comprehensive changes including new tests for cursor/connection and global settings, updated build and PR-validation pipeline configurations for cross-platform wheel builds, and enhancements to the connection and cursor modules (e.g. context manager, execute methods, output converters).
- **`tests/`**: Added and updated numerous tests in files such as `test_003_connection.py` and `test_001_globals.py` to cover execute methods, batch execution, timeout handling, encoding/decoding APIs, exception attributes, and thread‐safety.
- **`eng/pipelines/build-whl-pipeline.yml` & `pr-validation-pipeline.yml`**: Revised YAML pipeline definitions to support manylinux, musllinux, Alpine (both x86_64 and ARM64), and improved artifact collection and test reporting.
- **`mssql_python/cursor.py`**: Enhanced cursor functionality with refined context manager support, fetch methods, scrolling, and error handling.
- **`mssql_python/connection.py`**: Updated connection API including new execute() convenience methods, output converter management (add/get/remove/clear), setencoding/getencoding and setdecoding/getdecoding methods, and timeout support.
- **Removed file**: Deleted the obsolete `/mssql_python/testing_ddbc_bindings.py` as its functionality has been integrated into the core modules.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
Related work items: #388811 parent 4957db1 commit ec764d1
File tree
46 files changed
+22868
-2224
lines changed- .github/workflows
- eng/pipelines
- mssql_python
- libs/linux
- alpine
- arm64
- lib
- x86_64
- lib
- suse/x86_64
- lib
- pybind
- connection
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
46 files changed
+22868
-2224
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
102 | 112 | | |
103 | 113 | | |
104 | 114 | | |
105 | | - | |
| 115 | + | |
106 | 116 | | |
107 | 117 | | |
108 | | - | |
109 | 118 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | 1 | | |
5 | 2 | | |
6 | 3 | | |
| |||
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| 23 | + | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| |||
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
49 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
4 | 37 | | |
5 | 38 | | |
6 | 39 | | |
7 | | - | |
| 40 | + | |
8 | 41 | | |
9 | | - | |
| 42 | + | |
10 | 43 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
16 | 48 | | |
17 | 49 | | |
18 | 50 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 51 | + | |
22 | 52 | | |
23 | | - | |
| 53 | + | |
24 | 54 | | |
25 | | - | |
26 | | - | |
| 55 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
25 | 41 | | |
26 | 42 | | |
27 | 43 | | |
28 | 44 | | |
29 | 45 | | |
30 | 46 | | |
31 | | - | |
| 47 | + | |
32 | 48 | | |
33 | 49 | | |
34 | | - | |
35 | | - | |
| 50 | + | |
36 | 51 | | |
37 | 52 | | |
38 | 53 | | |
| |||
62 | 77 | | |
63 | 78 | | |
64 | 79 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 80 | + | |
69 | 81 | | |
70 | 82 | | |
71 | 83 | | |
| |||
0 commit comments