PythonExtra/ports
Jim Mussared 69e34b6b6b all: Switch to new preview build versioning scheme.
See https://github.com/micropython/micropython/issues/12127 for details.

Previously at the point when a release is made, we update mpconfig.h
and set a git tag. i.e. the version increments at the release.

Now the version increments immediately after the release. The workflow is:
1. Final commit in the cycle updates mpconfig.h to set (X, Y, 0, 0) (i.e.
   clear the pre-release state).
2. This commit is tagged "vX.Y.0".
3. First commit for the new cycle updates mpconfig.h to set (X, Y+1, 0, 1)
   (i.e. increment the minor version, set the pre-release state).
4. This commit is tagged "vX.Y+1.0-preview".

The idea is that a nightly build is actually a "preview" of the _next_
release. i.e. any documentation describing the current release may not
actually match the nightly build. So we use "preview" as our semver
pre-release identifier.

Changes in this commit:
 - Add MICROPY_VERSION_PRERELEASE to mpconfig.h to allow indicating that
   this is not a release version.
 - Remove unused MICROPY_VERSION integer.
 - Append "-preview" to MICROPY_VERSION_STRING when the pre-release state
   is set.
 - Update py/makeversionhdr.py to no longer generate MICROPY_GIT_HASH.
 - Remove the one place MICROPY_GIT_HASH was used (it can use
   MICROPY_GIT_TAG instead).
 - Update py/makeversionhdr.py to also understand
   MICROPY_VERSION_PRERELEASE in mpconfig.h.
 - Update py/makeversionhdr.py to convert the git-describe output into
   semver-compatible "X.Y.Z-preview.N.gHASH".
 - Update autobuild.sh to generate filenames using the new scheme.
 - Update remove_old_firmware.py to match new scheme.
 - Update mpremote's pyproject.toml to handle the "-preview" suffix in the
   tag. setuptools_scm maps to this "rc0" to match PEP440.
 - Fix docs heading where it incorrectly said "vvX.Y.Z" for release docs.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-10-06 12:10:14 +11:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 all: Switch to new preview build versioning scheme. 2023-10-06 12:10:14 +11:00
embed all: Rename *umodule*.c to remove the "u" prefix. 2023-06-08 17:54:17 +10:00
esp32 esp32/boards/manifest.py: Freeze aioespnow into firmware by default. 2023-10-05 20:50:49 +11:00
esp8266 esp8266/boards/ESP8266_GENERIC: Remove urllib from the 2MiB manifest. 2023-10-05 20:55:52 +11:00
mimxrt extmod/modnetwork: Forward if.config(hostname) to network.hostname. 2023-10-04 12:39:51 +11:00
minimal {mimxrt,powerpc,samd}/mpconfigport: Don't override parse chunk alloc. 2023-09-29 14:11:26 +10:00
nrf all: Fix various spelling mistakes found by codespell 2.2.6. 2023-10-03 11:24:50 +11:00
pic16bit ports: Implement simple write polling for stdout. 2023-03-23 13:51:17 +11:00
powerpc {mimxrt,powerpc,samd}/mpconfigport: Don't override parse chunk alloc. 2023-09-29 14:11:26 +10:00
qemu-arm examples: Mark asm, pio, etc. as noqa: F821 (undefined-name). 2023-08-16 16:12:33 +10:00
renesas-ra renesas-ra: Tune lwip buffers and timing to improve network performance. 2023-10-03 10:17:51 +11:00
rp2 rp2: Implement time.time_ns with time_us_64 so it has us resolution. 2023-10-05 21:24:47 +11:00
samd {mimxrt,powerpc,samd}/mpconfigport: Don't override parse chunk alloc. 2023-09-29 14:11:26 +10:00
stm32 stm32/i2c: Add support for I2C4 on H7 MCUs. 2023-10-05 10:26:59 +11:00
teensy all: Fix various spelling mistakes found by codespell 2.2.6. 2023-10-03 11:24:50 +11:00
unix unix/main: Fix memory leakage if MICROPY_USE_READLINE is disabled. 2023-10-02 11:44:12 +11:00
webassembly webassembly: Replace typeof window check with ENVIRONMENT_IS_NODE flag. 2023-07-13 13:24:35 +10:00
windows extmod/moddeflate: Add deflate module providing the DeflateIO class. 2023-07-21 19:32:40 +10:00
zephyr py/mkrules.mk: Automatically configure frozen options when manifest set. 2023-06-08 23:12:56 +10:00