Opened 4 years ago

Closed 4 years ago

#31552 closed Cleanup/optimization (fixed)

Loading lzma compressed fixtures

Reported by: Paolo Melchiorre Owned by: Paolo Melchiorre
Component: Core (Management commands) Version: dev
Severity: Normal Keywords: fixtures
Cc: Paolo Melchiorre Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Since lzma format is supported natively in Python 3 [1] from version 3.3, I would propose to add lzma compressed fixtures (.xz) support in loaddata command.

[1] https://docs.python.org/3/library/lzma.html

Change History (8)

comment:1 by Paolo Melchiorre, 4 years ago

Has patch: set

comment:2 by Paolo Melchiorre, 4 years ago

Owner: changed from nobody to Paolo Melchiorre
Status: newassigned

comment:3 by Paolo Melchiorre, 4 years ago

Cc: Paolo Melchiorre added

comment:4 by Paolo Melchiorre, 4 years ago

Type: New featureCleanup/optimization

comment:5 by Claude Paroz, 4 years ago

Triage Stage: UnreviewedAccepted

comment:6 by Mariusz Felisiak, 4 years ago

Patch needs improvement: set

comment:7 by Paolo Melchiorre, 4 years ago

Patch needs improvement: unset

As requested in the PR comments I added support for LZMA archives , fixes documentation issues and added a section in 3.2 release notes.

comment:8 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

Resolution: fixed
Status: assignedclosed

In 0e3b0da2:

Fixed #31552 -- Added support for LZMA and XZ fixtures to loaddata.

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