[Django] #34844: Missing dependency backports with install of 4.1.11

5 views
Skip to first unread message

Django

unread,
Sep 16, 2023, 1:59:38 PM9/16/23
to django-...@googlegroups.com
#34844: Missing dependency backports with install of 4.1.11
--------------------------------------+-----------------------------------
Reporter: RandomJo | Owner: nobody
Type: Bug | Status: new
Component: Packaging | Version: 4.1
Severity: Normal | Keywords: backports, 4.1.11
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------+-----------------------------------
I upgraded to Django 4.1.11 (coming from 4.1.10), and I got this error:

{{{ModuleNotFoundError: No module named 'backports'}}}

This is coming from a Django file:

{{{
File "/Users/user/.local/share/virtualenvs/S4yCzdAj/lib/python3.8/site-
packages/django/utils/timezone.py", line 12, in <module>
from backports import zoneinfo
}}}

It can be fixed by manually installing backports.zoneinfo, but I believe
packages that Django requires should be automatically pulled in. I'm using
pipenv to install.

Versions:
* Python: 3.8.13
* Pipenv: 2023.9.8
* Django: 4.1.11

--
Ticket URL: <https://code.djangoproject.com/ticket/34844>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 16, 2023, 2:34:22 PM9/16/23
to django-...@googlegroups.com
#34844: Missing dependency backports with install of 4.1.11
-----------------------------------+--------------------------------------
Reporter: Maranda Provance | Owner: nobody
Type: Bug | Status: closed
Component: Packaging | Version: 4.1
Severity: Normal | Resolution: invalid

Keywords: backports, 4.1.11 | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => invalid


Comment:

`backports.zoneinfo` is on the list of required packages from Python < 3.9
and Django 4.1. Check out TicketClosingReasons/UseSupportChannels for ways
to get help.

--
Ticket URL: <https://code.djangoproject.com/ticket/34844#comment:1>

Reply all
Reply to author
Forward
0 new messages