New Upstream Snapshot - django-cachalot
Ready changes
Summary
Merged new upstream version: 2.5.2 (was: 2.5.1).
Resulting package
Built on 2022-12-16T15:27 (took 2m56s)
The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:
apt install -t fresh-snapshots python3-django-cachalot
Lintian Result
Diff
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 509d6ac..e81b0f1 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,6 +1,10 @@
What’s new in django-cachalot?
==============================
+2.5.2
+-----
+- Added Django 4.1 support (#217)
+
2.5.1
-----
diff --git a/PKG-INFO b/PKG-INFO
index 7b551b3..5001f02 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,11 @@
Metadata-Version: 2.1
Name: django-cachalot
-Version: 2.5.1
+Version: 2.5.2
Summary: Caches your Django ORM queries and automatically invalidates them.
Home-page: https://github.com/noripyt/django-cachalot
Author: Bertrand Bordage, Andrew Chen Wang
Author-email: acwangpython@gmail.com
License: BSD
-Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
@@ -15,6 +14,7 @@ Classifier: Operating System :: OS Independent
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.0
+Classifier: Framework :: Django :: 4.1
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
@@ -64,7 +64,7 @@ Table of Contents:
Quickstart
----------
-Cachalot officially supports Python 3.7-3.10 and Django 2.2, 3.2, and 4.0 with the databases PostgreSQL, SQLite, and MySQL.
+Cachalot officially supports Python 3.7-3.10 and Django 2.2, 3.2, and 4.0-4.1 with the databases PostgreSQL, SQLite, and MySQL.
Note: an upper limit on Django version is set for your safety. Please do not ignore it.
@@ -166,5 +166,3 @@ Legacy chats:
.. _Andrew Chen Wang: https://github.com/Andrew-Chen-Wang
.. image:: https://raw.github.com/noripyt/django-cachalot/master/django-cachalot.jpg
-
-
diff --git a/README.rst b/README.rst
index 48fc720..e58e5fd 100644
--- a/README.rst
+++ b/README.rst
@@ -39,7 +39,7 @@ Table of Contents:
Quickstart
----------
-Cachalot officially supports Python 3.7-3.10 and Django 2.2, 3.2, and 4.0 with the databases PostgreSQL, SQLite, and MySQL.
+Cachalot officially supports Python 3.7-3.10 and Django 2.2, 3.2, and 4.0-4.1 with the databases PostgreSQL, SQLite, and MySQL.
Note: an upper limit on Django version is set for your safety. Please do not ignore it.
diff --git a/cachalot/__init__.py b/cachalot/__init__.py
index f8d7ab0..fd4cbf1 100644
--- a/cachalot/__init__.py
+++ b/cachalot/__init__.py
@@ -1,4 +1,4 @@
-VERSION = (2, 5, 1)
+VERSION = (2, 5, 2)
__version__ = ".".join(map(str, VERSION))
try:
diff --git a/cachalot/tests/read.py b/cachalot/tests/read.py
index 8d69956..f45072f 100644
--- a/cachalot/tests/read.py
+++ b/cachalot/tests/read.py
@@ -352,7 +352,7 @@ class ReadTestCase(TestUtilsMixin, TransactionTestCase):
@all_final_sql_checks
def test_subquery(self):
additional_tables = []
- if django_version[0] >= 4 and settings.CACHALOT_FINAL_SQL_CHECK:
+ if django_version[0] == 4 and django_version[1] < 1 and settings.CACHALOT_FINAL_SQL_CHECK:
# with Django 4.0 comes some query optimalizations that do selects little differently.
additional_tables.append('django_content_type')
qs = Test.objects.filter(owner__in=User.objects.all())
diff --git a/debian/changelog b/debian/changelog
index 7e14ea8..4b65868 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,13 @@
-django-cachalot (2.5.1-1) UNRELEASED; urgency=medium
+django-cachalot (2.5.2-1) UNRELEASED; urgency=medium
+ [ Lena Voytek ]
* New upstream versions 2.4.4, 2.4.5, 2.5.0, 2.5.1
* d/control: allow python3-django 4.0 and above
- -- Lena Voytek <lena.voytek@canonical.com> Mon, 15 Aug 2022 10:32:50 -0700
+ [ Debian Janitor ]
+ * New upstream release.
+
+ -- Lena Voytek <lena.voytek@canonical.com> Fri, 16 Dec 2022 15:26:02 -0000
django-cachalot (2.4.3-2) unstable; urgency=medium
diff --git a/django_cachalot.egg-info/PKG-INFO b/django_cachalot.egg-info/PKG-INFO
index 7b551b3..5001f02 100644
--- a/django_cachalot.egg-info/PKG-INFO
+++ b/django_cachalot.egg-info/PKG-INFO
@@ -1,12 +1,11 @@
Metadata-Version: 2.1
Name: django-cachalot
-Version: 2.5.1
+Version: 2.5.2
Summary: Caches your Django ORM queries and automatically invalidates them.
Home-page: https://github.com/noripyt/django-cachalot
Author: Bertrand Bordage, Andrew Chen Wang
Author-email: acwangpython@gmail.com
License: BSD
-Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
@@ -15,6 +14,7 @@ Classifier: Operating System :: OS Independent
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4.0
+Classifier: Framework :: Django :: 4.1
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
@@ -64,7 +64,7 @@ Table of Contents:
Quickstart
----------
-Cachalot officially supports Python 3.7-3.10 and Django 2.2, 3.2, and 4.0 with the databases PostgreSQL, SQLite, and MySQL.
+Cachalot officially supports Python 3.7-3.10 and Django 2.2, 3.2, and 4.0-4.1 with the databases PostgreSQL, SQLite, and MySQL.
Note: an upper limit on Django version is set for your safety. Please do not ignore it.
@@ -166,5 +166,3 @@ Legacy chats:
.. _Andrew Chen Wang: https://github.com/Andrew-Chen-Wang
.. image:: https://raw.github.com/noripyt/django-cachalot/master/django-cachalot.jpg
-
-
diff --git a/django_cachalot.egg-info/requires.txt b/django_cachalot.egg-info/requires.txt
index 8480fb7..051fbc0 100644
--- a/django_cachalot.egg-info/requires.txt
+++ b/django_cachalot.egg-info/requires.txt
@@ -1 +1 @@
-Django<4.1,>=2.2
+Django<4.2,>=2.2
diff --git a/docs/quickstart.rst b/docs/quickstart.rst
index b355ad0..b271001 100644
--- a/docs/quickstart.rst
+++ b/docs/quickstart.rst
@@ -4,7 +4,7 @@ Quick start
Requirements
............
-- Django 2.2, 3.2, 4.0
+- Django 2.2, 3.2, 4.0-4.1
- Python 3.7-3.10
- a cache configured as ``'default'`` with one of these backends:
diff --git a/requirements.txt b/requirements.txt
index 9e8cdd1..7613f70 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1 +1 @@
-Django>=2.2,<4.1
+Django>=2.2,<4.2
diff --git a/setup.py b/setup.py
index 8f1a12a..4bcde17 100755
--- a/setup.py
+++ b/setup.py
@@ -28,6 +28,7 @@ setup(
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
+ 'Framework :: Django :: 4.1',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
diff --git a/tox.ini b/tox.ini
index 780eb86..8e200ec 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,6 +3,7 @@ envlist =
py{37,38,39}-django2.2-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
py{37,38,39,310}-django3.2-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
py{38,39,310}-django4.0-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
+ py{38,39,310}-django4.1-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
py{38,39,310}-djangomain-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
[testenv]
@@ -15,6 +16,7 @@ deps =
django2.2: Django>=2.2,<2.3
django3.2: Django>=3.2,<4.0
django4.0: Django>=4.0,<4.1
+ django4.1: Django>=4.1,<4.2
djangomain: https://github.com/django/django/archive/main.tar.gz
psycopg2-binary>=2.8,<2.9
mysqlclient
@@ -51,4 +53,5 @@ DJANGO =
2.2: django2.2
3.2: django3.2
4.0: django4.0
+ 4.1: django4.1
main: djangomain
Debdiff
[The following lists of changes regard files as different if they have different names, permissions or owners.]
Files in second set of .debs but not in first
-rw-r--r-- root/root /usr/lib/python3/dist-packages/django_cachalot-2.5.2.egg-info/PKG-INFO -rw-r--r-- root/root /usr/lib/python3/dist-packages/django_cachalot-2.5.2.egg-info/dependency_links.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/django_cachalot-2.5.2.egg-info/not-zip-safe -rw-r--r-- root/root /usr/lib/python3/dist-packages/django_cachalot-2.5.2.egg-info/requires.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/django_cachalot-2.5.2.egg-info/top_level.txt
Files in first set of .debs but not in second
-rw-r--r-- root/root /usr/lib/python3/dist-packages/django_cachalot-2.5.1.egg-info/PKG-INFO -rw-r--r-- root/root /usr/lib/python3/dist-packages/django_cachalot-2.5.1.egg-info/dependency_links.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/django_cachalot-2.5.1.egg-info/not-zip-safe -rw-r--r-- root/root /usr/lib/python3/dist-packages/django_cachalot-2.5.1.egg-info/requires.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/django_cachalot-2.5.1.egg-info/top_level.txt
No differences were encountered in the control files