Commit Graph

103 Commits (master)

Author SHA1 Message Date
Maximilian Gerhardt 2b1834be75
Update PyElfTools as well
Fixes "ImportError: cannot import name 'MutableMapping' from 'collections'" for Python 3.10
2021-10-22 14:59:10 +02:00
Maximilian Gerhardt d2b85a64aa
Update psutil to 5.6.7 2021-10-22 13:11:34 +02:00
Martin Kojtal 881b7ebed3
Merge pull request #14997 from Patater/update-pywin32
python: Upgrade pywin32
2021-08-12 15:42:56 +01:00
Jaeden Amero 3904e7c299 python: Upgrade pywin32
Remove pinned pywin32 version. Require an upgrade of pywin32 to a
version that includes security and bug fixes we'd like (CVE-2021-32559).
2021-08-12 10:02:15 +01:00
Moshe Shahar 25838edc7a
requirements.txt - remove mbed-cloud-sdk 2021-08-05 14:15:02 +03:00
Moshe Shahar 93117e6483
requirements.txt - remove manifest-tool 1.5.2 2021-08-05 11:52:39 +03:00
Jaeden Amero 8ffab0ae5a python: Remove direct dependency on prettytable
Mbed CLI 1 parses the base requirements.txt and attempts to
automatically install missing python libraries for you. Unfortunately,
it's requirements parser is not as capable as the one shipping with pip.
In particular, we are unable to express different version of libraries
conditional on the version of Python being used.

    ---
    [mbed] ERROR: Unknown Error: Unsupported environment marker:  python_version < '3.6'

Remove the direct dependency on prettytable from requirements.txt, as
mbed-os-tools depends on prettytable and we can pick up the dependency
(as properly expressed conditionally on the Python version) from there,
without having to use the limited requirements parser in Mbed CLI 1.
2021-07-21 13:52:52 +01:00
Jaeden Amero c6e8f64943 python: Don't require icetea
icetea is used for running icetea integration tests with `mbed-cli test
--icetea`, but not otherwise needed. icetea was intended for deprecation
with Mbed OS 6.0. Remove icetea from the list of default dependencies,
as the version of prettytable it depends on causes a Python dependency
conflict with other libraries' dependencies on prettytable, preventing
icetea from being installed to the same Python environment as other Mbed
Python tools.
2021-07-07 09:31:42 +01:00
Jaeden Amero 9b09cddf1d python: Update requirements
Update versions of urllib3, PyYAML, jinja2, cryptography.
2021-06-30 09:12:31 +01:00
Robert Walton a494a43fff requirements: Relax Click version requirement
We were pinning the version of Click to 7.0.~. This was preventing
side-by-side installs with mbed-tools, as mbed-tools requires
Click>=7.1,<8.

Relax the Click version requirement to >7.0,<8 to prevent dependency
conflicts with mbed-tools.
2021-05-10 11:35:19 +01:00
Ladislas de Toldi 7983d81b73
Update minimum version of intelhex to 2.3.0 2021-01-27 18:01:49 +01:00
Filip Jagodzinski 85bc040510 Fix `mbed device-management` command for Python 3.8
Bump the `future` module version to 0.18.0 to fix an ImportError present
for Python 3.8:

ImportError: cannot import name 'splitattr' from 'urllib.request' (/usr/lib/python3.8/urllib/request.py)
2020-12-11 23:29:20 +01:00
Jaeden Amero c95d2b32b1 Don't require too old mbed tools
Don't require too old of a version of mbed-greentea, mbed-host-tests, or
mbed-ls. We conservatively limit the versions to less than 2.0 for now,
in case we'ld like to break backwards compatibility in the future.
2020-11-09 16:11:42 +00:00
adbridge 6d6c11930e Update psutils to address security issue
Needs to be at least 5.6.6
2020-03-16 15:09:33 +00:00
Qinghao Shi 44eae0d3f8 FIX: add cbor module in the requirement.txt 2020-02-03 16:16:16 +00:00
Devaraj Ranganna 6d6d1e695b Bump `cryptography` python module version
The requirements.txt mandates 2.4.x version of cryptography python
module which has an issue as it checks if the payload is an instance
of bytes which is actually a bytearray. This issue is fixed in 2.5
version, hence bump up minimum version to 2.5.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2020-01-23 10:10:12 +00:00
Devaraj Ranganna 98ef5483ef Update pycryptodome version
The required version of pycryptodome currently is either 3.7.2 or 3.7.3.
But there is no wheel package for these version for latest version of python
(3.8). Due to this, pip will download source and compile while trying to
install pycryptodome. On Windows, there is no c, c++ compiler installed
by default which leads to pip asking users to download and install
Microsoft Visual C++ Build Tools.

