Skip to content

Conversation

@pangpang20
Copy link
Contributor

Description

This is a minor release focused on license compliance, documentation accuracy, and usability improvements for the 5.2 (Django 5.2-compatible) branch.

Key highlights:

  • Complete BSD-3-Clause attribution and copyright headers added across all Django-derived source files
  • Updated top-level LICENSE with explicit Django attribution notice
  • Minor documentation and example fixes (Wagtail setup guide, driver script, README)
  • Version bump to 5.2.1

No functional changes to the database backend itself.

Changes Made

  • Added full BSD-3-Clause attribution block for Django-derived code to the top-level LICENSE file
  • Added proper license/copyright headers to every module in gaussdb_django/ (including newly added expressions.py)
  • Updated pyproject.toml:
    • Bumped version from 5.2.05.2.1
    • Updated Django classifier to Framework :: Django :: 5.2
  • Refactored Wagtail example setup guide (example/wagtail_README.md):
    • Changed virtual environment path from /opt/django_work/... to user-home ~/django_work/... for better portability
    • Fixed repository reference in driver installation script
  • Minor fix in install_gaussdb_driver.sh for openEuler/HCE detection
  • Merged latest changes from the 5.2.0 branch

Testing

  • All unit tests pass with Django 5.2.x and GaussDB
  • Package builds and installs cleanly via pip
  • Verified wheel metadata and LICENSE file inclusion on PyPI test instance
  • Manual verification of Wagtail example project setup using the updated guide succeeded
  • Confirmed runtime behavior unchanged against GaussDB

Additional Notes

  • This release fully satisfies Django’s BSD-3-Clause license requirements for derivative works.
  • Users on the Django 5.2 series can upgrade safely — no breaking changes or migration steps required.
  • The updated package is now available on PyPI as gaussdb-django==5.2.1.

…/home/django, switch to official HuaweiCloudDeveloper/gaussdb-django repo, and extend openEuler OS detection support in driver installer
…s all files, update LICENSE with original Django text, and bump version to 5.2.1
@5xuanwen 5xuanwen merged commit a66e2b1 into HuaweiCloudDeveloper:5.2.0 Nov 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants