MT#62714 Latest Django release from 3.2 series

> https://docs.djangoproject.com/en/3.2/releases/3.2.25/
> https://docs.djangoproject.com/en/3.2/releases/3.2.24/
> https://docs.djangoproject.com/en/3.2/releases/3.2.23/
> https://docs.djangoproject.com/en/3.2/releases/3.2.22/
> https://docs.djangoproject.com/en/3.2/releases/3.2.21/
> https://docs.djangoproject.com/en/3.2/releases/3.2.20/
> https://docs.djangoproject.com/en/3.2/releases/3.2.19/

* django-import-export: lock version to lower than 4.0
  or we get an error
  > 745039381c

> value = datetime.datetime(2022, 6, 2, 10, 19, 28, tzinfo=<UTC>)
> datetime_format = '%Y-%m-%d %H:%M:%S'
>
>     def format_datetime(value, datetime_format):
>         # handle correct formatting of dates
>         # see https://code.djangoproject.com/ticket/32738
> >       format_ = django.utils.formats.sanitize_strftime_format(datetime_format)
> E       AttributeError: module 'django.utils.formats' has no attribute 'sanitize_strftime_format'
>
> /usr/local/lib/python3.11/dist-packages/import_export/widgets.py:25: AttributeError

* t/Dockerfile: add missing iproute2
  Some Makefile dev rules are using ``ip`` command

Change-Id: I67463cae05dfbad763013319c0d28df3133e36a6
mprokop/trixie
Victor Seva 1 year ago
parent 37b7994091
commit f6a5d5073d

@ -1,5 +1,5 @@
celery celery
Django==3.2.18 Django==3.2.25
django-admin-list-filters django-admin-list-filters
django-appconf django-appconf
django-assets django-assets
@ -8,7 +8,7 @@ django-celery-results
django-crispy-forms==2.* django-crispy-forms==2.*
django-extensions django-extensions
django-filter django-filter
django-import-export>=3.0 django-import-export>=3.0,<4.0
django-jsonify django-jsonify
django-structlog>=6.0 django-structlog>=6.0
django-timezone-field django-timezone-field

@ -5,12 +5,12 @@ FROM docker.mgm.sipwise.com/sipwise-bookworm:latest
# is updated with the current date. It will force refresh of all # is updated with the current date. It will force refresh of all
# of the base images and things like `apt-get update` won't be using # of the base images and things like `apt-get update` won't be using
# old cached versions when the Dockerfile is built. # old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2024-03-11 ENV REFRESHED_AT 2025-04-29
RUN apt-get update && apt-get install --assume-yes python3 python3-dev \ RUN apt-get update && apt-get install --assume-yes python3 python3-dev \
python3-pytest python3-pytest-pep8 \ python3-pytest python3-pytest-pep8 \
python3-pytest-pylint python3-pytest-cov python3-junitxml \ python3-pytest-pylint python3-pytest-cov python3-junitxml \
python3-pip python3-venv sqlite3 git tmux \ python3-pip python3-venv sqlite3 git tmux iproute2 \
&& apt-get clean && apt-get clean
# Get pip to download and install requirements: # Get pip to download and install requirements:

Loading…
Cancel
Save