Package: src:django-cors-headers
Version: 4.7.0-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:django-cors-headers, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-cors-headers  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  dist._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/corsheaders
copying src/corsheaders/signals.py -> build/lib/corsheaders
copying src/corsheaders/conf.py -> build/lib/corsheaders
copying src/corsheaders/middleware.py -> build/lib/corsheaders
copying src/corsheaders/apps.py -> build/lib/corsheaders
copying src/corsheaders/checks.py -> build/lib/corsheaders
copying src/corsheaders/defaults.py -> build/lib/corsheaders
copying src/corsheaders/__init__.py -> build/lib/corsheaders
running egg_info
creating src/django_cors_headers.egg-info
writing src/django_cors_headers.egg-info/PKG-INFO
writing dependency_links to 
src/django_cors_headers.egg-info/dependency_links.txt
writing requirements to src/django_cors_headers.egg-info/requires.txt
writing top-level names to src/django_cors_headers.egg-info/top_level.txt
writing manifest file 'src/django_cors_headers.egg-info/SOURCES.txt'
reading manifest file 'src/django_cors_headers.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/django_cors_headers.egg-info/SOURCES.txt'
copying src/corsheaders/py.typed -> build/lib/corsheaders
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/corsheaders
copying build/lib/corsheaders/signals.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/py.typed -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/conf.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/middleware.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/apps.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/checks.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/defaults.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/__init__.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
running install_egg_info
Copying src/django_cors_headers.egg-info to 
build/bdist.linux-x86_64/wheel/./django_cors_headers-4.7.0.egg-info
running install_scripts
creating 
build/bdist.linux-x86_64/wheel/django_cors_headers-4.7.0.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-cors-headers/.tmp-8grok1v3/django_cors_headers-4.7.0-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'corsheaders/__init__.py'
adding 'corsheaders/apps.py'
adding 'corsheaders/checks.py'
adding 'corsheaders/conf.py'
adding 'corsheaders/defaults.py'
adding 'corsheaders/middleware.py'
adding 'corsheaders/py.typed'
adding 'corsheaders/signals.py'
adding 'django_cors_headers-4.7.0.dist-info/licenses/LICENSE'
adding 'django_cors_headers-4.7.0.dist-info/METADATA'
adding 'django_cors_headers-4.7.0.dist-info/WHEEL'
adding 'django_cors_headers-4.7.0.dist-info/top_level.txt'
adding 'django_cors_headers-4.7.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built django_cors_headers-4.7.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" 
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-cors-headers  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  dist._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
running egg_info
writing src/django_cors_headers.egg-info/PKG-INFO
writing dependency_links to 
src/django_cors_headers.egg-info/dependency_links.txt
writing requirements to src/django_cors_headers.egg-info/requires.txt
writing top-level names to src/django_cors_headers.egg-info/top_level.txt
reading manifest file 'src/django_cors_headers.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/django_cors_headers.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/corsheaders
copying build/lib/corsheaders/signals.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/py.typed -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/conf.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/middleware.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/apps.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/checks.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/defaults.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
copying build/lib/corsheaders/__init__.py -> 
build/bdist.linux-x86_64/wheel/./corsheaders
running install_egg_info
Copying src/django_cors_headers.egg-info to 
build/bdist.linux-x86_64/wheel/./django_cors_headers-4.7.0.egg-info
running install_scripts
creating 
build/bdist.linux-x86_64/wheel/django_cors_headers-4.7.0.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-cors-headers/.tmp-uqx70p6d/django_cors_headers-4.7.0-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'corsheaders/__init__.py'
adding 'corsheaders/apps.py'
adding 'corsheaders/checks.py'
adding 'corsheaders/conf.py'
adding 'corsheaders/defaults.py'
adding 'corsheaders/middleware.py'
adding 'corsheaders/py.typed'
adding 'corsheaders/signals.py'
adding 'django_cors_headers-4.7.0.dist-info/licenses/LICENSE'
adding 'django_cors_headers-4.7.0.dist-info/METADATA'
adding 'django_cors_headers-4.7.0.dist-info/WHEEL'
adding 'django_cors_headers-4.7.0.dist-info/top_level.txt'
adding 'django_cors_headers-4.7.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built django_cors_headers-4.7.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-cors-headers/build; python3.14 
-m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
django: version: 4.2.26, settings: tests.settings (from option)
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-cors-headers/build
configfile: pyproject.toml
plugins: typeguard-4.4.4, django-4.11.1
collected 79 items

tests/test_middleware.py ......................FFF.................      [ 53%]
tests/test_checks.py ..............................                      [ 91%]
tests/test_conf.py .......                                               [100%]

