#34844 closed Bug (invalid)

Missing dependency backports with install of 4.1.11

Reported by: Maranda Provance Owned by: nobody
Component: Packaging Version: 4.1
Severity: Normal Keywords: backports, 4.1.11
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

Change History (1)

comment:1 by Mariusz Felisiak, 15 months ago

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
Back to Top