Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-classy-tags for 
openSUSE:Factory checked in at 2023-11-30 22:00:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-classy-tags (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-classy-tags.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-classy-tags"

Thu Nov 30 22:00:39 2023 rev:8 rq:1129784 version:4.1.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-classy-tags/python-django-classy-tags.changes
      2023-06-22 23:26:28.369967571 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-classy-tags.new.25432/python-django-classy-tags.changes
   2023-11-30 22:01:28.997417941 +0100
@@ -1,0 +2,12 @@
+Wed Nov 29 11:59:04 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 4.1.0:
+  * Django 4.2 support
+  * Dropped support for Python 3.7
+  * Added support for Python 3.11
+  * Dropped support for Django < 3.2
+  * Added support for Django 4.1
+  * Start testing against Django's `main` branch
+- drop django-4-1-support.patch (upstream)
+
+-------------------------------------------------------------------

Old:
----
  3.0.1.tar.gz
  django-4-1-support.patch

New:
----
  4.1.0.tar.gz

BETA DEBUG BEGIN:
  Old:  * Start testing against Django's `main` branch
- drop django-4-1-support.patch (upstream)
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django-classy-tags.spec ++++++
--- /var/tmp/diff_new_pack.lzoyVK/_old  2023-11-30 22:01:29.637441518 +0100
+++ /var/tmp/diff_new_pack.lzoyVK/_new  2023-11-30 22:01:29.637441518 +0100
@@ -18,14 +18,12 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-django-classy-tags
-Version:        3.0.1
+Version:        4.1.0
 Release:        0
 Summary:        Class based template tags for Django
 License:        MIT
 URL:            https://github.com/ojii/django-classy-tags
 Source:         
https://github.com/divio/django-classy-tags/archive/%{version}.tar.gz
-# PATCH-FIX-UPSTREAM Support django >= 4.1 gh#django-cms/django-classy-tags#86
-Patch0:         django-4-1-support.patch
 BuildRequires:  %{python_module Django >= 3.2}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes

++++++ 3.0.1.tar.gz -> 4.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-classy-tags-3.0.1/.github/PULL_REQUEST_TEMPLATE.md 
new/django-classy-tags-4.1.0/.github/PULL_REQUEST_TEMPLATE.md
--- old/django-classy-tags-3.0.1/.github/PULL_REQUEST_TEMPLATE.md       
1970-01-01 01:00:00.000000000 +0100
+++ new/django-classy-tags-4.1.0/.github/PULL_REQUEST_TEMPLATE.md       
2023-07-29 04:21:05.000000000 +0200
@@ -0,0 +1,30 @@
+## Description
+
+<!--
+If this is a security issue stop right here and follow our documentation:
+http://docs.django-cms.org/en/latest/contributing/development-policies.html#reporting-security-issues
+-->
+
+## Related resources
+
+<!--
+Add here links to existing issues or conversation from GitHub
+or any other resource.
+-->
+
+* #...
+* #...
+
+## Checklist
+
+<!--
+Please check the following items before submitting, otherwise,
+your pull request will be closed.
+Use 'x' to check each item: [x] I have ...
+-->
+
+* [ ] I have opened this pull request against ``master``
+* [ ] I have added or modified the tests when changing logic
+* [ ] I have followed [the conventional commits 
guidelines](https://www.conventionalcommits.org/) to add meaningful information 
into the changelog
+* [ ] I have read the [contribution guidelines 
](https://github.com/django-cms/django-cms/blob/develop/CONTRIBUTING.rst) and I 
have joined #workgroup-pr-review on 
+[Slack](https://www.django-cms.org/slack) to find a “pr review buddy” who 
is going to review my pull request.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/.github/dependabot.yml 
new/django-classy-tags-4.1.0/.github/dependabot.yml
--- old/django-classy-tags-3.0.1/.github/dependabot.yml 1970-01-01 
01:00:00.000000000 +0100
+++ new/django-classy-tags-4.1.0/.github/dependabot.yml 2023-07-29 
04:21:05.000000000 +0200
@@ -0,0 +1,11 @@
+# To get started with Dependabot version updates, you'll need to specify which
+# package ecosystems to update and where the package manifests are located.
+# Please see the documentation for all configuration options:
+# 
https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
+
+version: 2
+updates:
+  - package-ecosystem: "github-actions"
+    directory: "/" # Location of package manifests
+    schedule:
+      interval: "weekly"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-classy-tags-3.0.1/.github/workflows/codeql-analysis.yml 
new/django-classy-tags-4.1.0/.github/workflows/codeql-analysis.yml
--- old/django-classy-tags-3.0.1/.github/workflows/codeql-analysis.yml  
2022-02-01 23:26:47.000000000 +0100
+++ new/django-classy-tags-4.1.0/.github/workflows/codeql-analysis.yml  
2023-07-29 04:21:05.000000000 +0200
@@ -36,11 +36,11 @@
 
     steps:
     - name: Checkout repository
-      uses: actions/checkout@v2
+      uses: actions/checkout@v3
 
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL
-      uses: github/codeql-action/init@v1
+      uses: github/codeql-action/init@v2
       with:
         languages: ${{ matrix.language }}
         # If you wish to specify custom queries, you can do so here or in a 
config file.
@@ -51,7 +51,7 @@
     # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
     # If this step fails, then you should remove it and run the build manually 
(see below)
     - name: Autobuild
-      uses: github/codeql-action/autobuild@v1
+      uses: github/codeql-action/autobuild@v2
 
     # ℹ️ Command-line programs to run using the OS shell.
     # 📚 https://git.io/JvXDl
@@ -65,4 +65,4 @@
     #   make release
 
     - name: Perform CodeQL Analysis
-      uses: github/codeql-action/analyze@v1
+      uses: github/codeql-action/analyze@v2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/.github/workflows/lint.yml 
new/django-classy-tags-4.1.0/.github/workflows/lint.yml
--- old/django-classy-tags-3.0.1/.github/workflows/lint.yml     2022-02-01 
23:26:47.000000000 +0100
+++ new/django-classy-tags-4.1.0/.github/workflows/lint.yml     2023-07-29 
04:21:05.000000000 +0200
@@ -8,15 +8,15 @@
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
       - name: Set up Python
-        uses: actions/setup-python@v2
+        uses: actions/setup-python@v4
         with:
           python-version: 3.9
       - name: Install flake8
         run: pip install --upgrade flake8
       - name: Run flake8
-        uses: liskin/gh-problem-matcher-wrap@v1
+        uses: liskin/gh-problem-matcher-wrap@v2
         with:
           linters: flake8
           run: flake8
@@ -25,14 +25,14 @@
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
       - name: Set up Python
-        uses: actions/setup-python@v2
+        uses: actions/setup-python@v4
         with:
           python-version: 3.9
       - run: python -m pip install isort
       - name: isort
-        uses: liskin/gh-problem-matcher-wrap@v1
+        uses: liskin/gh-problem-matcher-wrap@v2
         with:
           linters: isort
           run: isort -c -rc -df classytags
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-classy-tags-3.0.1/.github/workflows/publish-to-live-pypi.yml 
new/django-classy-tags-4.1.0/.github/workflows/publish-to-live-pypi.yml
--- old/django-classy-tags-3.0.1/.github/workflows/publish-to-live-pypi.yml     
2022-02-01 23:26:47.000000000 +0100
+++ new/django-classy-tags-4.1.0/.github/workflows/publish-to-live-pypi.yml     
2023-07-29 04:21:05.000000000 +0200
@@ -9,12 +9,17 @@
   build-n-publish:
     name: Build and publish Python 🐍 distributions 📦 to pypi
     runs-on: ubuntu-latest
+    environment:
+      name: pypi
+      url: https://pypi.org/p/django-classy-tags
+    permissions:
+      id-token: write
     steps:
-    - uses: actions/checkout@master
-    - name: Set up Python 3.9
-      uses: actions/setup-python@v1
+    - uses: actions/checkout@v3
+    - name: Set up Python 3.10
+      uses: actions/setup-python@v4
       with:
-        python-version: 3.9
+        python-version: '3.10'
 
     - name: Install pypa/build
       run: >-
@@ -33,7 +38,4 @@
 
     - name: Publish distribution 📦 to PyPI
       if: startsWith(github.ref, 'refs/tags')
-      uses: pypa/gh-action-pypi-publish@master
-      with:
-        user: __token__
-        password: ${{ secrets.PYPI_API_TOKEN }}
+      uses: pypa/gh-action-pypi-publish@release/v1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-classy-tags-3.0.1/.github/workflows/publish-to-test-pypi.yml 
new/django-classy-tags-4.1.0/.github/workflows/publish-to-test-pypi.yml
--- old/django-classy-tags-3.0.1/.github/workflows/publish-to-test-pypi.yml     
2022-02-01 23:26:47.000000000 +0100
+++ new/django-classy-tags-4.1.0/.github/workflows/publish-to-test-pypi.yml     
2023-07-29 04:21:05.000000000 +0200
@@ -9,12 +9,17 @@
   build-n-publish:
     name: Build and publish Python 🐍 distributions 📦 to TestPyPI
     runs-on: ubuntu-latest
+    environment:
+      name: test
+      url: https://test.pypi.org/p/django-classy-tags
+    permissions:
+      id-token: write
     steps:
-    - uses: actions/checkout@master
-    - name: Set up Python 3.9
-      uses: actions/setup-python@v1
+    - uses: actions/checkout@v3
+    - name: Set up Python 3.10
+      uses: actions/setup-python@v4
       with:
-        python-version: 3.9
+        python-version: '3.10'
 
     - name: Install pypa/build
       run: >-
@@ -32,9 +37,7 @@
         .
 
     - name: Publish distribution 📦 to Test PyPI
-      uses: pypa/gh-action-pypi-publish@master
+      uses: pypa/gh-action-pypi-publish@release/v1
       with:
-        user: __token__
-        password: ${{ secrets.TEST_PYPI_API_TOKEN }}
-        repository_url: https://test.pypi.org/legacy/
-        skip_existing: true
+        repository-url: https://test.pypi.org/legacy/
+        skip-existing: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/.github/workflows/test.yml 
new/django-classy-tags-4.1.0/.github/workflows/test.yml
--- old/django-classy-tags-3.0.1/.github/workflows/test.yml     2022-02-01 
23:26:47.000000000 +0100
+++ new/django-classy-tags-4.1.0/.github/workflows/test.yml     2023-07-29 
04:21:05.000000000 +0200
@@ -4,60 +4,76 @@
 
 jobs:
   unit-tests:
+    # Runs for all supported Django/Python versions
     runs-on: ${{ matrix.os }}
     strategy:
       fail-fast: false
       matrix:
-        python-version: ['3.7', '3.8', '3.9', '3.10']
-        django-version: ['2.2', '3.1', '3.2']
+        python-version: ['3.8', '3.9', '3.10', '3.11']
+        django-version: ['3.2', '4.0', '4.1', '4.2']
         os: [
           ubuntu-20.04,
         ]
+        exclude:
+          - python-version: '3.11'
+            django-version: '3.2'
+          - python-version: '3.11'
+            django-version: '4.0'
+          - python-version: '3.8'
+            django-version: '4.2'
+          - python-version: '3.9'
+            django-version: '4.2'
 
     steps:
-    - uses: actions/checkout@v1
+    - uses: actions/checkout@v3
     - name: Set up Python ${{ matrix.python-version }}
 
-      uses: actions/setup-python@v2
+      uses: actions/setup-python@v4
       with:
         python-version: ${{ matrix.python-version }}
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip
-        pip install django==${{ matrix.django-version }} coverage
+        pip install Django==${{ matrix.django-version }} coverage
         python setup.py install
 
     - name: Run coverage
       run: coverage run setup.py test
 
     - name: Upload Coverage to Codecov
-      uses: codecov/codecov-action@v1
+      uses: codecov/codecov-action@v3
 
-  unit-tests-dj4:
+
+  unit-tests-future-versions:
+    # Runs for all Django/Python versions which are not yet supported
     runs-on: ${{ matrix.os }}
     strategy:
       fail-fast: false
       matrix:
-        python-version: ['3.8', '3.9', '3.10']
+        python-version: ['3.10', '3.11']
+        django-version: [
+          'https://github.com/django/django/archive/main.tar.gz'
+        ]
         os: [
           ubuntu-20.04,
         ]
 
     steps:
-    - uses: actions/checkout@v1
+    - uses: actions/checkout@v3
     - name: Set up Python ${{ matrix.python-version }}
 
-      uses: actions/setup-python@v2
+      uses: actions/setup-python@v4
       with:
         python-version: ${{ matrix.python-version }}
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip
-        pip install "django>=4.0,<4.1" coverage
+        pip install ${{ matrix.django-version }} coverage
         python setup.py install
 
     - name: Run coverage
       run: coverage run setup.py test
+      continue-on-error: true
 
     - name: Upload Coverage to Codecov
-      uses: codecov/codecov-action@v1
+      uses: codecov/codecov-action@v3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/.pre-commit-config.yaml 
new/django-classy-tags-4.1.0/.pre-commit-config.yaml
--- old/django-classy-tags-3.0.1/.pre-commit-config.yaml        2022-02-01 
23:26:47.000000000 +0100
+++ new/django-classy-tags-4.1.0/.pre-commit-config.yaml        2023-07-29 
04:21:05.000000000 +0200
@@ -1,15 +1,15 @@
 repos:
   - repo: https://github.com/asottile/pyupgrade
-    rev: v2.31.0
+    rev: v2.32.1
     hooks:
       - id: pyupgrade
         args: ["--py37-plus"]
 
   - repo: https://github.com/adamchainz/django-upgrade
-    rev: '1.4.0'
+    rev: '1.6.1'
     hooks:
       - id: django-upgrade
-        args: [--target-version, "2.2"]
+        args: [--target-version, "3.2"]
 
   - repo: https://github.com/PyCQA/flake8
     rev: 4.0.1
@@ -22,7 +22,7 @@
       - id: yesqa
 
   - repo: https://github.com/pre-commit/pre-commit-hooks
-    rev: v4.1.0
+    rev: v4.2.0
     hooks:
       - id: check-merge-conflict
       - id: mixed-line-ending
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/CHANGELOG.rst 
new/django-classy-tags-4.1.0/CHANGELOG.rst
--- old/django-classy-tags-3.0.1/CHANGELOG.rst  2022-02-01 23:26:47.000000000 
+0100
+++ new/django-classy-tags-4.1.0/CHANGELOG.rst  2023-07-29 04:21:05.000000000 
+0200
@@ -5,6 +5,21 @@
 unreleased
 ==========
 
+4.1.0 2023-07-29
+================
+
+* Django 4.2 support
+
+
+4.0.0 2022-12-01
+================
+
+* Dropped support for Python 3.7
+* Added support for Python 3.11
+* Dropped support for Django < 3.2
+* Added support for Django 4.1
+* Start testing against Django's `main` branch
+
 3.0.1 2022-02-01
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/README.rst 
new/django-classy-tags-4.1.0/README.rst
--- old/django-classy-tags-3.0.1/README.rst     2022-02-01 23:26:47.000000000 
+0100
+++ new/django-classy-tags-4.1.0/README.rst     2023-07-29 04:21:05.000000000 
+0200
@@ -107,7 +107,7 @@
 .. |coverage| image:: 
https://codecov.io/gh/divio/django-classy-tags/branch/master/graph/badge.svg
     :target: https://codecov.io/gh/divio/django-classy-tags
 
-.. |python| image:: https://img.shields.io/badge/python-3.5+-blue.svg
+.. |python| image:: https://img.shields.io/badge/python-3.7+-blue.svg
     :target: https://pypi.org/project/django-classy-tags/
-.. |django| image:: 
https://img.shields.io/badge/django-2.2,%203.0,%203.1-blue.svg
+.. |django| image:: 
https://img.shields.io/badge/django-3.2,%204.0,%204.0-blue.svg
     :target: https://www.djangoproject.com/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/classytags/__init__.py 
new/django-classy-tags-4.1.0/classytags/__init__.py
--- old/django-classy-tags-3.0.1/classytags/__init__.py 2022-02-01 
23:26:47.000000000 +0100
+++ new/django-classy-tags-4.1.0/classytags/__init__.py 2023-07-29 
04:21:05.000000000 +0200
@@ -1 +1 @@
-__version__ = '3.0.1'
+__version__ = '4.1.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/classytags/core.py 
new/django-classy-tags-4.1.0/classytags/core.py
--- old/django-classy-tags-3.0.1/classytags/core.py     2022-02-01 
23:26:47.000000000 +0100
+++ new/django-classy-tags-4.1.0/classytags/core.py     2023-07-29 
04:21:05.000000000 +0200
@@ -108,22 +108,13 @@
 class TagMeta(type):
     """
     Metaclass for the Tag class that set's the name attribute onto the class
-    and a _decorated_function pseudo-function which is used by Django's
-    template system to get the tag name.
     """
     def __new__(cls, name, bases, attrs):
-        parents = [base for base in bases if isinstance(base, TagMeta)]
-        if not parents:
+        if not any(base for base in bases if isinstance(base, TagMeta)):
             return super().__new__(cls, name, bases, attrs)
         tag_name = str(attrs.get('name', get_default_name(name)))
-
-        def fake_func():
-            pass  # pragma: no cover
-
-        fake_func.__name__ = tag_name
-        attrs['_decorated_function'] = fake_func
-        attrs['name'] = str(tag_name)
-        return super().__new__(cls, name, bases, attrs)
+        attrs['name'] = tag_name
+        return super().__new__(cls, tag_name, bases, attrs)
 
 
 class Tag(TagMeta('TagMeta', (Node,), {})):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/docs/conf.py 
new/django-classy-tags-4.1.0/docs/conf.py
--- old/django-classy-tags-3.0.1/docs/conf.py   2022-02-01 23:26:47.000000000 
+0100
+++ new/django-classy-tags-4.1.0/docs/conf.py   2023-07-29 04:21:05.000000000 
+0200
@@ -50,9 +50,9 @@
 # built documents.
 #
 # The short X.Y version.
-version = '3.0.1'
+version = '4.1.0'
 # The full version, including alpha/beta/rc tags.
-release = '3.0.1'
+release = '4.1.0'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/docs/requirements.txt 
new/django-classy-tags-4.1.0/docs/requirements.txt
--- old/django-classy-tags-3.0.1/docs/requirements.txt  2022-02-01 
23:26:47.000000000 +0100
+++ new/django-classy-tags-4.1.0/docs/requirements.txt  2023-07-29 
04:21:05.000000000 +0200
@@ -4,17 +4,13 @@
 #
 #    pip-compile
 #
---trusted-host pypi.python.org
---trusted-host pypi.org
---trusted-host files.pythonhosted.org
-
 alabaster==0.7.12
     # via sphinx
 babel==2.9.1
     # via sphinx
 beautifulsoup4==4.10.0
     # via furo
-certifi==2021.10.8
+certifi==2022.12.7
     # via requests
 charset-normalizer==2.0.10
     # via requests
@@ -23,38 +19,36 @@
 colorama==0.4.4
     # via sphinx-autobuild
 datetime==4.3
-    # via -r requirements.in
+    # via -r docs/requirements.in
 docutils==0.17.1
     # via sphinx
 furo==2022.1.2
-    # via -r requirements.in
+    # via -r docs/requirements.in
 idna==3.3
     # via requests
 imagesize==1.3.0
     # via sphinx
-importlib-metadata==4.10.1
-    # via sphinx
 jinja2==3.0.3
     # via sphinx
 livereload==2.6.3
     # via sphinx-autobuild
 markupsafe==2.0.1
     # via
-    #   -r requirements.in
+    #   -r docs/requirements.in
     #   jinja2
 packaging==21.3
     # via sphinx
 pep517==0.12.0
     # via pip-tools
 pip-tools==6.4.0
-    # via -r requirements.in
+    # via -r docs/requirements.in
 pyenchant==3.2.2
     # via
-    #   -r requirements.in
+    #   -r docs/requirements.in
     #   sphinxcontrib-spelling
 pygments==2.11.2
     # via
-    #   -r requirements.in
+    #   -r docs/requirements.in
     #   furo
     #   sphinx
 pyparsing==3.0.7
@@ -73,12 +67,12 @@
     # via beautifulsoup4
 sphinx==4.4.0
     # via
-    #   -r requirements.in
+    #   -r docs/requirements.in
     #   furo
     #   sphinx-autobuild
     #   sphinxcontrib-spelling
 sphinx-autobuild==2021.3.14
-    # via -r requirements.in
+    # via -r docs/requirements.in
 sphinxcontrib-applehelp==1.0.2
     # via sphinx
 sphinxcontrib-devhelp==1.0.2
@@ -92,18 +86,16 @@
 sphinxcontrib-serializinghtml==1.1.5
     # via sphinx
 sphinxcontrib-spelling==7.3.2
-    # via -r requirements.in
+    # via -r docs/requirements.in
 tomli==2.0.0
     # via pep517
 tornado==6.1
     # via livereload
 urllib3==1.26.8
     # via requests
-wheel==0.37.1
+wheel==0.38.1
     # via pip-tools
-zipp==3.7.0
-    # via importlib-metadata
-zope.interface==5.4.0
+zope-interface==5.4.0
     # via datetime
 
 # The following packages are considered to be unsafe in a requirements file:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/requirements.in 
new/django-classy-tags-4.1.0/requirements.in
--- old/django-classy-tags-3.0.1/requirements.in        2022-02-01 
23:26:47.000000000 +0100
+++ new/django-classy-tags-4.1.0/requirements.in        2023-07-29 
04:21:05.000000000 +0200
@@ -1,5 +1,5 @@
 bump2version
-Django>2.2
+Django>3.2
 pip-tools
 pre-commit
 wheel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/requirements.txt 
new/django-classy-tags-4.1.0/requirements.txt
--- old/django-classy-tags-3.0.1/requirements.txt       2022-02-01 
23:26:47.000000000 +0100
+++ new/django-classy-tags-4.1.0/requirements.txt       2023-07-29 
04:21:05.000000000 +0200
@@ -4,49 +4,47 @@
 #
 #    pip-compile
 #
---trusted-host pypi.python.org
---trusted-host pypi.org
---trusted-host files.pythonhosted.org
-
-asgiref==3.4.1
+asgiref==3.5.2
     # via django
+build==0.8.0
+    # via pip-tools
 bump2version==1.0.1
     # via -r requirements.in
 cfgv==3.3.1
     # via pre-commit
-click==8.0.3
+click==8.1.3
     # via pip-tools
-distlib==0.3.4
+distlib==0.3.6
     # via virtualenv
-django==4.0.1
+django==4.1.10
     # via -r requirements.in
-filelock==3.4.2
+filelock==3.8.0
     # via virtualenv
-identify==2.4.4
+identify==2.5.5
     # via pre-commit
-nodeenv==1.6.0
+nodeenv==1.7.0
     # via pre-commit
-pep517==0.12.0
-    # via pip-tools
-pip-tools==6.4.0
+packaging==21.3
+    # via build
+pep517==0.13.0
+    # via build
+pip-tools==6.8.0
     # via -r requirements.in
-platformdirs==2.4.1
+platformdirs==2.5.2
     # via virtualenv
-pre-commit==2.17.0
+pre-commit==2.20.0
     # via -r requirements.in
+pyparsing==3.0.9
+    # via packaging
 pyyaml==6.0
     # via pre-commit
-six==1.16.0
-    # via virtualenv
-sqlparse==0.4.2
+sqlparse==0.4.3
     # via django
 toml==0.10.2
     # via pre-commit
-tomli==2.0.0
-    # via pep517
-virtualenv==20.13.0
+virtualenv==20.16.5
     # via pre-commit
-wheel==0.37.1
+wheel==0.38.1
     # via
     #   -r requirements.in
     #   pip-tools
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/setup.cfg 
new/django-classy-tags-4.1.0/setup.cfg
--- old/django-classy-tags-3.0.1/setup.cfg      2022-02-01 23:26:47.000000000 
+0100
+++ new/django-classy-tags-4.1.0/setup.cfg      2023-07-29 04:21:05.000000000 
+0200
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 3.0.1
+current_version = 4.1.0
 commit = True
 tag = False
 
@@ -39,6 +39,7 @@
        build,
        data,
        dist,
+       docs/env,
        docs/conf.py,
        *migrations*,
        requirements,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/setup.py 
new/django-classy-tags-4.1.0/setup.py
--- old/django-classy-tags-3.0.1/setup.py       2022-02-01 23:26:47.000000000 
+0100
+++ new/django-classy-tags-4.1.0/setup.py       2023-07-29 04:21:05.000000000 
+0200
@@ -5,7 +5,7 @@
 
 
 REQUIREMENTS = [
-    'django>=2.2',
+    'django>=3.2',
 ]
 
 
@@ -16,15 +16,15 @@
     'License :: OSI Approved :: BSD License',
     'Operating System :: OS Independent',
     'Programming Language :: Python :: 3',
-    'Programming Language :: Python :: 3.7',
     'Programming Language :: Python :: 3.8',
     'Programming Language :: Python :: 3.9',
     'Programming Language :: Python :: 3.10',
+    'Programming Language :: Python :: 3.11',
     'Framework :: Django',
-    'Framework :: Django :: 2.2',
-    'Framework :: Django :: 3.1',
     'Framework :: Django :: 3.2',
     'Framework :: Django :: 4.0',
+    'Framework :: Django :: 4.1',
+    'Framework :: Django :: 4.2',
     'Topic :: Internet :: WWW/HTTP',
     'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
     'Topic :: Software Development',
@@ -36,7 +36,7 @@
 
 setup(
     name='django-classy-tags',
-    version='3.0.1',
+    version='4.1.0',
     author='Jonas Obrist',
     author_email='ojiido...@gmail.com',
     maintainer='Django CMS Association and contributors',
@@ -47,7 +47,7 @@
     long_description=long_description,
     long_description_content_type='text/x-rst',
     packages=find_packages(exclude=['tests']),
-    python_requires='>=3.7',
+    python_requires='>=3.8',
     include_package_data=True,
     zip_safe=False,
     install_requires=REQUIREMENTS,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/tests/test_core.py 
new/django-classy-tags-4.1.0/tests/test_core.py
--- old/django-classy-tags-3.0.1/tests/test_core.py     2022-02-01 
23:26:47.000000000 +0100
+++ new/django-classy-tags-4.1.0/tests/test_core.py     2023-07-29 
04:21:05.000000000 +0200
@@ -591,6 +591,22 @@
         msg = "'my_tag2' in %s" % lib.tags.keys()
         self.assertTrue('my_tag2' not in lib.tags, msg)
 
+        # test decorated naming
+        lib = template.Library()
+
+        @lib.tag(name="my_decorated_tag_5")
+        class MyTag5(core.Tag):
+            pass
+        msg = "'my_decorated_tag_5' not in %s" % lib.tags.keys()
+        self.assertTrue('my_decorated_tag_5' in lib.tags, msg)
+
+        # test decorated and explicit naming
+        # the tag registration takes precedence over the name attribute
+        lib = template.Library()
+        lib.tag('my_decorated_tag_6', MyTag2)
+        msg = "'my_decorated_tag_6' not in %s" % lib.tags.keys()
+        self.assertTrue('my_decorated_tag_6' in lib.tags, msg)
+
     def test_hello_world(self):
         class Hello(core.Tag):
             options = core.Options(
@@ -971,6 +987,12 @@
         tag = MyTag(dummy_parser, DummyTokens())
         self.assertEqual('<Tag: mytag>', repr(tag))
 
+    def test_repr_without_explicit_name(self):
+        class MyTag(core.Tag):
+            pass
+        tag = MyTag(dummy_parser, DummyTokens())
+        self.assertEqual('<Tag: my_tag>', repr(tag))
+
     def test_non_required_multikwarg(self):
         options = core.Options(
             arguments.MultiKeywordArgument('multi', required=False),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-classy-tags-3.0.1/tox.ini 
new/django-classy-tags-4.1.0/tox.ini
--- old/django-classy-tags-3.0.1/tox.ini        2022-02-01 23:26:47.000000000 
+0100
+++ new/django-classy-tags-4.1.0/tox.ini        2023-07-29 04:21:05.000000000 
+0200
@@ -2,23 +2,28 @@
 envlist =
     flake8
     isort
-    py{37,38,39}-dj{22,31,32}
-    py{38,39,310}-dj{31,32,40}
+    py{38,39,310}-dj{32,40,41}
+    py{310,311}-dj{41,42,main}
 
 skip_missing_interpreters=True
 
 [testenv]
 deps =
     -r{toxinidir}/tests/requirements/base.txt
-    dj22: Django>=2.2,<3.0
-    dj31: Django>=3.1,<3.2
     dj32: Django>=3.2,<3.3
     dj40: Django>=4.0,<4.1
+    dj41: Django>=4.1,<4.2
+    dj42: Django>=4.2,<5.0
+    djmain: https://github.com/django/django/archive/main.tar.gz
 commands =
     {envpython} --version
     {env:COMMAND:coverage} erase
     {env:COMMAND:coverage} run setup.py test
     {env:COMMAND:coverage} report
+ignore_outcome =
+    djmain: True
+ignore_errors =
+    djmain: True
 
 [testenv:flake8]
 deps = flake8

Reply via email to