-
Notifications
You must be signed in to change notification settings - Fork 140
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
Added features described in Django 2.2 docs #204
base: azure-2.1
Are you sure you want to change the base?
Conversation
Many thanks @JordanReiter |
@morlandi no problem! I do think it means that some functionality that could potentially be supported is missing, but at the very least it works and provides similar functionality that was present in version 2.1. |
True I just wonder: isn't the package too restrictive in raising an exception when the actual Django version is ABOVE the expected one ? In my opinion, a warning would be more appropriate. I just migrated to Django 2.2 a reasonably complex project requiring 60 external Python modules / apps. In doing so, I took the responsibility to supervise the process and check all unit tests. |
Database behavior is so integral that I think it's reasonable to have
strict restrictions for this library. I agree it would be overkill for
other libraries/packages.
…On Thu, Apr 25, 2019 at 8:39 PM morlandi ***@***.***> wrote:
at the very least it works and provides similar functionality that was
present in version 2.1.
True
I just wonder: isn't the package too restrictive in raising an exception
when the actual Django version is ABOVE the expected one ? In my opinion, a
warning would be more appropriate.
I just migrated to Django 2.2 a reasonably complex project requiring 60
external Python modules / apps.
In doing so, I took the responsability to supervise the process and check
all unit tests.
All in all, that whasn't bad at all.
And guess what ? ... the only nuisance was realated to django-pyodbc-azure
and it's restrictive setup constraints. Would all other involved Django
apps be so restrictive, I couldn't have possibly dealt with this migration
at all.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#204 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABX4TXDZC4GGKQJ5JFYOO3PSJFLDANCNFSM4HE7KQOA>
.
--
Jordan Reiter
[email protected]
|
Hmmm ... I totally agree on the "better safe than sorry" approach ;) On the other side, If you compare the file changes between subsequent versions of the package, you'll mainly find extensions and optimisations, more than fixes for incompatibility issues. While I'm at it, let me thank you again for contribution, and a big big thank to @michiya for his remarkable commitment |
We are using the code in the PR and it works as expected. +1 on getting this merged in ASAP. |
What is the status of this PR ? Django 2.0 has been out since 3 months now, this lib is the only one forcing us to stay on 2.1 😕 |
@@ -26,7 +26,7 @@ | |||
license='BSD', | |||
packages=['sql_server', 'sql_server.pyodbc'], | |||
install_requires=[ | |||
'Django>=2.1.0,<2.2', | |||
'Django>=2.2.0,<2.3', |
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.
Just for the record, there will be no Django 2.3. The next release is 3.0 😊
See : https://docs.djangoproject.com/en/dev/internals/release-process/ and https://www.djangoproject.com/download/
Working as expected here. All for getting in merged in. |
|
Works as expected ... +1 to merge into main branch |
Works for us, too. |
Please merge it to master. |
Would if I could buddy. |
For those asking for this PR to be merged, it looks like @michiya has had to move on after giving much hard work on this project. We thank him for his efforts and outstanding contribution over the years. For the future, @FlipperPA has kicked off a project to incorporate this work into the core of the Django project itself
While that work continues, the 2019-12-04 update from FlipperPA endorses the https://github.com/ESSolutions/django-mssql-backend fork of this repo:
https://github.com/ESSolutions/django-mssql-backend has merged Django 2.2 compatibility into master, as well as various other fixes. @OskarPersson is working hard on Django 3 support too (ESSolutions#18). We should probably all switch to using django-mssql-backend, instead of django-pyodbc-azure, and thank @OskarPersson for picking up the baton that @michiya ran with for so long. |
HI everyone! This looks awesome and I am ready to try it out :D, however I am wondering has anyone tried django 3.0 yet? I am kicking off a new service soon and would love to use the newest version but I am a little concerned about the connection to mssql - thoughts? Is anything radically different in 3.0? |
Because django-pyodbc-azure is inactive: - michiya/django-pyodbc-azure#204 (comment)
As far as I can tell these are all the features needed for Django 2.2 compatibility. I think technically SQL Server could support partial indexes but for now it can just be unsupported.