[Django] Version bump script in django-mongodb-extensions is broken

XMLWordPrintableJSON

    • Type: Build Failure
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: django
    • None
    • Python Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • 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".

            Assignee:
            Steve Silvester
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: