Skip to content

Commit 65c4add

Browse files
authored
FEAT: Added Build Artifacts to Release Pipeline
FEAT: Added Build Artifacts to Release Pipeline
2 parents 4b518c9 + 7a43fdc commit 65c4add

File tree

5 files changed

+78
-57
lines changed

5 files changed

+78
-57
lines changed

PyPI_Description.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# mssql-python
2+
3+
This is a new Python driver for Microsoft SQL Server currently in Alpha phase.
4+
5+
## Alpha Version Release
6+
7+
We are excited to announce the release of the alpha version of our driver. This marks a significant milestone in our development journey. While this version is still in the early stages, it includes the foundational code and initial logic that will drive future enhancements.
8+
9+
### What's Included:
10+
11+
- Basic functionality to get you started.
12+
- Initial implementation of core features.
13+
- Placeholder for future improvements and updates.
14+
15+
For more information, please visit the project link on Github: https://github.com/microsoft/mssql-python
16+
17+
### What's Next:
18+
19+
As we continue to develop and refine the driver, you can expect regular updates that will introduce new features, optimizations, and bug fixes. We encourage you to provide feedback and report any issues you encounter, as this will help us improve the driver for the final release.
20+
21+
### Stay Tuned:
22+
23+
We appreciate your interest and support in this project. Stay tuned for more updates and enhancements as we work towards delivering a robust and fully-featured driver in coming months.
24+
Thank you for being a part of our journey!

eng/pipelines/build-and-release-pipeline.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

eng/pipelines/build-whl-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
project: '$(System.TeamProject)'
8585
definition: 2134
8686
buildVersionToDownload: 'latestFromBranch'
87-
branchName: 'refs/heads/bewithgaurav/build_whl_pipeline' # Or 'refs/heads/dev'
87+
branchName: 'refs/heads/main'
8888
artifactName: 'mssql-python-arm64-libs'
8989
targetPath: '$(Build.SourcesDirectory)\mssql_python\pybind\python_libs\arm64'
9090
displayName: 'Download ARM64 Python libs from latest successful run on branches'
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: mssql-python-official-release-pipeline
2+
3+
variables:
4+
- group: 'ESRP Federated Creds (AME)'
5+
6+
jobs:
7+
- job: ReleaseESRPPackage
8+
displayName: 'Release ESRP Package'
9+
pool:
10+
vmImage: 'windows-latest'
11+
12+
steps:
13+
- task: DownloadPipelineArtifact@2
14+
inputs:
15+
buildType: 'specific'
16+
project: '$(System.TeamProject)'
17+
definition: 2134
18+
buildVersionToDownload: 'latestFromBranch'
19+
branchName: 'refs/heads/main'
20+
artifactName: 'mssql-python-wheels-dist'
21+
targetPath: '$(Build.SourcesDirectory)\dist'
22+
displayName: 'Download release wheel files artifact from latest successful run on main branch'
23+
24+
# Show content of the downloaded artifact
25+
- script: |
26+
echo "Contents of the dist directory:"
27+
dir "$(Build.SourcesDirectory)\dist"
28+
displayName: 'List contents of dist directory'
29+
30+
# - task: EsrpRelease@9
31+
# displayName: 'ESRP Release'
32+
# inputs:
33+
# connectedservicename: '$(ESRPConnectedServiceName)'
34+
# usemanagedidentity: true
35+
# keyvaultname: '$(AuthAKVName)'
36+
# signcertname: '$(AuthSignCertName)'
37+
# clientid: '$(EsrpClientId)'
38+
# Intent: 'PackageDistribution'
39+
# ContentType: 'PyPI'
40+
# ContentSource: 'Folder'
41+
# FolderLocation: '$(System.DefaultWorkingDirectory)/dist'
42+
# WaitForReleaseCompletion: true
43+
# Owners: '$(owner)'
44+
# Approvers: '$(approver)'
45+
# ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
46+
# MainPublisher: 'ESRPRELPACMAN'
47+
# DomainTenantId: '$(DomainTenantId)'

setup.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def finalize_options(self):
7878
name='mssql-python',
7979
version='0.1.6',
8080
description='A Python library for interacting with Microsoft SQL Server',
81-
long_description=open('README.md', encoding='utf-8').read(),
81+
long_description=open('PyPI_Description.md', encoding='utf-8').read(),
8282
long_description_content_type='text/markdown',
8383
author='Microsoft Corporation',
8484
author_email='pysqldriver@microsoft.com',
@@ -94,8 +94,11 @@ def finalize_options(self):
9494
]
9595
},
9696
include_package_data=True,
97-
# Requires >= Python 3.9
98-
python_requires='>=3.9',
97+
# Requires >= Python 3.10
98+
python_requires='>=3.10',
99+
classifiers=[
100+
'Operating System :: Microsoft :: Windows',
101+
],
99102
zip_safe=False,
100103
# Force binary distribution
101104
distclass=BinaryDistribution,

0 commit comments

Comments
 (0)