Skip to content

Commit

Permalink
Refs #30183 -- Doc'd dropping support for sqlparse < 0.2.2.
Browse files Browse the repository at this point in the history
Support for sqlparse < 0.2.2 was broken in
782d85b because is_whitespace property
was added in sqlparse 0.2.2.
  • Loading branch information
stephenrauch authored and felixxm committed Nov 6, 2019
1 parent c8debd5 commit 4b6db76
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/internals/contributing/writing-code/unit-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ dependencies:
* memcached_, plus a :ref:`supported Python binding <memcached>`
* gettext_ (:ref:`gettext_on_windows`)
* selenium_
* sqlparse_ (required)
* sqlparse_ 0.2.2+ (required)
* tblib_ 1.5.0+

You can find these dependencies in `pip requirements files`_ inside the
Expand Down
2 changes: 2 additions & 0 deletions docs/releases/3.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,8 @@ Miscellaneous
* ``alias=None`` is added to the signature of
:meth:`.Expression.get_group_by_cols`.

* Support for ``sqlparse`` < 0.2.2 is removed.

.. _deprecated-features-3.0:

Features deprecated in 3.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def read(fname):
entry_points={'console_scripts': [
'django-admin = django.core.management:execute_from_command_line',
]},
install_requires=['pytz', 'sqlparse', 'asgiref'],
install_requires=['pytz', 'sqlparse >= 0.2.2', 'asgiref'],
extras_require={
"bcrypt": ["bcrypt"],
"argon2": ["argon2-cffi >= 16.1.0"],
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements/py3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ pytz
pywatchman; sys.platform != 'win32'
PyYAML
selenium
sqlparse
sqlparse >= 0.2.2
tblib >= 1.5.0

0 comments on commit 4b6db76

Please sign in to comment.