Opened 7 months ago

Closed 7 months ago

#31552 closed Cleanup/optimization (fixed)

Loading lzma compressed fixtures

Reported by: Paolo Melchiorre Owned by: Paolo Melchiorre
Component: Core (Management commands) Version: master
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 Changed 7 months ago by Paolo Melchiorre

Has patch: set

comment:2 Changed 7 months ago by Paolo Melchiorre

Owner: changed from nobody to Paolo Melchiorre
Status: newassigned

comment:3 Changed 7 months ago by Paolo Melchiorre

Cc: Paolo Melchiorre added

comment:4 Changed 7 months ago by Paolo Melchiorre

Type: New featureCleanup/optimization

comment:5 Changed 7 months ago by Claude Paroz

Triage Stage: UnreviewedAccepted

comment:6 Changed 7 months ago by Mariusz Felisiak

Patch needs improvement: set

comment:7 Changed 7 months ago by Paolo Melchiorre

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 Changed 7 months ago by Mariusz Felisiak <felisiak.mariusz@…>

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