-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Conversation
db-up |
src/db-up/azext_db_up/custom.py
Outdated
@@ -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', '-vv', '--disable-pip-version-check', '--no-cache-dir'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this safe? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm also hesitant about this. But it's annoying to bump manually each time
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are already manually bumming version in setup.py
, right? If we want, we can loosen the version in both places.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use ~=
instead of ==
|
Fix #4608
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update
src/index.json
automatically.The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify
src/index.json
.