Package Details: micropython 1.24.1-1

Git Clone URL: https://aur.archlinux.org/micropython.git (read-only, click to copy)
Package Base: micropython
Description: Python3 for microcontrollers, with stdlib. (UNIX version)
Upstream URL: http://micropython.org/
Licenses: MIT
Submitter: keenerd
Maintainer: bolleyboll
Last Packager: bolleyboll
Votes: 21
Popularity: 0.022751
First Submitted: 2014-06-03 23:11 (UTC)
Last Updated: 2024-12-05 18:13 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

gauthier commented on 2023-06-11 13:41 (UTC)

Hi. The repo is two versions late. I've updated the PKGBUILD but I can't push it. I can help maintain the repo if you want Cheers

JohnRobson commented on 2023-05-21 02:27 (UTC)

File "/usr/lib/python3.11/functools.py", line 815, in singledispatch
    dispatch_cache = weakref.WeakKeyDictionary()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'weakref' has no attribute 'WeakKeyDictionary'
==> ERROR: A failure occurred in package_micropython-lib().
    Aborting...
 -> error making: micropython-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
micropython-lib - exit status 4

jimmo commented on 2022-08-22 01:55 (UTC) (edited on 2022-08-22 01:55 (UTC) by jimmo)

@pepijndevos The issue here is that this package is also including the micropython-lib which provides an extended version of the re module... which uses PCRE... which depends on FFI.

@keenerd (as the maintainer of micropython-lib) I'm not sure it makes sense to include micropython-lib by default in this package, especially if you're not enabling FFI. We're doing a bit of an overhaul of micropython-lib and packages in general (see https://github.com/micropython/micropython-lib/pull/506). If you want to discuss this in the context of the best way to build an AUR package please feel free to raise a bug there.

Note also that we have recently switched from axtls to mbedtls by default in the unix port.

pepijndevos commented on 2022-08-11 11:43 (UTC)

What's up with ffi in this package? I tried to import re which tried to import ffilib which tries to import ffi which isn't there. A bit inconvenient.

I tried (un)commenting all the ffi stuff but then it gave an error that my C compiler can't produce binaries. Huh...

magnade commented on 2022-05-09 17:23 (UTC)

I would recommend removing the line sed -i 's/MICROPY_PY_USSL = 1/MICROPY_PY_USSL = 0/' mpconfigport.mk from the PKGBUILD as disabling ussl breaks upip module

vleon1 commented on 2022-01-29 10:52 (UTC)

My local PKGBUILD got these updates:

pkgver=1.17 ... arch=('i686' 'x86_64' 'aarch64') ... md5sums=('9a0b7a97e8f195c019b335ddbdf9a23d' '1752ce13e851a671a07ce3f7a807b21c')

New version + md5sums for new version + support aarch64. Works like a charm.

TheSaint commented on 2020-05-23 17:45 (UTC) (edited on 2020-05-23 17:52 (UTC) by TheSaint)

Failure to import

==> Installing ./types
Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from distutils.core import setup
  File "/usr/lib/python3.8/distutils/core.py", line 16, in <module>
    from distutils.dist import Distribution
  File "/usr/lib/python3.8/distutils/dist.py", line 9, in <module>
    import re
  File "/usr/lib/python3.8/re.py", line 124, in <module>
    import enum
  File "/usr/lib/python3.8/enum.py", line 2, in <module>
    from types import MappingProxyType, DynamicClassAttribute
ImportError: cannot import name 'DynamicClassAttribute' from 'types' (/tmp/makepkg/micropython/src/micropython-lib-1.9.3/types/types.py)
But if I use the python shell it will import without a issue

$ python
Python 3.8.3 (default, May 17 2020, 18:15:42) 
[GCC 10.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from types import MappingProxyType, DynamicClassAttribute
>>>


keenerd commented on 2019-08-22 02:14 (UTC)

I have no idea. It built fine when I wrote it. Still builds fine here. I am also not seeing any smoking gun recent updates.