Skip to content

Commit 3201752

Browse files
authored
RELEASE: 0.9.0 (#175)
1 parent 67892d5 commit 3201752

File tree

5 files changed

+30
-8
lines changed

5 files changed

+30
-8
lines changed

PyPI_Description.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ We are making progress - The Public Preview of our driver is now available! This
99
### What's Included:
1010

1111
- Everything from previous releases
12-
- **Azure Active Directory Authentication:** New authentication module supporting Azure AD login options (ActiveDirectoryInteractive, ActiveDirectoryDeviceCode, ActiveDirectoryDefault) for secure and flexible cloud integration.
13-
- **Batch Execution Performance:** Refactored `executemany` for efficient bulk operations and improved C++ bindings for performance.
14-
- **Robust Logging System:** Overhauled logging with a singleton manager, sensitive data sanitization, and better exception handling.
15-
- **Improved Row Representation:** Enhanced output and debugging via updated `Row` object string and representation methods.
12+
- **Alpine Linux Support:** Added full support for Alpine Linux distribution (musllinux) with specialized driver handling and fixes for musl libc compatibility.
13+
- **Connection Management Improvements:** Fixed autocommit to be False by default and added automatic rollback on connection close for better transaction control.
14+
- **PyODBC Compatibility:** Enhanced type objects and constructor compatibility with pyodbc for seamless migration and interoperability.
1615

1716
For more information, please visit the project link on Github: https://github.com/microsoft/mssql-python
1817

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,31 @@ pip install mssql-python
1717
```
1818
**MacOS:** mssql-python can be installed with [pip](http://pypi.python.org/pypi/pip)
1919
```bash
20+
# For Mac, OpenSSL is a pre-requisite - skip if already present
2021
brew install openssl
2122
pip install mssql-python
2223
```
2324
**Linux:** mssql-python can be installed with [pip](http://pypi.python.org/pypi/pip)
2425
```bash
26+
# For Alpine
27+
apk add libtool krb5-libs
28+
29+
# For Debian/Ubuntu
30+
apt-get install -y libltdl7
31+
32+
# For RHEL
33+
dnf install -y libtool-ltdl
34+
2535
pip install mssql-python
2636
```
2737

2838
## Key Features
2939
### Supported Platforms
3040

31-
Windows, MacOS and Linux (manylinux2014 - Debian, Ubuntu & RHEL)
41+
Windows, MacOS and Linux (manylinux - Debian, Ubuntu, RHEL & musllinux - Alpine)
3242

3343
> **Note:**
34-
> Support for additional Linux OSs (Alpine, SUSE Linux) will come soon
44+
> Support for additional Linux OSs (SUSE Linux) will come soon
3545
>
3646
3747
### DBAPI v2.0 Compliance

eng/pipelines/dummy-release-pipeline.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: mssql-python-official-release-pipeline
1+
name: mssql-python-dummy-release-pipeline
22

33
variables:
44
- group: 'ESRP Federated Creds (AME)'
@@ -27,8 +27,10 @@ jobs:
2727
dir "$(Build.SourcesDirectory)\dist"
2828
displayName: 'List contents of dist directory'
2929
30+
# The ESRP task should fail since Maven is not a valid content type
3031
- task: EsrpRelease@9
3132
displayName: 'ESRP Release'
33+
continueOnError: true
3234
inputs:
3335
connectedservicename: '$(ESRPConnectedServiceName)'
3436
usemanagedidentity: true
@@ -49,3 +51,14 @@ jobs:
4951
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
5052
MainPublisher: 'ESRPRELPACMAN'
5153
DomainTenantId: '$(DomainTenantId)'
54+
55+
- script: |
56+
echo "ESRP task completed. Checking if it failed as expected..."
57+
if "%AGENT_JOBSTATUS%" == "Failed" (
58+
echo "✅ ESRP task failed as expected for dummy release testing"
59+
exit 0
60+
) else (
61+
echo "⚠️ ESRP task unexpectedly succeeded"
62+
exit 0
63+
)
64+
displayName: 'Validate ESRP Task Failed as Expected'
21.7 MB
Binary file not shown.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def finalize_options(self):
8383

8484
setup(
8585
name='mssql-python',
86-
version='0.8.1',
86+
version='0.9.0',
8787
description='A Python library for interacting with Microsoft SQL Server',
8888
long_description=open('PyPI_Description.md', encoding='utf-8').read(),
8989
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)