Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package diffoscope for openSUSE:Factory checked in at 2021-03-08 15:19:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/diffoscope (Old) and /work/SRC/openSUSE:Factory/.diffoscope.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "diffoscope" Mon Mar 8 15:19:05 2021 rev:6 rq:877586 version:168 Changes: -------- --- /work/SRC/openSUSE:Factory/diffoscope/diffoscope.changes 2019-04-08 20:52:54.706540861 +0200 +++ /work/SRC/openSUSE:Factory/.diffoscope.new.2378/diffoscope.changes 2021-03-08 15:20:53.278098208 +0100 @@ -1,0 +2,970 @@ +Sat Feb 27 15:00:17 UTC 2021 - Sebastian Wagner <sebix+novell....@sebix.at> + +- Update dependencies +- Update to version 168: + * Don't call difflib.Differ.compare with very large inputs; it is at least + O(n^2) and makes diffoscope appear to hang. + (Closes: reproducible-builds/diffoscope#240) + * Don't use "Inheriting PATH of X" in debug log message; use "PATH is X". + * Correct the capitalisation of jQuery. +- Update to version 167: + * Temporary directory handling: + - Ensure we cleanup our temporary directory by avoiding confusion between + the TemporaryDirectory instance and the underlying directory. + (Closes: deb#981123) + - Use a potentially-useful suffix to our temporary directory based on the + command-line passed to diffoscope. + - Fix some tempfile/weakref interaction in Python 3.7 (ie. Debian buster). + (Closes: reproducible-builds/diffoscope#239) + - If our temporary directory does not exist anymore (eg. it has been + cleaned up in tests, signal handling or reference counting), make sure + we recreate it. + * Bug fixes: + - Don't rely on magic.Magic(...) to have an identical API between file's + magic.py and PyPI's "python-magic" library. + (Closes: reproducible-builds/diffoscope#238) + - Don't rely on dumpimage returning an appropriate exit code; check that + the file actually exists after we call it. + * Codebase changes: + - Set a default Config.extended_filesystem_attributes. + - Drop unused Config.acl and Config.xattr attributes. + - Tidy imports in diffoscope/comparators/fit.py. + * Tests: + - Add u-boot-tools to test dependencies so that salsa.debian.org pipelines + actually test the new FIT comparator. + - Strip newlines when determining Black version to avoid "requires black + >= 20.8b1 (18.9b0\n detected)" in test output (NB. embedded newline). + - Gnumeric is back in testing so re-add to test dependencies. + - Use assert_diff (over get_data, etc.) in the FIT and APK comparators. + - Mark test_apk.py::test_android_manifest as being allowed to fail for now. + - Fix the FIT tests in buster and unstable. +- Update to version 166: + [ Chris Lamb ] + * New features and bugfixes: + - Explicitly remove our top-level temporary directory. + (Closes: deb#981123, reproducible-builds/diffoscope#234) + - Increase fuzzy matching threshold to 130 ensure that we show more + differences. (Closes: reproducible-builds/diffoscope#232) + - Save our sys.argv in our top-level temporary directory in case it + helps debug current/errant temporary directories. + - Prefer to use "magic.Magic" over the "magic.open" compatibility + interface. (Closes: reproducible-builds/diffoscope#236) + - Reduce fuzzy threshold to 110 to prevent some test failures. + (Closes: reproducible-builds/diffoscope#233) + * Output improvements: + - Show fuzzyness amount in percentage terms, not out of the + rather-arbitrary "400". + - Improve the logging of fuzzy matching. + - Print the free space in our temporary directory when we create it, not + from within diffoscope.main. + * Codebase improvements: + - Tidy the diffoscopecomparators.utils.fuzzy module. + - Update my copyright years. + - Clarify the grammar of a comment. + - Clarify in a comment that __del__ is not always called, so temporary + directories are not neccessary removed the *moment* they go out of scope. + [ Conrad Ratschan ] + * Fix U-Boot Flattened Image Tree ("FIT") image detection for larger image + files. (MR: reproducible-builds/diffoscope!75) +- Update to version 165: + [ Dimitrios Apostolou ] + * Introduce the --no-acl and --no-xattr arguments [later collapsed to + --extended-filesystem-attributes] to improve performance. + * Avoid calling the external stat command. + [ Chris Lamb ] + * Collapse --acl and --xattr into --extended-filesystem-attributes to cover + all of these extended attributes, defaulting the new option to false (ie. + to not check these very expensive external calls). + [ Mattia Rizzolo ] + * Override several lintian warnings regarding prebuilt binaries in the + * source. + * Add a pytest.ini file to explicitly use Junit's xunit2 format. + * Ignore the Python DeprecationWarning message regarding the `imp` module + deprecation as it comes from a third-party library. + * debian/rules: filter the content of the d/*.substvars files +- Update to version 164: + [ Chris Lamb ] + * Truncate jsondiff differences at 512 bytes lest they consume the entire page. + * Wrap our external call to cmp(1) with a profile (to match the internal + profiling). + * Add a note regarding the specific ordering of the new + all_tools_are_listed test. + [ Dimitrios Apostolou ] + * Performance improvements: + - Improve speed of has_same_content by spawning cmp(1) less frequently. + - Log whenever the external cmp(1) command is spawn.ed + - Avoid invoking external diff for identical, short outputs. + * Rework handling of temporary files: + - Clean up temporary directories as we go along, instead of at the end. + - Delete FIFO files when the FIFO feeder's context manager exits. + [ Mattia Rizzolo ] + * Fix a number of potential crashes in --list-debian-substvars, including + explicitly listing lipo and otool as external tools. + - Remove redundant code and let object destructors clean up after themselves. + [ Conrad Ratschan ] + * Add a comparator for Flattened Image Trees (FIT) files, a boot image format + used by U-Boot. +- Update to version 163: + [ Chris Lamb ] + * Bug fixes & new features: + - Normalise "ret" to "retq" in objdump output to support multiple versions + of obdump(1). (Closes: deb#976760, reproducible-builds/diffoscope#227) + - Don't show progress indicators when running zstd(1). + (Closes: reproducible-builds/diffoscope#226) + - Move the slightly-confusing behaviour of loading an "existing diff" if a + single file is passed to diffoscope to the new --load-existing-diff + command. + * Output improvements: + - Use pprint.pformat in the JSON comparator to serialise the differences + from jsondiff to make the output render better. + - Correct tense in --debug log output. + * Code quality: + * Don't use an old-style "super" call. + - Rewrite the filter routine for post-processing output from readelf(1). + - Update my copyright years. + - Remove unncessary PEP 263 encoding lines (replaced via PEP 3120). + - Use "minimal" instead of "basic" as a variable name to match the + underlying package name. + - Add comment regarding Java tests for diffoscope contributors who are not + using Debian. (Re: reproducible-builds/diffoscope!58) + * Debian packaging: + - Update debian/copyright to match copyright notices in source-tree. + (Closes: reproducible-builds/diffoscope#224) + - Ensure the new "diffoscope-minimal" package has a different short + description from the main "diffoscope" one. + [ Jean-Romain Garnier ] + * Add tests for OpenJDK 14. + [ Conrad Ratschan ] + * Add comparator for "legacy" uboot uImage files. + (MR: reproducible-builds/diffoscope!69) +- Update to version 162: + [ Chris Lamb ] + * Don't depends on radare2 in the Debian autopkgtests as it will not be in + bullseye due to security considerations (#950372). (Closes: deb#975313) + * Avoid "Command `s p a c e d o u t` failed" messages when creating an + artificial CalledProcessError instance in our generic from_operation + feeder creator. + * Overhaul long and short descriptions. + * Use the operation's full name so that "command failed" messages include + its arguments. + * Add a missing comma in a comment. + [ Jelmer Vernoo?? ] + * Add missing space to the error message when only one argument is passed to + diffoscope. + [ Holger Levsen ] + * Update Standards-Version to 4.5.1. + [ Mattia Rizzolo ] + * Split the diffoscope package into a diffoscope-minimal package that + excludes the larger packages from Recommends. (Closes: deb#975261) + * Drop support for Python 3.6. +- Update to version 161: + [ Chris Lamb ] + * Fix failing testsuite: (Closes: deb#972518) + - Update testsuite to support OCaml 4.11.1. (Closes: deb#972518) + - Reapply Black and bump minimum version to 20.8b1. + * Move the OCaml tests to the assert_diff helper. + [ Jean-Romain Garnier ] + * Add support for radare2 as a disassembler. + [ Paul Spooren ] + * Automatically deploy Docker images in the continuous integration pipeline. +- Update to version 160: + * Check that pgpdump is actually installed before attempting to run it. + Thanks to Gianfranco Costamagna (locutusofborg). (Closes: deb#969753) + * Add some documentation for the EXTERNAL_TOOLS dictionary. + * Ensure we check FALLBACK_FILE_EXTENSION_SUFFIX, otherwise we run pgpdump + against all files that are recognised by file(1) as "data". +- Update to version 159: + [ Chris Lamb ] + * Show "ordering differences only" in strings(1) output. + (Closes: reproducible-builds/diffoscope#216) + * Don't alias output from "os.path.splitext" to variables that we do not end + up using. + * Don't raise exceptions when cleaning up after a guestfs cleanup failure. + [ Jean-Romain Garnier ] + * Make "Command" subclass a new generic Operation class. +- Update to version 158: + * Improve PGP support: + - Support extracting of files within PGP signed data. + (Closes: reproducible-builds/diffoscope#214) + - pgpdump(1) can successfully parse some unrelated, non-PGP binary files, + so check that the parsed output contains something remotely sensible + before identifying it as a PGP file. + * Don't use Python's repr(...)-style output in "Calling external command" + logging output. + * Correct a typo of "output" in an internal comment. +- Update to version 157: + [ Chris Lamb ] + * Try obsensibly "data" files named .pgp against pgpdump to determine whether ++++ 1056 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/diffoscope/diffoscope.changes ++++ and /work/SRC/openSUSE:Factory/.diffoscope.new.2378/diffoscope.changes Old: ---- diffoscope-113.tar.bz2 diffoscope-113.tar.bz2.asc New: ---- diffoscope-168.tar.bz2 diffoscope-168.tar.bz2.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ diffoscope.spec ++++++ --- /var/tmp/diff_new_pack.tqGz3N/_old 2021-03-08 15:20:54.042098768 +0100 +++ /var/tmp/diff_new_pack.tqGz3N/_new 2021-03-08 15:20:54.046098771 +0100 @@ -1,7 +1,7 @@ # # spec file for package diffoscope # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: diffoscope -Version: 113 +Version: 168 Release: 0 Summary: In-depth comparison of files, archives, and directories License: GPL-3.0-or-later @@ -28,16 +28,25 @@ Source2: diffoscope.keyring BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: python3-base >= 3.7 +BuildRequires: python3-curses BuildRequires: python3-libarchive-c BuildRequires: python3-pytest BuildRequires: python3-python-magic BuildRequires: python3-setuptools +Requires: python3-curses Requires: python3-libarchive-c Requires: python3-python-magic Requires: python3-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives # Tools required for proper function of this program +# in extras_require +Recommends: python3-distro +Recommends: python3-argcomplete +Recommends: python3-progressbar +Recommends: python3-defusedxml +Recommends: python3-jsondiff # for getfacl Suggests: acl # for ar, readelf, objcopy and objdump @@ -102,6 +111,7 @@ %prep %setup -q +sed -i '0,/#!\/usr\/bin\/env/ d' diffoscope/main.py %build %python3_build @@ -124,7 +134,7 @@ fi %check -# 7 tests fail 130 skipped due to missing tools, needs more investigation +# 3 tests fail 177 skipped due to missing tools, needs more investigation py.test-%{python3_bin_suffix} -v || : %files ++++++ diffoscope-113.tar.bz2 -> diffoscope-168.tar.bz2 ++++++ ++++ 33597 lines of diff (skipped)