From c665eb9bb593c7d9028f14bc8fde0ef1ab76ad49 Mon Sep 17 00:00:00 2001 From: James Carr <70200140+lesamouraipourpre@users.noreply.github.com> Date: Sun, 23 May 2021 08:51:35 +0100 Subject: [PATCH] Incompatible .mpy file Update the *ValueError: Incompatible .mpy file* section for the upcoming 6 to 7 transition. --- docs/troubleshooting.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/troubleshooting.rst b/docs/troubleshooting.rst index 45c637f349..d78c1a4568 100644 --- a/docs/troubleshooting.rst +++ b/docs/troubleshooting.rst @@ -45,11 +45,11 @@ This error occurs when importing a module that is stored as a ``mpy`` binary fil (rather than a ``py`` text file) that was generated by a different version of CircuitPython than the one it's being loaded into. Most versions are compatible but, rarely they aren't. In particular, the ``mpy`` binary format changed between -CircuitPython versions 1.x and 2.x, and will change again between 2.x and 3.x. +CircuitPython versions 1.x and 2.x, 2.x and 3.x, and will change again between 6.x and 7.x. -So, for instance, if you just upgraded to CircuitPython 2.x from 1.x you'll need to download a +So, for instance, if you just upgraded to CircuitPython 7.x from 6.x you'll need to download a newer version of the library that triggered the error on ``import``. They are all available in the `Adafruit bundle `_ and the `Community bundle `_. -Make sure to download a version with 2.0.0 or higher in the filename. +Make sure to download a version with 7.0.0 or higher in the filename.