commit python-py7zr for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py7zr for openSUSE:Factory checked in at 2024-01-04 15:58:18 Comparing /work/SRC/openSUSE:Factory/python-py7zr (Old) and /work/SRC/openSUSE:Factory/.python-py7zr.new.28375 (New) Package is "python-py7zr" Thu Jan 4 15:58:18 2024 rev:8 rq:1136541 version:0.20.8 Changes: --- /work/SRC/openSUSE:Factory/python-py7zr/python-py7zr.changes 2023-12-15 21:49:55.583982149 +0100 +++ /work/SRC/openSUSE:Factory/.python-py7zr.new.28375/python-py7zr.changes 2024-01-04 16:00:32.419407474 +0100 @@ -1,0 +2,8 @@ +Wed Dec 27 13:59:12 UTC 2023 - Dirk Müller + +- update to 0.20.8: + * Detect brotli import error (#543) + * refactor: hardening SevenZipFile constructor (#547) + * refactor: improve type safe functions (#545) + +--- Old: py7zr-0.20.7.tar.gz New: py7zr-0.20.8.tar.gz Other differences: -- ++ python-py7zr.spec ++ --- /var/tmp/diff_new_pack.6BRsRC/_old 2024-01-04 16:00:32.923425886 +0100 +++ /var/tmp/diff_new_pack.6BRsRC/_new 2024-01-04 16:00:32.927426033 +0100 @@ -26,7 +26,7 @@ %endif %{?sle15_python_module_pythons} Name: python-py7zr%{psuffix} -Version:0.20.7 +Version:0.20.8 Release:0 Summary:Library and utility to support 7zip License:LGPL-2.1-or-later ++ py7zr-0.20.7.tar.gz -> py7zr-0.20.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py7zr-0.20.7/.git_archival.txt new/py7zr-0.20.8/.git_archival.txt --- old/py7zr-0.20.7/.git_archival.txt 1970-01-01 01:00:00.0 +0100 +++ new/py7zr-0.20.8/.git_archival.txt 2023-11-14 00:22:36.0 +0100 @@ -0,0 +1,4 @@ +node: $Format:%H$ +node-date: $Format:%cI$ +describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ +ref-names: $Format:%D$ \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py7zr-0.20.7/.gitattributes new/py7zr-0.20.8/.gitattributes --- old/py7zr-0.20.7/.gitattributes 1970-01-01 01:00:00.0 +0100 +++ new/py7zr-0.20.8/.gitattributes 2023-11-14 00:22:36.0 +0100 @@ -0,0 +1 @@ +.git_archival.txt export-subst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py7zr-0.20.7/MANIFEST.in new/py7zr-0.20.8/MANIFEST.in --- old/py7zr-0.20.7/MANIFEST.in2023-11-05 23:39:48.0 +0100 +++ new/py7zr-0.20.8/MANIFEST.in2023-11-14 00:22:36.0 +0100 @@ -1,6 +1,7 @@ include *.rst include *.svg include *.toml +include *.txt include .flake8 include LICENSE include py7zr/py.typed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py7zr-0.20.7/PKG-INFO new/py7zr-0.20.8/PKG-INFO --- old/py7zr-0.20.7/PKG-INFO 2023-11-05 23:40:07.002969000 +0100 +++ new/py7zr-0.20.8/PKG-INFO 2023-11-14 00:22:49.225569700 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: py7zr -Version: 0.20.7 +Version: 0.20.8 Summary: Pure python 7-zip library Author-email: Hiroshi Miura License: LGPL-2.1-or-later @@ -62,6 +62,7 @@ Provides-Extra: check Requires-Dist: mypy>=0.940; extra == "check" Requires-Dist: mypy_extensions>=0.4.1; extra == "check" +Requires-Dist: lxml; extra == "check" Requires-Dist: types-psutil; extra == "check" Requires-Dist: check-manifest; extra == "check" Requires-Dist: flake8<7; extra == "check" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py7zr-0.20.7/docs/Changelog.rst new/py7zr-0.20.8/docs/Changelog.rst --- old/py7zr-0.20.7/docs/Changelog.rst 2023-11-05 23:39:48.0 +0100 +++ new/py7zr-0.20.8/docs/Changelog.rst 2023-11-14 00:22:36.0 +0100 @@ -9,6 +9,18 @@ `Unreleased`_ = +`v0.20.8`_ +== +Fixed +- +* Detect brotli import error (#543) + +Changed +--- +* refactor: hardening SevenZipFile constructor (#547) +* refactor: improve type safe functions (#545) +* chore: add git export configuration (#544) + `v0.20.7`_ == Changed @@ -351,7 +363,8 @@ .. History links -.. _Unreleased: https://github.com/miurahr/py7zr/compare/v0.20.7...HEAD +.. _Unreleased: https://github.com/miurahr/py7zr/compare/v0.20.8...HEAD +.. _v0.20.8: https://github.com/miurahr/py7zr/compare/v0.20.7...v0.20.8 .. _v0.20.7: https://github.com/miurahr/py7zr/compare/v0.20.6...v0.20.7 .. _v0.20.6: https://github.com/miurahr/py7zr/compare/v0.20.5...v0.20.6 .. _v0.20.5: https://github.com/miurahr/py7zr/compare/v0.20.4...v0.20.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
commit python-py7zr for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py7zr for openSUSE:Factory checked in at 2023-06-21 22:40:32 Comparing /work/SRC/openSUSE:Factory/python-py7zr (Old) and /work/SRC/openSUSE:Factory/.python-py7zr.new.15902 (New) Package is "python-py7zr" Wed Jun 21 22:40:32 2023 rev:6 rq:1094470 version:0.20.5 Changes: --- /work/SRC/openSUSE:Factory/python-py7zr/python-py7zr.changes 2023-05-05 15:58:16.436425044 +0200 +++ /work/SRC/openSUSE:Factory/.python-py7zr.new.15902/python-py7zr.changes 2023-06-21 22:41:24.134928364 +0200 @@ -1,0 +2,5 @@ +Wed Jun 21 11:10:29 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +--- Other differences: -- ++ python-py7zr.spec ++ --- /var/tmp/diff_new_pack.qhDwIB/_old 2023-06-21 22:41:24.670931589 +0200 +++ /var/tmp/diff_new_pack.qhDwIB/_new 2023-06-21 22:41:24.682931662 +0200 @@ -24,7 +24,7 @@ %define psuffix %{nil} %bcond_with test %endif - +%{?sle15_python_module_pythons} Name: python-py7zr%{psuffix} Version:0.20.5 Release:0
commit python-py7zr for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py7zr for openSUSE:Factory checked in at 2023-05-05 15:57:59 Comparing /work/SRC/openSUSE:Factory/python-py7zr (Old) and /work/SRC/openSUSE:Factory/.python-py7zr.new.1533 (New) Package is "python-py7zr" Fri May 5 15:57:59 2023 rev:5 rq:1084851 version:0.20.5 Changes: --- /work/SRC/openSUSE:Factory/python-py7zr/python-py7zr.changes 2022-12-24 14:52:24.907674867 +0100 +++ /work/SRC/openSUSE:Factory/.python-py7zr.new.1533/python-py7zr.changes 2023-05-05 15:58:16.436425044 +0200 @@ -1,0 +2,13 @@ +Thu May 4 19:19:16 UTC 2023 - Dirk Müller + +- update to 0.20.5: + * Remove root reference from file names (#513) + * fix typo in the readme (#510) + * Drop manual GC to improve performance when many files are +handled. (#489, #490) + * Fix mypy error + * Skip deflate64 compression/decompression test on pypy + * There is an issue in dependency inflate64 library that causes +SIGABORT and SIGSEGV on pypy + +--- Old: py7zr-0.20.2.tar.gz New: py7zr-0.20.5.tar.gz Other differences: -- ++ python-py7zr.spec ++ --- /var/tmp/diff_new_pack.WZr0Xi/_old 2023-05-05 15:58:16.884427611 +0200 +++ /var/tmp/diff_new_pack.WZr0Xi/_new 2023-05-05 15:58:16.888427634 +0200 @@ -1,7 +1,7 @@ # # spec file # -# 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 @@ -26,7 +26,7 @@ %endif Name: python-py7zr%{psuffix} -Version:0.20.2 +Version:0.20.5 Release:0 Summary:Library and utility to support 7zip License:LGPL-2.1-or-later @@ -100,7 +100,7 @@ %if !%{with test} %files %{python_files} %license LICENSE -%doc README.rst Changelog.rst +%doc README.rst docs/Changelog.rst %{python_sitelib}/py7zr %{python_sitelib}/py7zr-%{version}*-info %python_alternative %{_bindir}/py7zr ++ py7zr-0.20.2.tar.gz -> py7zr-0.20.5.tar.gz ++ 3620 lines of diff (skipped)
commit python-py7zr for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py7zr for openSUSE:Factory checked in at 2022-12-24 14:51:30 Comparing /work/SRC/openSUSE:Factory/python-py7zr (Old) and /work/SRC/openSUSE:Factory/.python-py7zr.new.1563 (New) Package is "python-py7zr" Sat Dec 24 14:51:30 2022 rev:4 rq:1044224 version:0.20.2 Changes: --- /work/SRC/openSUSE:Factory/python-py7zr/python-py7zr.changes 2022-07-15 13:52:58.279572984 +0200 +++ /work/SRC/openSUSE:Factory/.python-py7zr.new.1563/python-py7zr.changes 2022-12-24 14:52:24.907674867 +0100 @@ -1,0 +2,29 @@ +Wed Dec 21 10:02:30 UTC 2022 - Ben Greiner + +- Update to 0.20.2 + * Fix error with good path data, when detecting wrong path with +new canonical_path(), and drop resolve() call on path. +- Release 0.20.1 + ## Security + * Fix sanity check for path traversal attack(#480) + * Add path checker in writef() and writestr() methods that +ignores evil pass. +- When pass arcname as evil path such as + "../../../../tmp/evil.sh" +- it raises ValueError + * Check symlink and junction is under target folder when +extraction +- Release 0.20.0 + * Support enhanced deflate compression.(#472) + * Bump setuptools@63 and setuptools_scm@7 (#473) + * Deprecate Python 3.6 support (#473) +- Fixes boo#1206141 CVE-2022-44900 + +--- +Fri Jul 15 07:54:24 UTC 2022 - Ben Greiner + +- Update to version 0.19.0 + * big changelog +- Move tests to multibuild + +--- Old: py7zr-0.11.3.tar.gz New: _multibuild py7zr-0.20.2.tar.gz Other differences: -- ++ python-py7zr.spec ++ --- /var/tmp/diff_new_pack.AdAmda/_old 2022-12-24 14:52:27.455689734 +0100 +++ /var/tmp/diff_new_pack.AdAmda/_new 2022-12-24 14:52:27.459689757 +0100 @@ -1,5 +1,5 @@ # -# spec file for package python-py7zr +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -16,36 +16,55 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -Name: python-py7zr -Version:0.11.3 +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif + +Name: python-py7zr%{psuffix} +Version:0.20.2 Release:0 Summary:Library and utility to support 7zip License:LGPL-2.1-or-later Group: Development/Languages/Python URL:https://github.com/miurahr/py7zr Source0: https://files.pythonhosted.org/packages/source/p/py7zr/py7zr-%{version}.tar.gz -BuildRequires: %{python_module pep517} -BuildRequires: %{python_module pyannotate} -BuildRequires: %{python_module pycryptodome} -BuildRequires: %{python_module pylzma} -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module texttable} -BuildRequires: %{python_module toml} +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 63} +BuildRequires: %{python_module setuptools_scm >= 7.0.5} BuildRequires: %{python_module wheel} -# SECTION test requirements -BuildRequires: %{python_module pytest-remotedata} -BuildRequires: %{python_module pytest-timeout} -BuildRequires: %{python_module pytest} -# /SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-pycryptodome +Requires: python-Brotli >= 1.0.9 +Requires: python-multivolumefile >= 0.2.3 +Requires: python-psutil +Requires: python-pybcj >= 0.6.0 +Requires: python-pycryptodomex >= 3.6.6 +Requires: python-pyzstd >= 0.14.4 Requires: python-texttable +Requires: (python-pyppmd >= 0.18.1 with python-pyppmd < 1.1.0) +%if 0%{?python_version_nodots} < 38 +Requires: python-importlib_metadata +%endif +%if 0%{?python_version_nodots} > 36 +Requires: python-inflate64 >= 0.3.1 +%endif Requires(post): update-alternatives Requires(postun):update-alternatives +%if %{with test} +BuildRequires: %{python_module py-cpuinfo} +BuildRequires: %{python_module py7zr = %{version}} +BuildRequires: %{python_module pyannotate} +BuildRequires: %{python_module pytest-benchmark} +BuildRequires: %{python_module pytest-remotedata} +BuildRequires: %{python_module pytest-timeout} +BuildRequires: %{python_module pytest} +%endif BuildArch: noarch %python_subpackages @@ -54,24 +73,23 @@ %prep %setup -q -n py7zr-%{version} -find . -type f -name "*.py" -exec sed -i \ - -e '1s|/usr/bin/env
commit python-py7zr for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py7zr for openSUSE:Factory checked in at 2022-07-15 13:52:44 Comparing /work/SRC/openSUSE:Factory/python-py7zr (Old) and /work/SRC/openSUSE:Factory/.python-py7zr.new.1523 (New) Package is "python-py7zr" Fri Jul 15 13:52:44 2022 rev:3 rq:989323 version:0.11.3 Changes: --- /work/SRC/openSUSE:Factory/python-py7zr/python-py7zr.changes 2021-04-06 17:32:44.523324666 +0200 +++ /work/SRC/openSUSE:Factory/.python-py7zr.new.1523/python-py7zr.changes 2022-07-15 13:52:58.279572984 +0200 @@ -1,0 +2,9 @@ +Thu Jul 14 18:23:24 UTC 2022 - Ben Greiner + +- Remove ancient python-pathlib from the build requirements but + leave the version as is. An update to the latest version 0.19.0 + would require to package many more dependencies. +- Clean up the spec-file a little bit +- Use pytest. No pure python package should ever be untested. + +--- Other differences: -- ++ python-py7zr.spec ++ --- /var/tmp/diff_new_pack.9lrfbA/_old 2022-07-15 13:52:58.767573142 +0200 +++ /var/tmp/diff_new_pack.9lrfbA/_new 2022-07-15 13:52:58.771573143 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-py7zr # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,27 +26,27 @@ Group: Development/Languages/Python URL:https://github.com/miurahr/py7zr Source0: https://files.pythonhosted.org/packages/source/p/py7zr/py7zr-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module pep517} -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} -# begin test -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module coverage} -BuildRequires: %{python_module pathlib} +BuildRequires: %{python_module pyannotate} BuildRequires: %{python_module pycryptodome} BuildRequires: %{python_module pylzma} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module texttable} BuildRequires: %{python_module toml} -# end test +BuildRequires: %{python_module wheel} +# SECTION test requirements +BuildRequires: %{python_module pytest-remotedata} +BuildRequires: %{python_module pytest-timeout} +BuildRequires: %{python_module pytest} +# /SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pycryptodome Requires: python-texttable Requires(post): update-alternatives Requires(postun):update-alternatives -#BuildArch: noarch +BuildArch: noarch %python_subpackages %description @@ -60,10 +60,9 @@ {} \; sed -i -e 's|setuptools-scm>=3.5.0|setuptools-scm|g' setup.cfg +sed -i -e '/addopts/d' tox.ini %build -# Remove export CFLAGS=... for noarch packages (unneeded) -export CFLAGS="%{optflags}" %python_build %install @@ -81,13 +80,15 @@ %python_uninstall_alternative py7zr %check -#%%python_expand $python setup.py test +# different format of argparse in python3.10 +python310_donttest=("-k" "not (test_cli_help or test_cli_no_subcommand)") +%pytest -m "not benchmark" "${$python_donttest[@]}" %files %{python_files} %license LICENSE %doc README.rst Changelog.rst -%{python_sitelib}/* -%pycache_only %{python_sitelib}/py7zr/__pycache__ +%{python_sitelib}/py7zr +%{python_sitelib}/py7zr-%{version}*-info %python_alternative %{_bindir}/py7zr %changelog
commit python-py7zr for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py7zr for openSUSE:Factory checked in at 2021-04-06 17:31:09 Comparing /work/SRC/openSUSE:Factory/python-py7zr (Old) and /work/SRC/openSUSE:Factory/.python-py7zr.new.2401 (New) Package is "python-py7zr" Tue Apr 6 17:31:09 2021 rev:2 rq:883194 version:0.11.3 Changes: --- /work/SRC/openSUSE:Factory/python-py7zr/python-py7zr.changes 2021-02-26 21:59:10.243806028 +0100 +++ /work/SRC/openSUSE:Factory/.python-py7zr.new.2401/python-py7zr.changes 2021-04-06 17:32:44.523324666 +0200 @@ -1,0 +2,6 @@ +Sat Apr 3 12:20:11 UTC 2021 - Ismail D??nmez + +- Fix sed line to use python3 and add a replacement for /usr/bin/python + as well. + +--- Other differences: -- ++ python-py7zr.spec ++ --- /var/tmp/diff_new_pack.WmlBOJ/_old 2021-04-06 17:32:44.923325118 +0200 +++ /var/tmp/diff_new_pack.WmlBOJ/_new 2021-04-06 17:32:44.927325123 +0200 @@ -22,30 +22,30 @@ Version:0.11.3 Release:0 Summary:Library and utility to support 7zip -License:LGPL-2.1+ +License:LGPL-2.1-or-later Group: Development/Languages/Python URL:https://github.com/miurahr/py7zr Source0: https://files.pythonhosted.org/packages/source/p/py7zr/py7zr-%{version}.tar.gz BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module pep517} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} # begin test BuildRequires: %{python_module pytest} BuildRequires: %{python_module coverage} -BuildRequires: %{python_module toml} +BuildRequires: %{python_module pathlib} BuildRequires: %{python_module pycryptodome} -BuildRequires: %{python_module texttable} BuildRequires: %{python_module pylzma} -BuildRequires: %{python_module pathlib} +BuildRequires: %{python_module texttable} +BuildRequires: %{python_module toml} # end test BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-texttable Requires: python-pycryptodome +Requires: python-texttable Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives #BuildArch: noarch %python_subpackages @@ -54,7 +54,11 @@ %prep %setup -q -n py7zr-%{version} -find . -type f -name "*.py" -exec sed -i -e 's|/usr/bin/env python|/usr/bin/python|g' {} \; +find . -type f -name "*.py" -exec sed -i \ + -e '1s|/usr/bin/env python$|/usr/bin/python3|g' \ + -e '1s|/usr/bin/python |/usr/bin/python3 |g' \ + {} \; + sed -i -e 's|setuptools-scm>=3.5.0|setuptools-scm|g' setup.cfg %build