Hello community, here is the log from the commit of package python-esptool for openSUSE:Factory checked in at 2019-09-13 15:03:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-esptool (Old) and /work/SRC/openSUSE:Factory/.python-esptool.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-esptool" Fri Sep 13 15:03:08 2019 rev:4 rq:730626 version:2.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-esptool/python-esptool.changes 2019-03-05 12:20:47.688924268 +0100 +++ /work/SRC/openSUSE:Factory/.python-esptool.new.7948/python-esptool.changes 2019-09-13 15:04:51.581262586 +0200 @@ -1,0 +2,9 @@ +Fri Sep 13 07:57:08 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 2.7: + * New option write_flash --flash-size keep will keep whatever flash size is + set in the bootloader header + * write_flash no longer updates the flash header if the file being written + to the bootloader offset isn't a valid image file for the chip + +------------------------------------------------------------------- Old: ---- esptool-2.6.tar.gz New: ---- esptool-2.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-esptool.spec ++++++ --- /var/tmp/diff_new_pack.bhy9VA/_old 2019-09-13 15:04:52.069262483 +0200 +++ /var/tmp/diff_new_pack.bhy9VA/_new 2019-09-13 15:04:52.069262483 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-esptool -Version: 2.6 +Version: 2.7 Release: 0 Summary: A serial utility to communicate & flash code to Espressif ESP8266 & ESP32 chips License: GPL-2.0-or-later @@ -28,14 +28,15 @@ BuildRequires: %{python_module ecdsa} BuildRequires: %{python_module pyaes} BuildRequires: %{python_module pyelftools} -BuildRequires: %{python_module pyserial >= 2.5} +BuildRequires: %{python_module pyserial >= 3.0} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: openssl BuildRequires: python-rpm-macros Requires: python-ecdsa Requires: python-pyaes -Requires: python-pyserial >= 2.5 +Requires: python-pyserial >= 3.0 BuildArch: noarch %python_subpackages @@ -48,7 +49,6 @@ %prep %setup -q -n esptool-%{version} rm -r ecdsa pyaes -sed -i '/flake8/d' setup.py sed -i '/^#!/d' flasher_stub/*.py chmod a-x flasher_stub/*.py @@ -64,7 +64,9 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +# there are more tests but upstream runs only those in .travis.yml +%pytest test/test_imagegen.py +%pytest test/test_espsecure.py %files %{python_files} %license LICENSE ++++++ esptool-2.6.tar.gz -> esptool-2.7.tar.gz ++++++ ++++ 1723 lines of diff (skipped)
