Your message dated Fri, 16 Jan 2026 09:48:32 +0000
with message-id <[email protected]>
and subject line Bug#1122968: fixed in django-tastypie 0.15.1-1
has caused the Debian Bug report #1122968,
regarding django-tastypie: tastypie is completely broken against Django 4
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1122968: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122968
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: django-tastypie
Version: 0.14.3-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: [email protected]
Hello there, dear maintainers,
Since the release of Django 4, many breaking changes are affecting
django-tastypie, making it pretty much unusable.
See the following session in an up-to-date `sid` container:
root@sid:/tmp# dpkg-query -W python3-django
python3-django 3:4.2.26-1
root@sid:/tmp# dpkg-query -W python3-django-tastypie
python3-django-tastypie 0.14.3-1
root@sid:/tmp# django-admin startproject tastytest
root@sid:/tmp# cd tastytest/
root@sid:/tmp/tastytest# cat - >tastytest/urls.py <<EOF
from django.urls.conf import re_path, include
from tastypie.api import Api
from myapp.api import EntryResource
v1_api = Api(api_name='v1')
v1_api.register(EntryResource())
urlpatterns = [
# The normal jazz here then...
re_path(r'^api/', include(v1_api.urls)),
]
EOF
root@sid:/tmp/tastytest# ./manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
Exception in thread django-main-thread:
Traceback (most recent call last):
File "/usr/lib/python3.13/threading.py", line 1044, in _bootstrap_inner
self.run()
~~~~~~~~^^
File "/usr/lib/python3.13/threading.py", line 995, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/utils/autoreload.py", line 64, in
wrapper
fn(*args, **kwargs)
~~^^^^^^^^^^^^^^^^^
File
"/usr/lib/python3/dist-packages/django/core/management/commands/runserver.py",
line 133, in inner_run
self.check(display_num_errors=True)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/core/management/base.py", line
485, in check
all_issues = checks.run_checks(
app_configs=app_configs,
...<2 lines>...
databases=databases,
)
File "/usr/lib/python3/dist-packages/django/core/checks/registry.py", line
88, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 14, in
check_url_config
return check_resolver(resolver)
File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 24, in
check_resolver
return check_method()
File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 494, in
check
for pattern in self.url_patterns:
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 57, in
__get__
res = instance.__dict__[self.name] = self.func(instance)
~~~~~~~~~^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 715, in
url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 57, in
__get__
res = instance.__dict__[self.name] = self.func(instance)
~~~~~~~~~^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 708, in
urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1023, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/tmp/tastytest/tastytest/urls.py", line 2, in <module>
from tastypie.api import Api
File "/usr/lib/python3/dist-packages/tastypie/api.py", line 3, in <module>
from django.conf.urls import url, include
ImportError: cannot import name 'url' from 'django.conf.urls'
(/usr/lib/python3/dist-packages/django/conf/urls/__init__.py). Did you mean:
'urls'?
^Croot@sid:/tmp/tastytest#
This can be fixed by simply packaging a newer upstream release, as they support
Django up to 5.2.
A branch fixing this can be found here:
https://salsa.debian.org/python-team/packages/django-tastypie/-/merge_requests/2
Thanks
Skia
-- System Information:
Debian Release: forky/sid
APT prefers resolute
APT policy: (500, 'resolute'), (500, 'questing-updates'), (500, 'questing'),
(200, 'noble-updates'), (200, 'noble-backports'), (200, 'noble'), (100,
'resolute-proposed'), (100, 'questing-proposed')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.17.0-7-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- End Message ---
--- Begin Message ---
Source: django-tastypie
Source-Version: 0.15.1-1
Done: Florent 'Skia' Jacquet <[email protected]>
We believe that the bug you reported is fixed in the latest version of
django-tastypie, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Florent 'Skia' Jacquet <[email protected]> (supplier of updated django-tastypie
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 15 Dec 2025 10:51:22 +0100
Source: django-tastypie
Built-For-Profiles: noudeb
Architecture: source
Version: 0.15.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Florent 'Skia' Jacquet <[email protected]>
Closes: 1122968
Changes:
django-tastypie (0.15.1-1) unstable; urgency=medium
.
[ Dominique Belhachemi ]
* Edit watch file, switch to official project URL
* Edit control, Change Uploader to Andreas
.
[ Florent 'Skia' Jacquet ]
* Team upload.
* New upstream version 0.15.1
Closes: #1122968
* Add autopkgtest calling the upstream test suite
* d/patches/0001-tests-gis[...].patch: fix two tests being slightly broken
Checksums-Sha1:
0caa71d0424730b586c34e5c2a921655bee619ab 2481 django-tastypie_0.15.1-1.dsc
15d3a26d462c8c6dcbb02310bbe94ff84174c4a0 246317
django-tastypie_0.15.1.orig.tar.gz
422dacbc2e9b287e57cc1700a04d72fe2851702f 4324
django-tastypie_0.15.1-1.debian.tar.xz
38c3bb02637415454e70a3e04fd0159859138d45 8030
django-tastypie_0.15.1-1_source.buildinfo
Checksums-Sha256:
ebc54f732ebcbb94b110a07dd6c821ff4218d34d3d7077df7ed27f68fb99ec6e 2481
django-tastypie_0.15.1-1.dsc
c780d558bb4dedfdd0a340f066fd3cb3e555076c7eb791ed765e496d3fdbcd3e 246317
django-tastypie_0.15.1.orig.tar.gz
8ff05b85fa73919b0f6f67c068a52230f3d4689e3b9e345d4ccc9360cae94476 4324
django-tastypie_0.15.1-1.debian.tar.xz
db771ae9116d7a7fe71c7ff9d646d6d792d1a617a1b29ef218a323bff61be048 8030
django-tastypie_0.15.1-1_source.buildinfo
Files:
2eb54cf90f301c2e3cdfcd6bf08724a8 2481 python optional
django-tastypie_0.15.1-1.dsc
e8931f14013c8adedb914283aefd071c 246317 python optional
django-tastypie_0.15.1.orig.tar.gz
e638f75be843e370d94212f9f96a05cd 4324 python optional
django-tastypie_0.15.1-1.debian.tar.xz
5c55ec1979726d987c5ddc2903c36e4f 8030 python optional
django-tastypie_0.15.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEbJ0QSEqa5Mw4X3xxgj6WdgbDS5YFAmlqBNgACgkQgj6WdgbD
S5YqihAAwbK5IW2vmk/81zBk/Mg2Y4gW8U/l2emIFcDX/1fAHiqsxGgoyT6VN/6a
Qv7fvwJqp1uMpNgTzk2FAwaPH3UotdSANXa2YnXe2avj8VocxP99C6sYQkwUBlNA
2fTGeefd4auRs+e7lMv6oij05fRxWrui8fWjnzzMbTnwPXfG4O0mE6eJpS64H1rT
317dY/7VCYZVH9tjzq9H29pf/9ZKaoQPpLk7IUUxp39blkeI6SLDaV8nHSNER8+i
bCe8mzVQfKnR6Peeyf+h98lhCGNDQvY43rHW2ATl7+vFhSdbHJMBhSqoSdtRIrlD
lVp6TItGOHI6dalIcISvNA354O6wU7cxEB1F8vXl2EWQHGTnSzix289dKDsVEdpZ
9WyCDcRyge6TC9UdnRiZrRtSinnmb52B7qQ1WPcly0dOtZ7Iz32V6d99mwZL+WkU
no0IbTbTlgsf4mhp/R94f798teVZh+FC6QTJ9xEg+/tp/TIk02pus3mlpixaBtrz
11LB/0OD+/ap5qOLREbMr309sxnF3xd8fNXo0zGtFFf8zFYpTe8v3+lG7qzsTpav
Yrolm4DK0OHyWDDcIplilwrlyTiektpFHukfFWh6n32Hm7ZnNBZuBVluIn/kNu+D
ZHZg6CP+MM2E7zgQkQa8cKBvhdLaYVmOZKm/XdLjt9+WTxxue7Q=
=uFyA
-----END PGP SIGNATURE-----
pgp4PKLdn7nl1.pgp
Description: PGP signature
--- End Message ---