Questing:

❯ SERIES=questing; podman run --hostname $SERIES --name $SERIES -it --rm 
ubuntu:$SERIES
root@questing:/# apt-get -qq update
DEBIAN_FRONTEND=noninteractive apt-get install -qqy lsb-release wget jq python3 
python3-django >/dev/null 2>&1
echo "deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed 
restricted main multiverse universe" 
>/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
apt-get -qq update
apt-get install -t $(lsb_release -cs)-proposed -qqy python3-django-tastypie 
>/dev/null
dpkg-query -W python3-django-tastypie
cd $(mktemp -d)
wget -qO - 
"https://bugs.launchpad.net/ubuntu/+source/django-tastypie/+bug/2136109/+attachment/5939467/+files/tastytest.tar";
 | tar xvf -
cd tastytest
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based 
frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 
79, <STDIN> line 3.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the 
Term::ReadLine module) (@INC entries checked: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 
/usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 
/usr/share/perl/5.40 /usr/local/lib/site_perl) at 
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 8, <STDIN> line 3.)
debconf: falling back to frontend: Teletype
python3-django-tastypie 0.15.1-1~25.10.1
tastytest/
tastytest/fixtures.json
tastytest/myapp/
tastytest/myapp/api.py
tastytest/myapp/migrations/
tastytest/myapp/migrations/0001_initial.py
tastytest/myapp/migrations/__init__.py
tastytest/myapp/__init__.py
tastytest/myapp/admin.py
tastytest/myapp/apps.py
tastytest/myapp/models.py
tastytest/myapp/tests.py
tastytest/myapp/views.py
tastytest/tastytest/
tastytest/tastytest/asgi.py
tastytest/tastytest/__init__.py
tastytest/tastytest/wsgi.py
tastytest/tastytest/settings.py
tastytest/tastytest/urls.py
tastytest/manage.py
root@questing:/tmp/tmp.zecyBw5sUP/tastytest# ./manage.py migrate
Operations to perform:
  Apply all migrations: admin, auth, contenttypes, myapp, sessions, tastypie
Running migrations:
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying admin.0002_logentry_remove_auto_add... OK
  Applying admin.0003_logentry_add_action_flag_choices... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
  Applying auth.0004_alter_user_username_opts... OK
  Applying auth.0005_alter_user_last_login_null... OK
  Applying auth.0006_require_contenttypes_0002... OK
  Applying auth.0007_alter_validators_add_error_messages... OK
  Applying auth.0008_alter_user_username_max_length... OK
  Applying auth.0009_alter_user_last_name_max_length... OK
  Applying auth.0010_alter_group_name_max_length... OK
  Applying auth.0011_update_proxy_permissions... OK
  Applying auth.0012_alter_user_first_name_max_length... OK
  Applying myapp.0001_initial... OK
  Applying sessions.0001_initial... OK
  Applying tastypie.0001_initial... OK
  Applying tastypie.0002_api_access_url_length... OK
root@questing:/tmp/tmp.zecyBw5sUP/tastytest# ./manage.py loaddata 
./fixtures.json
Installed 47 object(s) from 1 fixture(s)
root@questing:/tmp/tmp.zecyBw5sUP/tastytest# ./manage.py runserver &
[1] 3341
root@questing:/tmp/tmp.zecyBw5sUP/tastytest# Watching for file changes with 
StatReloader
Performing system checks...

System check identified no issues (0 silenced).
January 22, 2026 - 12:39:01
Django version 5.2.4, using settings 'tastytest.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

WARNING: This is a development server. Do not use it in a production setting. 
Use a production WSGI or ASGI server instead.
For more information on production servers see: 
https://docs.djangoproject.com/en/5.2/howto/deployment/
^M
root@questing:/tmp/tmp.zecyBw5sUP/tastytest# wget -O - 
"http://127.0.0.1:8000/api/v1/entry/?format=json"; | jq
--2026-01-22 12:39:04--  http://127.0.0.1:8000/api/v1/entry/?format=json
Connecting to 127.0.0.1:8000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 262 [application/json]
Saving to: 'STDOUT'

[22/Jan/2026 12:39:05] "GET /api/v1/entry/?format=json HTTP/1.1" 200 262
-                                       
100%[==============================================================================>]
     262  --.-KB/s    in 0s

2026-01-22 12:39:05 (17.3 MB/s) - written to stdout [262/262]

{
  "meta": {
    "limit": 20,
    "next": null,
    "offset": 0,
    "previous": null,
    "total_count": 1
  },
  "objects": [
    {
      "body": "General Kenobi!",
      "id": 1,
      "pub_date": "2026-01-16T13:07:13.948000",
      "resource_uri": "/api/v1/entry/1/",
      "slug": "hello-there",
      "title": "Hello there"
    }
  ]
}
root@questing:/tmp/tmp.zecyBw5sUP/tastytest#

All good as well!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2136109

Title:
  [SRU] django-tastypie: tastypie is completely broken against Django 4+

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/django-tastypie/+bug/2136109/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to