Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-esptool for openSUSE:Factory checked in at 2023-05-11 12:33:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-esptool (Old) and /work/SRC/openSUSE:Factory/.python-esptool.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-esptool" Thu May 11 12:33:42 2023 rev:9 rq:1086123 version:4.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-esptool/python-esptool.changes 2022-11-07 13:52:00.859910449 +0100 +++ /work/SRC/openSUSE:Factory/.python-esptool.new.1533/python-esptool.changes 2023-05-11 12:34:10.762907476 +0200 @@ -1,0 +2,68 @@ +Thu Apr 20 10:23:16 UTC 2023 - Torsten Gruner <simmpho...@opensuse.org> + +- update to 4.5.1 + * Bug Fixes + - ESP32-S3: Temporarily disabled increasing CPU frequency in the stub flasher (#832, #848, #842). + - Fixed error messages when esptool is used with an unknown chip. + - esp_rfc2217_server: Updated reset sequences. + - esp_rfc2217_server: Registered as a script (#846). + - pyinstaller: Fixed glibc dependency on gnu/linux (#843). + * Miscellaneous Changes + - Added target tests for ESP32-H2. + - Reduced size of test images. + - Added a custom host_test marker for the test suite to allow running tests without real hardware (#838). + +- version 4.5 + * New Features + - Configuration file: Added the option to configure internal variables + (such as timeouts and delays) and to implement a custom reset sequence (see the related documentation). + - Bootloader reset: Added a new reset strategy to make resetting into the + download mode more reliable on MacOS and Linux systems (#712). + - ESP32-S3: Added support for >32MB octal flash chips (#795, #745). + - ESP32-H2: Added full esptool and flasher stub support. + - ESP32-C6: Added full flasher stub support. + - flash_id: Print the flash memory chip type (quad vs. octal) if available (#730). + - elf2image: Added --pad-to-size <size> option to specify a size to which + the generated binary image must be aligned. + - write_flash: Added a security check to prevent bricking the device + when flash encryption is active. + - Optimized to reduce the number of steps when a chip is being interrogated. + * espsecure.py + - Added an external HSM signing interface. + - Added support for pre-calculated signatures. + - Added PKCS#8 identifier support (#819). + * Bug Fixes + - USB-Serial/JTAG: Fixed randomly failing transfers when writing/reading large binaries. + - ESP32-S3: Fixed crashing stub flasher when using in USB-Serial/JTAG mode (#808) + - ESP32: Recalculate the crystal clock to compensate for the chips baud rate setting + as a workaround to avoid ESP32 CK_8M frequency drift. + - ESP32-S3: Fixed v0.0 chip being detected as vX.8. + - StopIteration: Fixed several possible errors when stub flasher is being uploaded + and added better error messages for other cases (#824). + - Fixed chip autodetection and operations in the secure download mode on ESP32-S2 and S3 (#813). + - write_flash: Fixed the --erase-all option corrupting flash (#805). + - write_flash: Fixed security checks when min_rev and max_rev_full are specified in the image. + - Fixed compatibility with bitstring>=4 package. + - Fixed compatibility with reedsolo when using Python 3.10 and Cython (#711). + * espefuse.py + - The serial port now gets closed when espefuse fails (#803). + * Miscellaneous Changes + - Refactored to make adding new targets easier, reduce code repetition, + and comply with the Black 23.1 style. + - Added target tests for all of the newly supported chips. + - Updated the toolchains for stub flasher builds. + +-version 4.4 + * New Features + - flasher_stub: Increased read/write speeds over USB-JTAG/Serial or USB-OTG modes, making some operations nearly twice as fast. + - Added detection for guru meditation errors induced by the flasher stub or ROM bootloader. + - Added a readable error message for serial-related failures, giving more information about possible HW issues. + - espsecure.py: Improved AES-XTS encryption speed. (#783) + * Bug Fixes + - ESP32-S3 v0.0: Fixed chip revision detection. + - bitstring: Added a workaround for breaking changes of bitstring==4 + - get_default_connected_device: Fixed to close unused serial ports. + - flash_freq: Fall back to a chip-specific default flash frequency when no flash_freq arg is specified. + - ESP32-C6: Fixed chip type detection and SPI flash communication. + +------------------------------------------------------------------- Old: ---- esptool-3.3.2.tar.gz New: ---- esptool-4.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-esptool.spec ++++++ --- /var/tmp/diff_new_pack.MBwgZI/_old 2023-05-11 12:34:11.270909973 +0200 +++ /var/tmp/diff_new_pack.MBwgZI/_new 2023-05-11 12:34:11.274909992 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-esptool # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,17 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-esptool -Version: 3.3.2 +Version: 4.5.1 Release: 0 Summary: A serial utility to communicate & flash code to Espressif ESP8266 & ESP32 chips License: GPL-2.0-or-later Group: Development/Languages/Python URL: https://github.com/espressif/esptool Source: https://github.com/espressif/esptool/archive/v%{version}.tar.gz#/esptool-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module bitstring >= 3.1.6} -BuildRequires: %{python_module ecdsa} +BuildRequires: %{python_module ecdsa >= 0.16.0} BuildRequires: %{python_module pyaes} BuildRequires: %{python_module pyelftools} BuildRequires: %{python_module pyserial >= 3.0} @@ -40,7 +39,7 @@ BuildRequires: fdupes BuildRequires: openssl BuildRequires: python-rpm-macros -Requires: python-ecdsa +Requires: python-ecdsa >= 0.16.0 Requires: python-pyaes Requires: python-pyserial >= 3.0 Requires(post): update-alternatives @@ -56,9 +55,6 @@ %prep %setup -q -n esptool-%{version} sed -i '/^#!/d' flasher_stub/*.py -sed -i '/^#!/d' espressif/*.py -sed -i '/^#!/d' espressif/*/*.py -sed -i '/^#!/d' espressif/*/*/*.py %build %python_build @@ -68,34 +64,36 @@ %python_clone -a %{buildroot}%{_bindir}/espefuse.py %python_clone -a %{buildroot}%{_bindir}/espsecure.py %python_clone -a %{buildroot}%{_bindir}/esptool.py -%python_expand sed -i '/^#!/d' %{buildroot}%{$python_sitelib}/*.py +%python_clone -a %{buildroot}%{_bindir}/esp_rfc2217_server.py %python_expand rm -rf %{buildroot}%{$python_sitelib}/__pycache__/*.pyc -%python_expand %fdupes %{buildroot}%{$python_sitelib} %check # there are more tests but upstream runs only those in .travis.yml %pytest test/test_imagegen.py -# pytest test/test_espsecure.py +%pytest test/test_espsecure.py %post %python_install_alternative espefuse.py %python_install_alternative espsecure.py %python_install_alternative esptool.py +%python_install_alternative esp_rfc2217_server.py %postun %python_uninstall_alternative espefuse.py %python_uninstall_alternative espsecure.py %python_uninstall_alternative esptool.py +%python_uninstall_alternative esp_rfc2217_server.py %files %{python_files} %license LICENSE %doc README.md -%{_bindir}/esptool.py-%{python_bin_suffix} -%{_bindir}/espsecure.py-%{python_bin_suffix} -%{_bindir}/espefuse.py-%{python_bin_suffix} %python_alternative %{_bindir}/esptool.py %python_alternative %{_bindir}/espsecure.py %python_alternative %{_bindir}/espefuse.py -%{python_sitelib}/* +%python_alternative %{_bindir}/esp_rfc2217_server.py +%{python_sitelib}/esptool-%{version}-*egg-info +%{python_sitelib}/esptool +%{python_sitelib}/espsecure +%{python_sitelib}/espefuse %changelog ++++++ esptool-3.3.2.tar.gz -> esptool-4.5.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-esptool/esptool-3.3.2.tar.gz /work/SRC/openSUSE:Factory/.python-esptool.new.1533/esptool-4.5.1.tar.gz differ: char 12, line 1