micropython/.github/workflows
Jim Mussared 3bf70f16e9 py/mkrules.mk: Add MICROPY_PREVIEW_VERSION_2.
This provides a way to enable features and changes slated for MicroPython
2.x, by running `make MICROPY_PREVIEW_VERSION_2=1`. Also supported for
the cmake ports (except Zephyr).

This is an alternative to having a 2.x development branch (or equivalently,
keeping a 1.x release branch). Any feature or change that needs to be
"hidden" until 2.x can use this flag (either in the Makefile or the
preprocessor).

A good example is changing function arguments or other public API features,
in particular to aid in improving consistency between ports.

When `MICROPY_PREVIEW_VERSION_2` is enabled, the REPL banner is amended to
say "MicroPython (with v2.0 preview) vX.Y.Z", and sys.implementation gets a
new field `_v2` set to `True`.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-10-27 15:28:46 +11:00
..
code_formatting.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
code_size_comment.yml github/workflows: Update existing comments for code_size_comment. 2022-12-19 14:42:07 +11:00
code_size.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
commit_formatting.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
docs.yml README.md: Update CI badges. 2023-10-06 16:39:55 +11:00
examples.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
mpremote.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
mpy_format.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_cc3200.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_esp32.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_esp8266.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_mimxrt.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_nrf.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_powerpc.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_qemu-arm.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_renesas-ra.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_rp2.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_samd.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_stm32.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_teensy.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_unix.yml py/mkrules.mk: Add MICROPY_PREVIEW_VERSION_2. 2023-10-27 15:28:46 +11:00
ports_webassembly.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_windows.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports_zephyr.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ports.yml github/workflows: Bump actions/checkout from 3 to 4. 2023-09-05 11:27:05 +10:00
ruff.yml github/workflows: Pin ruff to 0.1.0 and change flags for new version. 2023-10-17 13:56:33 +11:00