Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[db-up] Upgrade pymssql to support Python 3.10 #4610

Merged
merged 10 commits into from
Apr 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/db-up/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Release History
===============
0.2.7 (2022-04-02)
++++++++++++++++++
* Upgrade `pymssql` to support Python 3.10

0.2.6 (2021-09-08)
++++++++++++++++++
* `az sql up`: Fix pymssql installation failure with Python 3.8/3.9
Expand Down
2 changes: 1 addition & 1 deletion src/db-up/azext_db_up/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def _ensure_pymssql():
python_path = os.environ.get('PYTHONPATH', '')
os.environ['PYTHONPATH'] = python_path + ':' + db_up_ext_path if python_path else db_up_ext_path
cmd = [sys.executable, '-m', 'pip', 'install', '--target', db_up_ext_path,
'pymssql==2.2.2', '-vv', '--disable-pip-version-check', '--no-cache-dir']
'pymssql~=2.2.4', '-vv', '--disable-pip-version-check', '--no-cache-dir']
logger.warning(' Installing "pymssql" pip packages')
with HomebrewPipPatch():
subprocess.check_output(cmd, stderr=subprocess.STDOUT)
Expand Down
4 changes: 2 additions & 2 deletions src/db-up/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from codecs import open
from setuptools import setup, find_packages

VERSION = "0.2.6"
VERSION = "0.2.7"

CLASSIFIERS = [
'Development Status :: 4 - Beta',
Expand All @@ -30,7 +30,7 @@
]

if sys.platform != 'darwin':
DEPENDENCIES.append('pymssql==2.2.2')
DEPENDENCIES.append('pymssql~=2.2.4')

setup(
name='db-up',
Expand Down