Skip to content

Commit

Permalink
3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marksweb committed Dec 16, 2022
1 parent 95ea633 commit d93746d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ This project adheres to `Semantic Versioning <https://semver.org/>`_.
---------------------


`3.0.1`_ (2022-12-16)
---------------------
* `#515`_: Fix for running without optional packages

`3.0.0`_ (2022-12-15)
---------------------
* Add support for Django >3.2 and drop support for <3.2
Expand Down Expand Up @@ -435,6 +439,7 @@ Initial Release
.. _#505: https://github.com/groveco/django-sql-explorer/pull/505
.. _#506: https://github.com/groveco/django-sql-explorer/pull/506
.. _#508: https://github.com/groveco/django-sql-explorer/pull/508
.. _#515: https://github.com/groveco/django-sql-explorer/pull/515

.. _#269: https://github.com/groveco/django-sql-explorer/issues/269
.. _#288: https://github.com/groveco/django-sql-explorer/issues/288
Expand Down
2 changes: 1 addition & 1 deletion docs/features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Snapshots
- Requires celery, obviously. Also uses boto3. All
of these deps are optional and can be installed with
``pip install -r optional-requirements.txt``
``pip install "django-sql-explorer[snapshots]"``
- The checkbox for opting a query into a snapshot is ALL THE WAY
on the bottom of the query view (underneath the results table).
- You must also have the setting ``EXPLORER_TASKS_ENABLED`` enabled.
Expand Down
6 changes: 3 additions & 3 deletions explorer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__version_info__ = {
'major': 3,
'minor': 0,
'micro': 0,
'patch': 1,
'releaselevel': 'final',
'serial': 0
}
Expand All @@ -10,8 +10,8 @@
def get_version(short=False):
assert __version_info__['releaselevel'] in ('alpha', 'beta', 'final')
vers = ["%(major)i.%(minor)i" % __version_info__, ]
if __version_info__['micro']:
vers.append(".%(micro)i" % __version_info__)
if __version_info__['patch']:
vers.append(".%(patch)i" % __version_info__)
if __version_info__['releaselevel'] != 'final' and not short:
vers.append(
'%s%i' % (
Expand Down
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,20 @@ def read(fname):
],
python_requires='>=3.8',
install_requires=[
'Django>=3.2',
'Django>=3.2.12',
'sqlparse>=0.4.0',
],
extras_require={
"charts": [
"matplotlib<4",
"seaborn<0.12"
],
"snapshots": [
"boto3>=1.20.0",
"celery>=4.0"
],
"xls": [
'xlsxwriter>=1.2.1'
'xlsxwriter>=1.3.6'
]
},
cmdclass={
Expand Down

0 comments on commit d93746d

Please sign in to comment.