Commit Graph

2 Commits

Author SHA1 Message Date
alperak
f6bf37fcd6
python3-django: switch to PEP-517 build backend
The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

Fix:

WARNING: python3-django-5.0.6-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-10 15:57:56 -07:00
Wang Mingyu
550418d3b4
python3-django: upgrade 5.0.4 -> 5.0.6
Changelog:
=============
- Fixed a bug in Django 5.0 that caused a crash of Model.save() when creating an
  instance of a model with a GeneratedField and providing a primary key
- Fixed a compatibility issue encountered in Python 3.11.9+ and 3.12.3+ when
  validating email max line lengths with content decoded using the
  surrogateescape error handling scheme
- Fixed a bug in Django 5.0 that caused a crash when applying migrations
  including alterations to GeneratedField such as setting db_index=True on SQLite
- Allowed importing aprefetch_related_objects from django.db.models
- Fixed a bug in Django 5.0 that caused a migration crash when a GeneratedField
  was added before any of the referenced fields from its expression definition
- Fixed a bug in Django 5.0 that caused a migration crash when altering a
  GeneratedField referencing a renamed field
- Fixed a bug in Django 5.0 where the querysets argument of GenericPrefetch was
  not required

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-19 08:27:55 -07:00