py-django-taggit: updated to 5.0.1

5.0.1 (2023-10-26)
~~~~~~~~~~~~~~~~~~

* Fix the package metadata to properly reflect the right Django and Python version requirements
  Release 5.0.0 improperly stated its Django bounds as >=3.2, so people installing without bounds will end up on a version that won't work.

5.0.0 (2023-10-24)
~~~~~~~~~~~~~~~~~~
* **Backwards icompatible:** Rename the (``content_type``, ``object_id``) index on ``TaggedItem``.
  It is very unlikely for this to affect your code itself, and a migration will rename the index. This should not cause any downtime according to my research (Postgres does not lock the table for index renames, and Oracle holds a tiny lock to do it, and the change is only to the metadata, so is not dependent on table size).

* **Backwards incompatible:** Remove the ``.indexed_together`` and ``.unique_together`` attributes on ``TaggedItem``

  We are instead using ``constraints`` and ``indexes`` to set up these properties.
* Remove support for Django 3.2.
* Remove usage of deprecated APIs for Django 4.2
* Remove support for Python 3.7 (no code changes involved)
* Fix ``tag_kwargs`` and ``TAGGIT_CASE_INSENSITIVE=True`` discrepency.

4.0.0 (2023-05-04)
~~~~~~~~~~~~~~~~~~
* Remove Python 3.6 support (no code changes occurred, but we no longer test this release).
* Remove Django 4.0 support (no code changes occurred, but we no longer test this release).
* Add Django 4.2 support.
This commit is contained in:
adam 2024-02-09 12:40:04 +00:00
parent ab3932c360
commit abe671f605
3 changed files with 21 additions and 16 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.7 2023/04/10 20:03:15 joerg Exp $
# $NetBSD: Makefile,v 1.8 2024/02/09 12:40:04 adam Exp $
DISTNAME= django-taggit-3.1.0
DISTNAME= django-taggit-5.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-taggit/}
@ -10,7 +10,9 @@ HOMEPAGE= https://github.com/jazzband/django-taggit
COMMENT= Generic tagging application for Django
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-django>=3.2:../../www/py-django3
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-django>=4.1:../../www/py-django4
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-djangorestframework-[0-9]*:../../www/py-djangorestframework
@ -19,7 +21,7 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && LC_ALL=C ${PREFIX}/bin/coverage-${PYVERSSUFFIX} run -m django test --settings=tests.settings
cd ${WRKSRC} && ${PREFIX}/bin/coverage-${PYVERSSUFFIX} run -m django test --settings=tests.settings
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,10 +1,10 @@
@comment $NetBSD: PLIST,v 1.3 2023/04/10 20:03:15 joerg Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.4 2024/02/09 12:40:04 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/taggit/__init__.py
${PYSITELIB}/taggit/__init__.pyc
${PYSITELIB}/taggit/__init__.pyo
@ -77,6 +77,9 @@ ${PYSITELIB}/taggit/migrations/0004_alter_taggeditem_content_type_alter_taggedit
${PYSITELIB}/taggit/migrations/0005_auto_20220424_2025.py
${PYSITELIB}/taggit/migrations/0005_auto_20220424_2025.pyc
${PYSITELIB}/taggit/migrations/0005_auto_20220424_2025.pyo
${PYSITELIB}/taggit/migrations/0006_rename_taggeditem_content_type_object_id_taggit_tagg_content_8fc721_idx.py
${PYSITELIB}/taggit/migrations/0006_rename_taggeditem_content_type_object_id_taggit_tagg_content_8fc721_idx.pyc
${PYSITELIB}/taggit/migrations/0006_rename_taggeditem_content_type_object_id_taggit_tagg_content_8fc721_idx.pyo
${PYSITELIB}/taggit/migrations/__init__.py
${PYSITELIB}/taggit/migrations/__init__.pyc
${PYSITELIB}/taggit/migrations/__init__.pyo

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.6 2023/04/10 20:03:15 joerg Exp $
$NetBSD: distinfo,v 1.7 2024/02/09 12:40:04 adam Exp $
BLAKE2s (django-taggit-3.1.0.tar.gz) = 97086a46c624e68d7c1a84f4df8b454e1f3af38605837e7ccd0cb3360b355fb3
SHA512 (django-taggit-3.1.0.tar.gz) = 8654b703cb9b3848a5185f1b88826a80eed44f00993d6272e8fbec1145e6c30be4c0840a0d6e88544d2f927c7c288c2be94e3df61cbe34c37f1f213a1bf0780d
Size (django-taggit-3.1.0.tar.gz) = 58238 bytes
BLAKE2s (django-taggit-5.0.1.tar.gz) = 40eda5581172c2bf5ba4a0ee70fc1bb42737f73e612d18841c9c3e6587471bc1
SHA512 (django-taggit-5.0.1.tar.gz) = af7b04da8359ebf68ea1b5c1fba3ed509b5357d65cccd95d835e0db68431fcbf0057e613cd05c54ac76524c8fc1c23d0dbacae8b80a23bb7867a0fa4a62f445b
Size (django-taggit-5.0.1.tar.gz) = 60372 bytes