Page MenuHomeSolus

Package update platformio: 3.6.0 -> 3.6.6 (current version obsolete)
Closed, ResolvedPublic

Description

The platformio package is obsolete, it hasn't been updated in Solus repo since initial inclusion. Current version is 3.6.6, Solus has 3.6.0

PlatformIO is an open source ecosystem for IoT development. Cross-platform IDE and unified debugger. Remote unit testing and firmware updates.

https://platformio.org/
https://github.com/platformio/platformio-core

Thank you. See below


$ pio upgrade --dev
*****************************************************************************************************************************************************************************
Obsolete PIO Core v3.6.0 is used (previous was 3.6.6)
Please remove multiple PIO Cores from a system:
http://docs.platformio.org/page/faq.html#multiple-pio-cores-in-a-system
*****************************************************************************************************************************************************************************
Please wait while upgrading PlatformIO ...
Error: ['/usr/bin/python2.7', '-m', 'pip', '--no-cache-dir', 'install', '--upgrade', '/home/adam/.platformio/.cache/piocoredevelop.zip']

/usr/bin/python2.7: No module named pip


* Upgrade using `pip install -U platformio`
* Try different installation/upgrading steps:
  http://docs.platformio.org/page/installation.html

PlatformIO 3.6.0 doesn't support Python 3 (the newer versions do):

$ pip install -U platformio
Collecting platformio
  Using cached https://files.pythonhosted.org/packages/66/41/797ee149b8125a29dedd7c8a73af70d3bff3b8129dd1709cc3eeabb02ae3/platformio-3.6.6.tar.gz
    Complete output from command python setup.py egg_info:
    PlatformIO Core v3.6.6 does not run under Python version 3.6.8 (default, Jan  2 2019, 05:35:58)
    [GCC 8.2.0].
    Minimum supported version is 2.7, please upgrade Python.
    Python 3 is not yet supported.
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-knw8xn4q/platformio/
Beer created this task.Apr 6 2019, 8:10 PM

Hi there, i made this https://dev.getsol.us/D5945 , hope it helps.

Beer added a comment.Apr 6 2019, 10:07 PM

That was fast... thank you! Do the library references in the pspec need anything added for Python 3? I noticed they all still reference 2.7. I'm not entirely sure how python versions are supposed to be handled from the packaging side of things. Thanks again

Hi there, the developers will check what i comited and test and tell/modify whatever changes are needed for it . Best regards

Girtablulu edited projects, added Software; removed Lacks Project.Apr 10 2019, 8:50 AM
Girtablulu triaged this task as Low priority.
Girtablulu moved this task from Backlog to Improvement on the Software board.