-
Type:
Build Failure
-
Resolution: Done
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: django
-
None
-
Python Drivers
-
Not Needed
-
-
None
-
None
-
None
-
None
-
None
-
None
Our release attempt failed in https://github.com/mongodb-labs/django-mongodb-extensions/actions/runs/22201464248/job/64215434258, with the error:
Cannot set version when it is statically defined by the `project.version` field.
We need to use a similar version bump script as winkerberos: https://github.com/mongodb/winkerberos/blob/master/.github/scripts/bump-version.sh
https://github.com/mongodb/winkerberos/blob/e487d6a4653e18ec25ecf92bde7fca62e6c59433/.github/workflows/release-python.yml#L56
https://github.com/mongodb/winkerberos/blob/e487d6a4653e18ec25ecf92bde7fca62e6c59433/.github/workflows/release-python.yml#L116
Sincer there is no setup.py file, we'll either have to add one or use the new feature from build: https://github.com/pypa/build/blob/main/CHANGELOG.rst#140-2026-01-08, "Add option to dump PEP 517 metadata with --metadata".