From 5f9dfdb2f11d3a75d4d229c5a94b1d25dd83667c Mon Sep 17 00:00:00 2001 From: Michael Spang Date: Mon, 6 Mar 2023 11:59:36 -0500 Subject: [PATCH] Update python constraints.txt (#25441) Via pip-compile --rebuild --output-file=constraints.txt --strip-extras --resolver=backtracking requirements.txt --- .github/workflows/examples-telink.yaml | 38 +++- scripts/setup/constraints.txt | 250 +++++++++++++++---------- scripts/setup/requirements.esp32.txt | 2 + scripts/setup/requirements.txt | 1 + 4 files changed, 194 insertions(+), 97 deletions(-) diff --git a/.github/workflows/examples-telink.yaml b/.github/workflows/examples-telink.yaml index 137b19b51829d4..28138d3dc33711 100644 --- a/.github/workflows/examples-telink.yaml +++ b/.github/workflows/examples-telink.yaml @@ -79,6 +79,9 @@ jobs: out/telink-tlsr9518adk80d-all-clusters/zephyr/zephyr.elf \ /tmp/bloat_reports/ + - name: clean out build output + run: rm -rf ./out + - name: Build example Telink All Clusters Minimal App run: | ./scripts/run_in_build_env.sh \ @@ -88,6 +91,9 @@ jobs: out/telink-tlsr9518adk80d-all-clusters-minimal/zephyr/zephyr.elf \ /tmp/bloat_reports/ + - name: clean out build output + run: rm -rf ./out + - name: Build example Telink Contact Sensor App run: | ./scripts/run_in_build_env.sh \ @@ -97,6 +103,9 @@ jobs: out/telink-tlsr9518adk80d-contact-sensor/zephyr/zephyr.elf \ /tmp/bloat_reports/ + - name: clean out build output + run: rm -rf ./out + - name: Build example Telink Lighting App run: | ./scripts/run_in_build_env.sh \ @@ -106,15 +115,21 @@ jobs: out/telink-tlsr9518adk80d-light/zephyr/zephyr.elf \ /tmp/bloat_reports/ + - name: clean out build output + run: rm -rf ./out + - name: Build example Telink Lighting App with RPC run: | ./scripts/run_in_build_env.sh \ "./scripts/build/build_examples.py --target 'telink-tlsr9518adk80d-light-rpc' build" .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \ telink tlsr9518adk80d lighting-app-rpc \ - out/telink-tlsr9518adk80d-light/zephyr/zephyr.elf \ + out/telink-tlsr9518adk80d-light-rpc/zephyr/zephyr.elf \ /tmp/bloat_reports/ + - name: clean out build output + run: rm -rf ./out + - name: Build example Telink Light Switch App run: | ./scripts/run_in_build_env.sh \ @@ -124,6 +139,9 @@ jobs: out/telink-tlsr9518adk80d-light-switch/zephyr/zephyr.elf \ /tmp/bloat_reports/ + - name: clean out build output + run: rm -rf ./out + - name: Build example Telink Lock App run: | ./scripts/run_in_build_env.sh \ @@ -133,6 +151,9 @@ jobs: out/telink-tlsr9518adk80d-lock/zephyr/zephyr.elf \ /tmp/bloat_reports/ + - name: clean out build output + run: rm -rf ./out + - name: Build example Telink OTA Requestor App run: | ./scripts/run_in_build_env.sh \ @@ -142,6 +163,9 @@ jobs: out/telink-tlsr9518adk80d-ota-requestor/zephyr/zephyr.elf \ /tmp/bloat_reports/ + - name: clean out build output + run: rm -rf ./out + - name: Build example Telink Pump App run: | ./scripts/run_in_build_env.sh \ @@ -151,6 +175,9 @@ jobs: out/telink-tlsr9518adk80d-pump/zephyr/zephyr.elf \ /tmp/bloat_reports/ + - name: clean out build output + run: rm -rf ./out + - name: Build example Telink Pump Controller App run: | ./scripts/run_in_build_env.sh \ @@ -160,6 +187,9 @@ jobs: out/telink-tlsr9518adk80d-pump-controller/zephyr/zephyr.elf \ /tmp/bloat_reports/ + - name: clean out build output + run: rm -rf ./out + - name: Build example Telink Temperature Measurement App run: | ./scripts/run_in_build_env.sh \ @@ -169,6 +199,9 @@ jobs: out/telink-tlsr9518adk80d-temperature-measurement/zephyr/zephyr.elf \ /tmp/bloat_reports/ + - name: clean out build output + run: rm -rf ./out + - name: Build example Telink Thermostat App run: | ./scripts/run_in_build_env.sh \ @@ -178,6 +211,9 @@ jobs: out/telink-tlsr9518adk80d-thermostat/zephyr/zephyr.elf \ /tmp/bloat_reports/ + - name: clean out build output + run: rm -rf ./out + - name: Uploading Size Reports uses: actions/upload-artifact@v3 if: ${{ !env.ACT }} diff --git a/scripts/setup/constraints.txt b/scripts/setup/constraints.txt index 19326bf8ace249..5322b58f7f9e71 100644 --- a/scripts/setup/constraints.txt +++ b/scripts/setup/constraints.txt @@ -1,8 +1,8 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: # -# pip-compile --output-file=constraints.txt requirements.txt +# pip-compile --output-file=constraints.txt --resolver=backtracking --strip-extras requirements.txt # anytree==2.8.0 # via -r requirements.txt @@ -10,32 +10,43 @@ appdirs==1.4.4 # via # -r requirements.txt # mbed-os-tools - # virtualenv -appnope==0.1.2 +appnope==0.1.3 # via -r requirements.txt -attrs==21.2.0 +asttokens==2.2.1 + # via stack-data +attrs==22.2.0 # via # jsonschema # pytest backcall==0.2.0 # via ipython -beautifulsoup4==4.11.1 +beautifulsoup4==4.11.2 # via mbed-os-tools -bitstring==3.1.7 +bflb-crypto-plus==1.0 + # via bflb-iot-tool +bflb-iot-tool==1.8.3 + # via -r requirements.bouffalolab.txt +bitstring==4.0.1 # via -r requirements.esp32.txt brotli==1.0.9 # via flask-compress +build==0.8.0 + # via + # -r requirements.txt + # pip-tools +cachecontrol==0.12.11 + # via idf-component-manager cbor==1.0.0 # via -r requirements.txt -cbor2==5.4.3 +cbor2==5.4.6 # via # -r requirements.txt # imgtool -certifi==2021.5.30 +certifi==2022.12.7 # via requests cffi==1.15.1 # via cryptography -chardet==4.0.0 +charset-normalizer==3.0.1 # via requests click==8.1.3 # via @@ -46,7 +57,7 @@ click==8.1.3 # imgtool # mbed-tools # pip-tools -colorama==0.4.4 +colorama==0.4.6 # via # -r requirements.txt # idf-component-manager @@ -60,146 +71,165 @@ contextlib2==21.6.0 # via # idf-component-manager # schema -cryptography==3.4.7 +cryptography==39.0.2 # via - # -c constraints.esp32.txt # -r requirements.txt # imgtool -cxxfilt==0.2.2 +cxxfilt==0.3.0 # via -r requirements.txt -decorator==5.0.9 +decorator==5.1.1 # via ipython -distlib==0.3.2 +diskcache==5.4.0 + # via -r requirements.txt +distlib==0.3.6 # via virtualenv docopt==0.6.2 # via pykwalify -ecdsa==0.17.0 - # via -r requirements.esp32.txt -fastcore==1.3.26 +ecdsa==0.18.0 + # via + # -r requirements.esp32.txt + # -r requirements.ti.txt + # bflb-iot-tool +executing==1.2.0 + # via stack-data +fastcore==1.5.28 # via ghapi -fasteners==0.17.3 +fasteners==0.18 # via mbed-os-tools -filelock==3.0.12 +filelock==3.9.0 # via virtualenv flask==0.12.5 # via # flask-compress # flask-socketio # gdbgui -flask-compress==1.10.0 +flask-compress==1.13 # via gdbgui flask-socketio==2.9.6 # via gdbgui future==0.18.3 # via # -r requirements.esp32.txt + # -r requirements.telink.txt # idf-component-manager # mbed-os-tools - # mobly -gdbgui==0.13.2.0 + # pylink-square +gdbgui==0.13.2.0 ; platform_machine != "aarch64" and sys_platform == "linux" # via -r requirements.esp32.txt gevent==1.5.0 # via gdbgui -ghapi==0.1.19 +ghapi==1.0.3 # via -r requirements.txt -gitdb==4.0.9 +gitdb==4.0.10 # via gitpython -gitpython==3.1.27 ; platform_machine != "aarch64" and sys_platform == "linux" +gitpython==3.1.31 ; platform_machine != "aarch64" and sys_platform == "linux" # via # -r requirements.mbed.txt # mbed-tools -greenlet==1.1.0 +greenlet==2.0.2 # via gevent -humanfriendly==9.2 +humanfriendly==10.0 # via coloredlogs -idf-component-manager==1.1.4 +idf-component-manager==1.2.2 # via -r requirements.esp32.txt -idna==2.10 +idna==3.4 # via requests imgtool==1.9.0 # via -r requirements.openiotsdk.txt -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest intelhex==2.3.0 # via # -r requirements.txt # imgtool # mbed-os-tools -ipython==7.24.1 +ipython==8.11.0 # via -r requirements.txt -ipython-genutils==0.2.0 - # via traitlets itsdangerous==2.0.1 - # via flask -jedi==0.18.0 + # via + # -r requirements.esp32.txt + # flask +jedi==0.18.2 # via ipython -jinja2==3.0.1 +jinja2==3.0.3 # via + # -r requirements.esp32.txt # flask # mbed-tools -jsonschema==4.4.0 +jsonschema==4.17.3 # via -r requirements.txt junit-xml==1.9 # via mbed-os-tools kconfiglib==13.7.1 # via -r requirements.esp32.txt -lark==1.1.2 +lark==1.1.5 # via -r requirements.txt +leb128==1.0.5 + # via -r requirements.infineon.txt lockfile==0.12.2 # via # -r requirements.txt + # cachecontrol # mbed-os-tools -mako==1.2.1 +mako==1.2.4 # via pdoc3 -markdown==3.3.7 +markdown==3.4.1 # via pdoc3 -markupsafe==2.0.1 +markupsafe==2.1.2 # via # jinja2 # mako -matplotlib-inline==0.1.2 +matplotlib-inline==0.1.6 # via ipython mbed-ls==1.8.11 ; platform_machine != "aarch64" and sys_platform == "linux" # via -r requirements.mbed.txt -mbed-os-tools==1.8.13 +mbed-os-tools==1.8.15 # via mbed-ls -mbed-tools==7.55.1.dev1 ; platform_machine != "aarch64" and sys_platform == "linux" +mbed-tools==7.59.0 ; platform_machine != "aarch64" and sys_platform == "linux" # via -r requirements.mbed.txt -mobly==1.11.1 +mobly==1.12.1 # via -r requirements.txt +msgpack==1.0.4 + # via cachecontrol mypy==0.971 # via -r requirements.txt -mypy-extensions==0.4.3 +mypy-extensions==1.0.0 # via mypy mypy-protobuf==3.2.0 # via -r requirements.txt -numpy==1.23.0 +numpy==1.24.2 # via pandas -packaging==20.9 +packaging==23.0 # via + # build # fastcore # ghapi + # idf-component-manager # pytest # west -pandas==1.4.3 ; platform_machine != "aarch64" and platform_machine != "arm64" +pandas==1.5.3 ; platform_machine != "aarch64" and platform_machine != "arm64" # via -r requirements.txt -parso==0.8.2 +parso==0.8.3 # via jedi pdoc3==0.10.0 ; platform_machine != "aarch64" and sys_platform == "linux" # via -r requirements.mbed.txt -pep517==0.10.0 - # via pip-tools +pep517==0.13.0 + # via build pexpect==4.8.0 # via ipython pgi==0.0.11.2 ; sys_platform == "linux" # via -r requirements.txt pickleshare==0.7.5 # via ipython -pip-tools==6.1.0 +pip-tools==6.12.3 # via -r requirements.txt +platformdirs==3.0.0 + # via virtualenv pluggy==1.0.0 # via pytest -portpicker==1.4.0 +portalocker==2.0.0 + # via bflb-iot-tool +portpicker==1.5.2 # via # -r requirements.txt # mobly @@ -207,42 +237,58 @@ prettytable==2.5.0 # via # mbed-ls # mbed-os-tools -prompt-toolkit==3.0.26 +prompt-toolkit==3.0.38 # via ipython protobuf==3.20.1 # via # -r requirements.txt # mypy-protobuf -psutil==5.9.1 - # via -r requirements.txt +psutil==5.9.4 + # via + # -r requirements.txt + # mbed-tools + # portpicker + # pylink-square ptyprocess==0.7.0 # via pexpect +pure-eval==0.2.2 + # via stack-data py==1.11.0 # via pytest -pycparser==2.20 +pycklink==0.1.1 + # via bflb-iot-tool +pycparser==2.21 # via cffi +pycryptodome==3.9.8 + # via + # bflb-crypto-plus + # bflb-iot-tool pygdbmi==0.9.0.2 # via # -r requirements.esp32.txt # gdbgui -pygments==2.9.0 +pygments==2.14.0 # via # gdbgui # ipython pykwalify==1.8.0 # via west +pylink-square==0.5.0 + # via bflb-iot-tool pyparsing==2.3.1 - # via - # -r requirements.esp32.txt - # packaging -pyrsistent==0.18.1 + # via -r requirements.esp32.txt +pypng==0.0.21 + # via -r requirements.telink.txt +pyqrcode==1.2.1 + # via -r requirements.telink.txt +pyrsistent==0.19.3 # via jsonschema pyserial==3.5 # via # -c constraints.esp32.txt + # bflb-iot-tool # mbed-os-tools # mbed-tools - # mobly pytest==6.2.5 ; platform_machine != "aarch64" and sys_platform == "linux" # via # -r requirements.mbed.txt @@ -250,13 +296,13 @@ pytest==6.2.5 ; platform_machine != "aarch64" and sys_platform == "linux" # pytest-metadata pytest-json-report==1.5.0 # via -r requirements.openiotsdk.txt -pytest-metadata==2.0.2 +pytest-metadata==2.0.4 # via pytest-json-report -python-dateutil==2.8.1 +python-dateutil==2.8.2 # via # pandas # pykwalify -python-dotenv==0.20.0 ; platform_machine != "aarch64" and sys_platform == "linux" +python-dotenv==1.0.0 ; platform_machine != "aarch64" and sys_platform == "linux" # via # -r requirements.mbed.txt # mbed-tools @@ -266,9 +312,9 @@ python-socketio==4.6.1 # via # -r requirements.esp32.txt # flask-socketio -pytz==2021.1 +pytz==2022.7.1 # via pandas -pyudev==0.23.2 ; platform_machine != "aarch64" and sys_platform == "linux" +pyudev==0.24.0 ; platform_machine != "aarch64" and sys_platform == "linux" # via # -r requirements.mbed.txt # mbed-tools @@ -279,56 +325,64 @@ pyyaml==6.0 # west reedsolo==1.5.4 # via -r requirements.esp32.txt -requests==2.25.1 +requests==2.28.2 # via # -r requirements.txt + # cachecontrol # idf-component-manager # mbed-os-tools # mbed-tools + # requests-file # requests-toolbelt -requests-toolbelt==0.9.1 +requests-file==1.5.1 # via idf-component-manager -ruamel-yaml==0.17.9 +requests-toolbelt==0.10.1 + # via idf-component-manager +ruamel-yaml==0.17.21 # via pykwalify +ruamel-yaml-clib==0.2.7 + # via ruamel-yaml schema==0.7.5 # via idf-component-manager six==1.16.0 # via # anytree + # asttokens # ecdsa # idf-component-manager # junit-xml # mbed-os-tools + # pylink-square # python-dateutil # python-engineio # python-socketio - # pyudev - # virtualenv + # requests-file smmap==5.0.0 # via gitdb -soupsieve==2.3.2.post1 +soupsieve==2.4 # via beautifulsoup4 +stack-data==0.6.2 + # via ipython stringcase==1.2.0 # via -r requirements.txt -tabulate==0.8.10 +tabulate==0.9.0 # via # -r requirements.txt # mbed-tools -timeout-decorator==0.5.0 - # via mobly toml==0.10.2 + # via pytest +tomli==2.0.1 # via + # build + # mypy # pep517 - # pytest -tomli==2.0.1 - # via mypy -tornado==6.1 +tornado==6.2 # via -r requirements.txt -tqdm==4.61.1 +tqdm==4.64.1 # via # idf-component-manager # mbed-tools -traitlets==5.0.5 +traitlets==5.9.0 # via # ipython # matplotlib-inline @@ -336,27 +390,31 @@ types-protobuf==3.19.22 # via # -r requirements.txt # mypy-protobuf -typing-extensions==4.3.0 ; platform_machine != "aarch64" and sys_platform == "linux" +typing-extensions==4.5.0 ; platform_machine != "aarch64" and sys_platform == "linux" # via # -r requirements.mbed.txt - # mobly + # mbed-tools # mypy -urllib3==1.26.5 +urllib3==1.26.14 # via requests -virtualenv==20.4.7 +virtualenv==20.20.0 # via -r requirements.txt -watchdog==2.1.2 +watchdog==2.3.1 # via -r requirements.txt -wcwidth==0.2.5 +wcwidth==0.2.6 # via # prettytable # prompt-toolkit +websockets==10.4 + # via -r requirements.txt werkzeug==0.16.1 # via flask -west==0.12.0 - # via -r requirements.txt -wheel==0.36.2 +west==1.0.0 # via -r requirements.txt +wheel==0.38.4 ; sys_platform == "linux" + # via + # -r requirements.txt + # pip-tools # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/scripts/setup/requirements.esp32.txt b/scripts/setup/requirements.esp32.txt index 44fd20ce9d6e7d..73e9883005c7ee 100644 --- a/scripts/setup/requirements.esp32.txt +++ b/scripts/setup/requirements.esp32.txt @@ -10,3 +10,5 @@ kconfiglib==13.7.1 construct==2.10.54 python-socketio<5 gdbgui==0.13.2.0 ; platform_machine != 'aarch64' and sys_platform == 'linux' +jinja2<3.1 +itsdangerous<2.1 diff --git a/scripts/setup/requirements.txt b/scripts/setup/requirements.txt index 5cc364d49140d8..53d0037d6634f3 100644 --- a/scripts/setup/requirements.txt +++ b/scripts/setup/requirements.txt @@ -54,6 +54,7 @@ appnope appdirs coloredlogs watchdog +build==0.8.0 mypy==0.971 mypy-protobuf==3.2.0 protobuf==3.20.1