[feature] Centralize the django-reversion dependency

Aperta
#812 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@S-h-u-b-h-1 ci sta già lavorando.

Dal 4/11/2026.

  • #819 di @S-h-u-b-h-1 — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
django, python
Ambito
backend

Direzione di ricerca

Start by reading the dependency extras in openwisp-utils and compare how the existing rest, channels, and celery extras are declared, including the all extra. Add a centrally constrained reversion extra, then identify downstream repositories that depend on django-reversion and check their compatibility as the issue describes. Done means the extra is included in all and downstream packages can use it without maintaining separate constraints.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Is your feature request related to a problem? Please describe.

Several OpenWISP packages depend on django-reversion and maintain its version constraints independently. This duplicates dependency maintenance and can lead to inconsistent version constraints across repositories.

Describe the solution you'd like

Introduce an extra in openwisp-utils, such as openwisp-utils[reversion], that installs django-reversion with a centrally maintained version constraint.

Once a version of openwisp-utils containing the extra is available, update the downstream OpenWISP repositories that use django-reversion to depend on the extra and remove their separate django-reversion constraints. Check compatibility with each downstream package as part of the migration.

Describe alternatives you've considered

Continue maintaining the dependency and its version constraints separately in each downstream repository. This requires the same dependency updates to be repeated across multiple projects.

Additional context

openwisp-utils already provides extras for shared dependencies, including rest, channels, and celery. The new extra would follow the same approach and be included in the existing all extra.

Lingua principale
Python
Stelle
96
Fork
127
Merge medio
1g 5h
PR unite (30g)
21

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openwisp/openwisp-utils

Tutte le issue di openwisp/openwisp-utils

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.