The release version 3.9.3 contains wheel package for python 3.8 on
all supported operating systems.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-11-19 16:07:20 +00:00
Filip Jagodzinski c323af8417 Bump the six (Python module) version to 1.12.0
This version provides a few handy functions: six.ensure_binary,
six.ensure_text, and six.ensure_str.
2019-09-30 10:20:45 +02:00
Roman Okhrimenko bfe1d04ba2 Removed import of version specific python modules, improved imports organization in PSOC6.py, fixed per PR comments 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 515555e7ba Removed scripts for provisiongs from repository, made fixes per PR comments, adjusted Readme.md 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 44401b5917 Added licenses types for python packets to LICENSE.md, updated versions definition in requirements.txt 2019-08-30 15:10:19 +03:00
Roman Okhrimenko 5262cf1f87 Updated python module requirements.txt 2019-08-30 15:10:19 +03:00
Roman Okhrimenko f22e488083 Added sb-tools requirements to main mbed-os requirements file. 2019-08-30 15:10:19 +03:00
Alexander Zilberkant d356ab84b2 Update requirement for manifest-tool
Set to version 1.5.2
2019-05-31 02:53:49 +03:00
Martin Kojtal 319a82dd7b
Merge pull request #10614 from takuti/fix-dependent-mbed-greentea-version
Include mbed-greentea==1.7.1 for mbed-os-tools==0.0.8
2019-05-23 09:54:03 +01:00
Takuya Kitazawa 9bc7e7c60b Include mbed-greentea==1.7 for mbed-os-tools==0.0.8
mbed-greentea<1.7 depends on mbed-os-tools<0.0.6, while the other
dependent packages require mbed-os-tools=0.0.8. Fixing this
inconsistency.
2019-05-22 18:47:27 +09:00
Maciej Bocianski 6deb61d726 fix usb_device-msd test python deps 2019-05-21 10:57:44 +02:00
Martin Kojtal 188cd8dca9 requirements: update urllib3 to 1.24.2
Reference: CVE-2019-11324
2019-04-30 11:06:02 +01:00
Maciej Bocianski 0b336ed23b fix usb msd test python dependencies 2019-04-25 11:07:12 +02:00
Martin Kojtal 184a053c94
Merge pull request #10420 from cmonr/mbed-cloud-sdk_update
Updated mbed-cloud-sdk to 2.0.6
2019-04-18 08:13:01 +01:00
Martin Kojtal c3af275ca2
Merge pull request #10421 from cmonr/update-jinja2
Update Jinja2 for CVE-2019-10906 fix
2019-04-17 15:50:15 +01:00
Cruz Monrreal II 016b71fcae Updated mbed-cloud-sdk req to 2.0.6
Test for SMCC failing w/o update.

Also set requirement to auto update patches
2019-04-16 23:32:40 -05:00
Cruz Monrreal II 4c7a8f6e15 Update Jinja2 for CVE-2019-10906 fix 2019-04-16 12:13:45 -05:00
Filip Jagodzinski 852390fcdc Tests: USBHID: Make report test optional on Linux
This test case uses `hidapi` -- a cross-platform Python module.
To keep the initial Mbed setup as simple as possible, the `hidapi`
module is skipped on Linux hosts because of its external dependancies
for this platform.

The module can be easily installed following instructions from the
README file.
The test case is skipped if the host machine lacks `hidapi` module.
2019-04-09 17:03:22 +02:00
Filip Jagodzinski 572beb6731 Tests: USBHID: Add tests 2019-04-09 17:03:21 +02:00
Martin Kojtal d6088e5017
Merge pull request #10106 from arekzaluski/manifest-tool-pypi
Update manifest tool to version 1.4.8 and install it from pypi
2019-03-15 21:22:12 +01:00
Martin Kojtal 02f486de0d Merge branch 'fix_intervaltree' of https://github.com/linlingao/mbed-os into rollup 2019-03-15 08:44:12 +00:00
arekzaluski 7f389bd6df Update manifest tool to version 1.4.8 and install it from pypi 2019-03-14 15:33:00 +00:00
arekzaluski 421e8dfa23 Remove fuzzywuzzy dependency 2019-03-14 14:37:49 +00:00
Lin Gao 68399d7d4e Remove intervaltree from requirements.txt for mbed-os as it contradicts pyocd requirements 2019-03-07 15:20:13 -06:00
Jimmy Brisson efeda77602 Require 0.2.3 CPM
This includes vendor parsing so that we can reproduced the index.json
2019-03-04 11:24:47 -06:00
Jimmy Brisson 74f45fbbfc Start using CPM 2019-03-04 11:24:46 -06:00
Martin Kojtal 0e7f112653
Merge pull request #9849 from teetak01/patch-2
Update mbed-cloud-sdk to latest version 2.0.5
2019-02-27 16:52:32 +01:00
Cruz Monrreal 4b13c8a212
Merge pull request #9768 from c1728p9/feature-hal-spec-usb-device
Bring USB Feature branch into master
2019-02-26 22:48:02 -06:00
Teemu Takaluoma c0dd9ce454
Update mbed-cloud-sdk to latest version 2.0.5
Fixes to subscription patterns and filtering, also a timeout on a blocking subscription now raises a CloudTimeoutError not a Queue.empty exception.
Errors received in async-responses will now populate the exception status and reason attributes.
Stopping notifications now terminates cleanly without logging an error.
2019-02-26 15:31:22 +02:00
Teemu Takaluoma c8bc467fa2
Update mbed-cloud-sdk to latest version 2.0.4 2019-02-25 13:05:14 +02:00
Brian Daniels 0e6056b985 Update requirements.txt
Add an upper bound to the API version of pyusb.

Co-Authored-By: c1728p9 <butleja10511@hotmail.com>
2019-02-22 10:54:59 -06:00
Russ Butler 754134c6a2 Add pyusb to requirements
Add pyusb to requirements so the greentea USB tests work.
2019-02-22 10:53:11 -06:00
Michael Schwarcz 7016ac7d8c Add image signing scripts from TF-M bl2 library 2019-02-21 17:42:58 +02:00
Brian Daniels 4956871269 Remove pyocd requirement and update icetea.
Icetea depends on mbed-flasher. mbed-flasher recently released a version
that drops the dependency on pyocd. Icetea released a version that uses
this latest version of mbed-flasher. So now tht pyocd is no longer in
our dependency tree, we can drop it here.
2019-02-15 09:00:12 -06:00