=================================== FAILURES ===================================
_______________ CorsMiddlewareTests.test_get_regex_doesnt_match ________________

self = <tests.test_middleware.CorsMiddlewareTests 
testMethod=test_get_regex_doesnt_match>

    @override_settings(
        CORS_ALLOWED_ORIGINS=["https://example.com";], 
CORS_URLS_REGEX=r"^/not-foo/$"
    )
    def test_get_regex_doesnt_match(self):
>       resp = self.client.get("/foo/", headers={"origin": 
> "https://example.com"})
               
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/test_middleware.py:434: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/django/test/client.py:927: in get
    response = super().get(path, data=data, secure=secure, headers=headers, 
**extra)
               
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:457: in get
    return self.generic(
/usr/lib/python3/dist-packages/django/test/client.py:609: in generic
    return self.request(**r)
           ^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:886: in request
    response = self.handler(environ)
               ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:176: in __call__
    response = self.get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/core/handlers/base.py:143: in get_response
    log_response(
/usr/lib/python3/dist-packages/django/utils/log.py:246: in log_response
    getattr(logger, level)(
/usr/lib/python3.14/logging/__init__.py:1549: in error
    self._log(ERROR, msg, args, **kwargs)
/usr/lib/python3.14/logging/__init__.py:1665: in _log
    self.handle(record)
/usr/lib/python3.14/logging/__init__.py:1681: in handle
    self.callHandlers(record)
/usr/lib/python3.14/logging/__init__.py:1737: in callHandlers
    hdlr.handle(record)
/usr/lib/python3.14/logging/__init__.py:1027: in handle
    self.emit(record)
/usr/lib/python3/dist-packages/django/utils/log.py:125: in emit
    reporter.get_traceback_text(),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text
    return t.render(c)
           ^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/base.py:175: in render
    return self._render(context)
           ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/utils.py:111: in 
instrumented_test_render
    template_rendered.send(sender=self, template=self, context=context)
/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send
    (receiver, receiver(signal=self, sender=sender, **named))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:267: in 
store_rendered_templates
    store["context"].append(copy(context))
                            ^^^^^^^^^^^^^
/usr/lib/python3.14/copy.py:82: in copy
    return copier(x)
           ^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__
    duplicate = super().__copy__()
                ^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 
'unicode_hint': '', 'frames': [{'exc_cause': None, '...ternal Server Error: 
/foo/', 'lastframe': {'exc_cause': None, 'exc_cause_explicit': True, 'tb': 
None, 'type': 'user'}}]

    def __copy__(self):
        duplicate = copy(super())
>       duplicate.dicts = self.dicts[:]
        ^^^^^^^^^^^^^^^
E       AttributeError: 'super' object has no attribute 'dicts' and no __dict__ 
for setting new attributes

/usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError
__________________ CorsMiddlewareTests.test_get_regex_matches __________________

self = <tests.test_middleware.CorsMiddlewareTests 
testMethod=test_get_regex_matches>

    @override_settings(
        CORS_ALLOWED_ORIGINS=["https://example.com";], CORS_URLS_REGEX=r"^/foo/$"
    )
    def test_get_regex_matches(self):
>       resp = self.client.get("/foo/", headers={"origin": 
> "https://example.com"})
               
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/test_middleware.py:427: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/django/test/client.py:927: in get
    response = super().get(path, data=data, secure=secure, headers=headers, 
**extra)
               
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:457: in get
    return self.generic(
/usr/lib/python3/dist-packages/django/test/client.py:609: in generic
    return self.request(**r)
           ^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:886: in request
    response = self.handler(environ)
               ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:176: in __call__
    response = self.get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/core/handlers/base.py:143: in get_response
    log_response(
/usr/lib/python3/dist-packages/django/utils/log.py:246: in log_response
    getattr(logger, level)(
/usr/lib/python3.14/logging/__init__.py:1549: in error
    self._log(ERROR, msg, args, **kwargs)
/usr/lib/python3.14/logging/__init__.py:1665: in _log
    self.handle(record)
/usr/lib/python3.14/logging/__init__.py:1681: in handle
    self.callHandlers(record)
/usr/lib/python3.14/logging/__init__.py:1737: in callHandlers
    hdlr.handle(record)
/usr/lib/python3.14/logging/__init__.py:1027: in handle
    self.emit(record)
/usr/lib/python3/dist-packages/django/utils/log.py:125: in emit
    reporter.get_traceback_text(),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text
    return t.render(c)
           ^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/base.py:175: in render
    return self._render(context)
           ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/utils.py:111: in 
instrumented_test_render
    template_rendered.send(sender=self, template=self, context=context)
/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send
    (receiver, receiver(signal=self, sender=sender, **named))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:267: in 
store_rendered_templates
    store["context"].append(copy(context))
                            ^^^^^^^^^^^^^
/usr/lib/python3.14/copy.py:82: in copy
    return copier(x)
           ^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__
    duplicate = super().__copy__()
                ^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 
'unicode_hint': '', 'frames': [{'exc_cause': None, '...ternal Server Error: 
/foo/', 'lastframe': {'exc_cause': None, 'exc_cause_explicit': True, 'tb': 
None, 'type': 'user'}}]

    def __copy__(self):
        duplicate = copy(super())
>       duplicate.dicts = self.dicts[:]
        ^^^^^^^^^^^^^^^
E       AttributeError: 'super' object has no attribute 'dicts' and no __dict__ 
for setting new attributes

/usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError
_____________ CorsMiddlewareTests.test_get_regex_matches_path_info _____________

self = <tests.test_middleware.CorsMiddlewareTests 
testMethod=test_get_regex_matches_path_info>

    @override_settings(
        CORS_ALLOWED_ORIGINS=["https://example.com";], CORS_URLS_REGEX=r"^/foo/$"
    )
    def test_get_regex_matches_path_info(self):
>       resp = self.client.get(
            "/foo/", headers={"origin": "https://example.com"}, 
SCRIPT_NAME="/prefix/"
        )

tests/test_middleware.py:441: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/django/test/client.py:927: in get
    response = super().get(path, data=data, secure=secure, headers=headers, 
**extra)
               
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:457: in get
    return self.generic(
/usr/lib/python3/dist-packages/django/test/client.py:609: in generic
    return self.request(**r)
           ^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:886: in request
    response = self.handler(environ)
               ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:176: in __call__
    response = self.get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/core/handlers/base.py:143: in get_response
    log_response(
/usr/lib/python3/dist-packages/django/utils/log.py:246: in log_response
    getattr(logger, level)(
/usr/lib/python3.14/logging/__init__.py:1549: in error
    self._log(ERROR, msg, args, **kwargs)
/usr/lib/python3.14/logging/__init__.py:1665: in _log
    self.handle(record)
/usr/lib/python3.14/logging/__init__.py:1681: in handle
    self.callHandlers(record)
/usr/lib/python3.14/logging/__init__.py:1737: in callHandlers
    hdlr.handle(record)
/usr/lib/python3.14/logging/__init__.py:1027: in handle
    self.emit(record)
/usr/lib/python3/dist-packages/django/utils/log.py:125: in emit
    reporter.get_traceback_text(),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text
    return t.render(c)
           ^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/base.py:175: in render
    return self._render(context)
           ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/utils.py:111: in 
instrumented_test_render
    template_rendered.send(sender=self, template=self, context=context)
/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send
    (receiver, receiver(signal=self, sender=sender, **named))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:267: in 
store_rendered_templates
    store["context"].append(copy(context))
                            ^^^^^^^^^^^^^
/usr/lib/python3.14/copy.py:82: in copy
    return copier(x)
           ^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__
    duplicate = super().__copy__()
                ^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 
'unicode_hint': '', 'frames': [{'exc_cause': None, '...Server Error: 
/prefix/foo/', 'lastframe': {'exc_cause': None, 'exc_cause_explicit': True, 
'tb': None, 'type': 'user'}}]

    def __copy__(self):
        duplicate = copy(super())
>       duplicate.dicts = self.dicts[:]
        ^^^^^^^^^^^^^^^
E       AttributeError: 'super' object has no attribute 'dicts' and no __dict__ 
for setting new attributes

/usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError
=========================== short test summary info ============================
FAILED 
tests/test_middleware.py::CorsMiddlewareTests::test_get_regex_doesnt_match
FAILED tests/test_middleware.py::CorsMiddlewareTests::test_get_regex_matches
FAILED 
tests/test_middleware.py::CorsMiddlewareTests::test_get_regex_matches_path_info
========================= 3 failed, 76 passed in 0.47s =========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-cors-headers/build; python3.14 
-m pytest tests
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-cors-headers/build; python3.13 
-m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
django: version: 4.2.26, settings: tests.settings (from option)
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-cors-headers/build
configfile: pyproject.toml
plugins: typeguard-4.4.4, django-4.11.1
collected 79 items

tests/test_middleware.py ..........................................      [ 53%]
tests/test_checks.py ..............................                      [ 91%]
tests/test_conf.py .......                                               [100%]

============================== 79 passed in 0.15s ==============================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to