120 Commits

Author SHA256 Message Date
acb7835ca8 Accepting request 1332413 from devel:languages:python
- update to 312:
  * Adjust u-boot-tools/fit diff to match new lines.
  * Fix test compatibility with u-boot-tools 2026-01. Thanks,
    Jelle!
  * Bump Standards-Version to 4.7.3.
  * Drop implied "Priority: optional" from debian/control.
  * Also drop implied "Rules-Requires-Root: no" entry in
    debian/control.
  * Update copyright years.
  * Reference the Debian 'ocaml' package instead of 'ocaml-nox'.
  * Attempt to fix automatic deployment to PyPi by explictly
    installing setuptools.
  * Attempt to fix compatability with LLVM 21.
  * Update copyright years.
  * Update CI to try and deploy to PyPI upon tagging a release.

OBS-URL: https://build.opensuse.org/request/show/1332413
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=51
2026-02-11 17:49:09 +00:00
86559a189d - update to 312:
* Adjust u-boot-tools/fit diff to match new lines.
  * Fix test compatibility with u-boot-tools 2026-01. Thanks,
    Jelle!
  * Bump Standards-Version to 4.7.3.
  * Drop implied "Priority: optional" from debian/control.
  * Also drop implied "Rules-Requires-Root: no" entry in
    debian/control.
  * Update copyright years.
  * Reference the Debian 'ocaml' package instead of 'ocaml-nox'.
  * Attempt to fix automatic deployment to PyPi by explictly
    installing setuptools.
  * Attempt to fix compatability with LLVM 21.
  * Update copyright years.
  * Update CI to try and deploy to PyPI upon tagging a release.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=107
2026-02-11 08:08:10 +00:00
5a35a796f1 Accepting request 1324454 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1324454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=50
2025-12-26 15:23:43 +00:00
49345fd611 Accepting request 1324447 from home:bmwiedemann:branches:devel:languages:python
Avoid influences from checks on build result
  for reproducible builds (boo#1227364)

OBS-URL: https://build.opensuse.org/request/show/1324447
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=105
2025-12-26 14:03:28 +00:00
7c360ba282 Accepting request 1304154 from devel:languages:python
- update to 306:
  * Fix compatibility with RPM 6.
  * Use regular 'open' calls instead of the deprecated
    'codecs.open'.
  * Accept additional 'v' when calling 'fdtump --version'.
  * Do not run jsondiff on files over 100KiB as the algorithm
    runs in O(n^2)
  * Fix test after the upload of systemd-ukify 258~rc3 (vs.
    258~rc2).
  * Avoid a crash in the HTML presenter when page limit is None.
  * Don't check for PyPDF version 3 specifically, check for >= 3.
  * Ensure that Java class files are named .class on the
    filesystem before passing them to javap(1).
  * Mask stderr from the extract-vmlinux script.
  * Make it much more explicit that we return 'success' from the
    extract-vmlinux script instead of just falling through to
    the bottom of the script.
  * Use Difference.from_operation in an attempt to pipeline the
    output of extract-vmlinux, potentially avoiding it all
    residing in memory. This is an attempt to prevent out of
    memory issues on try.diffoscope.org.
  * Avoid spurious differences in h5dump output caused by
    exposure of absolute internal extraction paths.
  * Use our_check_output in the ODT comparator.
  * Fix a regression and add a test so that diffoscope picks up
    differences in metadata for identical files again.
  * Handle RPM's HEADERSIGNATURES and HEADERIMMUTABLE specially
    to avoid unncessarily large diffs.
  * Add a LZMA comparator and tests.
  * Don't rely on zipdetails' --walk functionality to be

OBS-URL: https://build.opensuse.org/request/show/1304154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=49
2025-09-12 19:10:04 +00:00
972b24b1cb - update to 306:
* Fix compatibility with RPM 6.
  * Use regular 'open' calls instead of the deprecated
    'codecs.open'.
  * Accept additional 'v' when calling 'fdtump --version'.
  * Do not run jsondiff on files over 100KiB as the algorithm
    runs in O(n^2)
  * Fix test after the upload of systemd-ukify 258~rc3 (vs.
    258~rc2).
  * Avoid a crash in the HTML presenter when page limit is None.
  * Don't check for PyPDF version 3 specifically, check for >= 3.
  * Ensure that Java class files are named .class on the
    filesystem before passing them to javap(1).
  * Mask stderr from the extract-vmlinux script.
  * Make it much more explicit that we return 'success' from the
    extract-vmlinux script instead of just falling through to
    the bottom of the script.
  * Use Difference.from_operation in an attempt to pipeline the
    output of extract-vmlinux, potentially avoiding it all
    residing in memory. This is an attempt to prevent out of
    memory issues on try.diffoscope.org.
  * Avoid spurious differences in h5dump output caused by
    exposure of absolute internal extraction paths.
  * Use our_check_output in the ODT comparator.
  * Fix a regression and add a test so that diffoscope picks up
    differences in metadata for identical files again.
  * Handle RPM's HEADERSIGNATURES and HEADERIMMUTABLE specially
    to avoid unncessarily large diffs.
  * Add a LZMA comparator and tests.
  * Don't rely on zipdetails' --walk functionality to be

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=103
2025-09-11 20:23:20 +00:00
2500f3f9a6 Accepting request 1255405 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1255405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=48
2025-03-24 12:31:41 +00:00
e19fcfba63 Accepting request 1255404 from home:amanzini:branches:devel:languages:python
- update to version 291:
  * Make two required adjustments for the new version of the src:file package:
    file(1) version 5.46 now emits "XHTML document" for .xhtml files, such as
    those found nested within our .epub tests. Therefore, match this string
    when detecting XML files. This was causing an FTBFS due to inconsistent
    indentation in diffoscope's output.
  * Require the new, upcoming, version of file(1) for a quine-related
    testcase after adjusting the expected output. Previous versions of
    file(1) had a duplicated "last modified, last modified" string for some
    Zip archives that has now been removed.
  * Add a missing subprocess import.
  * Bump Standards-Version to 4.7.2.
- update to version 290:
  * Also consider .aar files as APK files for the sake of not falling back to a
    binary diff. (Closes: #1099632)
  * Ensure all calls to out_check_output in the ELF comparator have the
    potential CalledProcessError exception caught. (Re: #398)
  * Ensure a potential CalledProcessError is caught in the OpenSSL comparator
    as well.
- update to version 289:
  * Catch CalledProcessError when calling html2text.
- update to version 288:
  * Add 'asar' to DIFFOSCOPE_FAIL_TESTS_ON_MISSING_TOOLS. (Closes: #1095057)
  * Update minimal 'black' version.
- update to version 287:
  * Drop an unused subprocess import.
  * Update copyright years.
  * Add ASAR comparator.
- update to version 286:
  * Bug fixes:

OBS-URL: https://build.opensuse.org/request/show/1255404
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=101
2025-03-23 14:33:36 +00:00
95d7c492f2 Accepting request 1233064 from devel:languages:python
- update to version 284:
 - Simplify tests_quines.py::test_{differences,differences_deb} to use
   assert_diff and not mangle the expected test output.
 - Update some tests to support file(1) version 5.46.
   (Closes: reproducible-builds/diffoscope#395)
- update test skips, remove test_diff, add test_obj_identification
- update to version 283:
 - Fix crash when objdump is missing when checking .EFI files.
- update to version 282:
 - Ignore errors when listing .ar archives. (Closes: #1085257)
 - Update copyright years.
- update to version 281:
 - Don't try and test with systemd-ukify within Debian stable.
 - Add support for UKI files.
- update to version 280:
 - Drop Depends on deprecated python3-pkg-resources. (Closes: #1083362)
- update to version 279:
 - Drop removal of calculated basename from readelf output.
   (Closes: reproducible-builds/diffoscope#394)
- update to version 278:
 - Temporarily remove procyon-decompiler from Build-Depends as it was removed
   from testing (#1057532). (Closes: #1082636)
 - Add a helpful contextual message to the output if comparing Debian .orig
   tarballs within .dsc files without the ability to "fuzzy-match" away the
   leading directory. (Closes: reproducible-builds/diffoscope#386)
 - Correctly invert "X% similar" value and do not emit "100% similar".
   (Closes: reproducible-builds/diffoscope#391)
 - Update copyright years.
- update to version 277:
 - Don't crash when attempting to hashing symlinks with targets that point to
   a directory.
- update to version 276:
 - Also catch RuntimeError when importing PyPDF so that PyPDF or, crucially,
   its transitive dependencies do not cause diffoscope to traceback at runtime
   and build time. (Closes: #1078944, reproducible-builds/diffoscope#389)
 - Factor out a method for stripping ANSI escapes.
 - Strip ANSI escapes from the output of Procyon. Thanks, Aman Sharma!
 - Update copyright years.
- update to version 275:
 - Update the test_zip.py text fixtures and definitions to support new changes
   to IO::Compress. (Closes: #1078050)
 - Do not call marshal.loads(...) of precompiled Python bytecode as it is
   inherently unsafe. Replace, at least for now, with a brief summary of the
   code section of .pyc files. (Re: reproducible-builds/diffoscope#371)
 - Don't bother to check the Python version number in test_python.py: the
   fixture for this test is deterministic/fixed.
 - Update copyright years.
- update to version 274:
 - Add support for IO::Compress::Zip >= 2.212. (Closes: #1078050)
 - Don't include debug output when calling dumppdf(1).
 - Append output from dumppdf(1) in more cases.
   (Closes: reproducible-builds/diffoscope#387)
 - Update copyright years.
 - Update the available architectures for test dependencies.
- update to version 273:
 - Factor out version detection in test_jpeg_image. (Re:
   reproducible-builds/diffoscope#384)
 - Ensure that 'convert' is from Imagemagick 6.x; we will need to update a
   few things with IM7. (Closes: reproducible-builds/diffoscope#384)
 - Correct import of identify_version after refactoring change in 037bdcbb0.
 - tests:
   + Add OpenSSH key test with a ed25519 key.
   + Skip the OpenSSH test with DSA key if openssh is >> 9.7
   + Support ffmpeg >= 7 that adds some extra context to the diff
 - Do not ignore testing in gitlab-ci.

OBS-URL: https://build.opensuse.org/request/show/1233064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=47
2024-12-23 15:53:38 +00:00
7148ddf33c - update to version 284:
- Simplify tests_quines.py::test_{differences,differences_deb} to use
   assert_diff and not mangle the expected test output.
 - Update some tests to support file(1) version 5.46.
   (Closes: reproducible-builds/diffoscope#395)
- update test skips, remove test_diff, add test_obj_identification

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=99
2024-12-22 20:31:03 +00:00
d16d0a36f0 - update to version 283:
- Fix crash when objdump is missing when checking .EFI files.
- update to version 282:
 - Ignore errors when listing .ar archives. (Closes: #1085257)
 - Update copyright years.
- update to version 281:
 - Don't try and test with systemd-ukify within Debian stable.
 - Add support for UKI files.
- update to version 280:
 - Drop Depends on deprecated python3-pkg-resources. (Closes: #1083362)
- update to version 279:
 - Drop removal of calculated basename from readelf output.
   (Closes: reproducible-builds/diffoscope#394)
- update to version 278:
 - Temporarily remove procyon-decompiler from Build-Depends as it was removed
   from testing (#1057532). (Closes: #1082636)
 - Add a helpful contextual message to the output if comparing Debian .orig
   tarballs within .dsc files without the ability to "fuzzy-match" away the
   leading directory. (Closes: reproducible-builds/diffoscope#386)
 - Correctly invert "X% similar" value and do not emit "100% similar".
   (Closes: reproducible-builds/diffoscope#391)
 - Update copyright years.
- update to version 277:
 - Don't crash when attempting to hashing symlinks with targets that point to
   a directory.
- update to version 276:
 - Also catch RuntimeError when importing PyPDF so that PyPDF or, crucially,
   its transitive dependencies do not cause diffoscope to traceback at runtime
   and build time. (Closes: #1078944, reproducible-builds/diffoscope#389)
 - Factor out a method for stripping ANSI escapes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=98
2024-12-02 21:12:36 +00:00
d0fd355f77 Accepting request 1186403 from devel:languages:python
- update to 272:
  * Move away from using DSA OpenSSH keys in tests; support has
    been removed in OpenSSH 9.8p1.
  * Move to assert_diff helper in test_openssh_pub_key.py
  * Update tests to support zipdetails version 4.004 shipped with
    Perl 5.40.
  * Drop apktool from Build-Depends; we can still test our APK
    code via autopkgtests. (Closes: #1071410)
  * Fix tests for 7zip version 24.05.
  * Add a versioned dependency for at least version 5.4.5 for the
    xz tests; they fail under (at least xz 5.2.8).
  * Relax Chris' versioned xz test dependency (5.4.5) to also
    allow version 5.4.1.
  * Include "xz --verbose --verbose" (ie. double --verbose)
    output, not just the single --verbose. (Closes: #1069329)
  * Only include "xz --list" output if the xz has no other
    differences.
  * Use "xz --list" to supplement the output when comparing .xz
    archives; essential when some underlying metadata differs.
  * Actually append the xz --list after the container
    differences, as it simplifies tests and the output.
  * Maintain an in-header boolean state to determine whether to
    drop from-file/to-file lines. This fixes an issue where HTML
    differences were being inadvertendly neglected.

OBS-URL: https://build.opensuse.org/request/show/1186403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=46
2024-07-09 18:06:08 +00:00
830b1cda53 - update to 272:
* Move away from using DSA OpenSSH keys in tests; support has
    been removed in OpenSSH 9.8p1.
  * Move to assert_diff helper in test_openssh_pub_key.py
  * Update tests to support zipdetails version 4.004 shipped with
    Perl 5.40.
  * Drop apktool from Build-Depends; we can still test our APK
    code via autopkgtests. (Closes: #1071410)
  * Fix tests for 7zip version 24.05.
  * Add a versioned dependency for at least version 5.4.5 for the
    xz tests; they fail under (at least xz 5.2.8).
  * Relax Chris' versioned xz test dependency (5.4.5) to also
    allow version 5.4.1.
  * Include "xz --verbose --verbose" (ie. double --verbose)
    output, not just the single --verbose. (Closes: #1069329)
  * Only include "xz --list" output if the xz has no other
    differences.
  * Use "xz --list" to supplement the output when comparing .xz
    archives; essential when some underlying metadata differs.
  * Actually append the xz --list after the container
    differences, as it simplifies tests and the output.
  * Maintain an in-header boolean state to determine whether to
    drop from-file/to-file lines. This fixes an issue where HTML
    differences were being inadvertendly neglected.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=96
2024-07-09 13:23:11 +00:00
515014b229 Accepting request 1169826 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1169826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=45
2024-04-23 16:57:07 +00:00
9c87fade4e Accepting request 1169750 from home:smolsheep:upgrades
- Update to 265:
  * Ensure that tests with ">=" version constraints actually print
    the corresponding tool name.
    (Closes: reproducible-builds/diffoscope#370)
  * Prevent odt2txt tests from always being skipped due to an
    impossibly new version requirement.
    (Closes: reproducible-builds/diffoscope#369)
  * Avoid nested parens-in-parens when printing "skipping…"
    messages in the testsuite.
- Update to 264:
  * Don't crash on invalid zipfiles, even if we encounter 'badness'
    halfway through the file. (Re: #1068705)
  * Add note when there are duplicate entries in ZIP files.
    (Closes: reproducible-builds/diffoscope!140)
  * Add an external tool reference for GNU Guix for zipdetails.
- Update to 263:
  * Add support for the zipdetails(1) tool included in the Perl
    distribution.
  * Don't use parenthesis within test "skipping…" messages; PyTest
    adds its own parenthesis, so we were ending up with double
    nested parens.
  * Fix the .epub tests after supporting zipdetails(1).
  * Update copyright years and debian/tests/control.
  * Fix MozillaZipContainer's monkeypatch after Python's zipfile
    module changed to detect potentially insecure overlapping
    entries within .zip files.
    (Closes: reproducible-builds/diffoscope#362)
- Update to 262:
  * Factor out Python version checking in test_zip.py. (Re: #362)
  * Also skip some zip tests under 3.10.14 as well; a potential
    regression may have been backported to the 3.10.x series. The
    underlying cause is still to be investigated. (Re: #362)

OBS-URL: https://build.opensuse.org/request/show/1169750
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=94
2024-04-23 07:46:36 +00:00
6d6934ba7a Accepting request 1161156 from devel:languages:python
- update to 261 (bsc#1220157, CVE-2024-25711):
  * Don't crash if we encounter an .rdb file without an
    equivalent .rdx file.
  * Actually test 7z support in the test_7z set of tests, not the
    lz4 functionality.
  * In addition, correctly check for the 7z binary being
    available (and not lz4) when testing 7z.
  * Prevent a traceback when comparing a contentful .pyc file
    with an empty one. (Re: Debian:#1064973)
  * Don't error-out with a traceback if we encounter
    "struct.unpack"-related errors when parsing .pyc files.
  * Fix compatibility with PyTest 8.0.
  * Don't try and compare rdb_expected_diff on non-GNU systems as
    %p formatting can vary.
  * Use the 7zip package (over p7zip-full) after package
    transition.
  * Parse the header and hunksize of diffs strictly before
    parsing the context below.
  * Reformat code to comply with the latest version of Black
    (24.1.1).
  * Expand the previous changelog entry to include the CVE number
    that was subsequently assigned.
  * Bump the miniumum Black requirement to run the "Black clean"
    test and make test_zip.py Black clean.
  * CVE-2024-25711: Use a determistic name when extracting
    content from GPG artifacts instead of trusting the value of
    gpg's --use- embedded-filenames.
  * Temporarily fix support for Python 3.11.8 re. a potential
    regression with the handling of ZIP files.
  * Add/fix compatibility for Python progressbar 2.5 & 3.0 etc.

OBS-URL: https://build.opensuse.org/request/show/1161156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=44
2024-03-25 20:10:48 +00:00
d44359c5c5 - update to 261 (bsc#1220157, CVE-2024-25711):
* Don't crash if we encounter an .rdb file without an
    equivalent .rdx file.
  * Actually test 7z support in the test_7z set of tests, not the
    lz4 functionality.
  * In addition, correctly check for the 7z binary being
    available (and not lz4) when testing 7z.
  * Prevent a traceback when comparing a contentful .pyc file
    with an empty one. (Re: Debian:#1064973)
  * Don't error-out with a traceback if we encounter
    "struct.unpack"-related errors when parsing .pyc files.
  * Fix compatibility with PyTest 8.0.
  * Don't try and compare rdb_expected_diff on non-GNU systems as
    %p formatting can vary.
  * Use the 7zip package (over p7zip-full) after package
    transition.
  * Parse the header and hunksize of diffs strictly before
    parsing the context below.
  * Reformat code to comply with the latest version of Black
    (24.1.1).
  * Expand the previous changelog entry to include the CVE number
    that was subsequently assigned.
  * Bump the miniumum Black requirement to run the "Black clean"
    test and make test_zip.py Black clean.
  * CVE-2024-25711: Use a determistic name when extracting
    content from GPG artifacts instead of trusting the value of
    gpg's --use- embedded-filenames.
  * Temporarily fix support for Python 3.11.8 re. a potential
    regression with the handling of ZIP files.
  * Add/fix compatibility for Python progressbar 2.5 & 3.0 etc.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=92
2024-03-24 18:02:10 +00:00
ec64bdea92 Accepting request 1121673 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1121673
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=43
2023-11-01 21:10:59 +00:00
0cbe25b2b0 Accepting request 1121667 from home:amanzini:branches:devel:languages:python
- removed patch fix-file-5.45.patch as included in upstream
- Update to version 251:
  * If the equivalent of `file -i` returns text/plain, fallback to comparing
    this file as a text file. This especially helps when file(1) miscategorises
    text files as some esoteric type. 
- Update to version 250:
  * Fix compatibility with file 5.45. 
  * Add external tool references for GNU Guix (for html2text and ttx).
- Update to version 249:
  * Add specialize_as() method, and use it to speed up .smali comparison in APKs.
  * Add documentation for the new specialize_as, and expand the documentation
    of `specialize` too. 
  * Correct typos in diffoscope/presenters/utils.py.
- Update to version 246:
  * Add support for LLVM 16.
- Update to version 244:
  * Address compatibility with python-libarchive-c version 5.
  * Testsuite changes
- Update to version 243:
  * Improve the documentation on to produce that binary blob that in the arsc comparator.

OBS-URL: https://build.opensuse.org/request/show/1121667
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=90
2023-11-01 18:28:42 +00:00
7b66a6221b Accepting request 1102459 from devel:languages:python
- Add fix-file-5.45.patch to fix compatibility with file version 5.45
  https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/346
- update to version 242:
 - If the binwalk Python module is not available, ensure the user knows they
   may be missing more differences in, for example, concatenated .cpio
   archives.
 - Factor out routine to generate a human-readable comments when
   Python modules are missing.

OBS-URL: https://build.opensuse.org/request/show/1102459
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=42
2023-08-06 14:29:33 +00:00
454222425a - Add fix-file-5.45.patch to fix compatibility with file version 5.45
https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/346
- update to version 242:
 - If the binwalk Python module is not available, ensure the user knows they
   may be missing more differences in, for example, concatenated .cpio
   archives.
 - Factor out routine to generate a human-readable comments when
   Python modules are missing.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=88
2023-08-05 08:02:12 +00:00
ad8308e674 Accepting request 1084473 from devel:languages:python
- update to 241:
  * Add a missing 'raise' statement
  * document sending out an email upon release
  * Drop the use of include_package_data=True in setup.py.
  * Fix compatibility with pypdf 3.x, and correctly restore test
    data.
  * Rework PDF annotations processing into a separate method.

OBS-URL: https://build.opensuse.org/request/show/1084473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=41
2023-05-04 15:10:48 +00:00
1e37df27e6 - update to 241:
* Add a missing 'raise' statement
  * document sending out an email upon release
  * Drop the use of include_package_data=True in setup.py.
  * Fix compatibility with pypdf 3.x, and correctly restore test
    data.
  * Rework PDF annotations processing into a separate method.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=86
2023-05-03 19:27:16 +00:00
21acf8692b Accepting request 1069107 from devel:languages:python
- update to 238:
  * autopkgtest: fix tool name in the skippable list.
  * autopkgtest: only install aapt and dexdump on architectures
    where they are available.
  * Drop backward compatibility assignment.
  * Fix flake warnings, potentially reinstating PyPDF 1.x
    support (untested).
  * Update code to match latest version of Black.
  * Require at least Black version 23.1.0 to run the internal
    Black tests.
  * Update copyright years.
  * Fix compatibility with PyPDF2.
  * Fix compatibility with ImageMagick 7.1.
  * Update from PyPDF2 to pypdf.
  * Add support for Android resources.arsc files.
  * Add support for dexdump.
  * Improve DexFile's FILE_TYPE_RE and add
    FILE_TYPE_HEADER_PREFIX, and remove
    "Dalvik dex file" from ApkFile's FILE_TYPE_RE as well.
  * Update external tool for isoinfo on guix.

OBS-URL: https://build.opensuse.org/request/show/1069107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=40
2023-03-03 21:28:24 +00:00
b044b3a135 - update to 238:
* autopkgtest: fix tool name in the skippable list.
  * autopkgtest: only install aapt and dexdump on architectures
    where they are available.
  * Drop backward compatibility assignment.
  * Fix flake warnings, potentially reinstating PyPDF 1.x
    support (untested).
  * Update code to match latest version of Black.
  * Require at least Black version 23.1.0 to run the internal
    Black tests.
  * Update copyright years.
  * Fix compatibility with PyPDF2.
  * Fix compatibility with ImageMagick 7.1.
  * Update from PyPDF2 to pypdf.
  * Add support for Android resources.arsc files.
  * Add support for dexdump.
  * Improve DexFile's FILE_TYPE_RE and add
    FILE_TYPE_HEADER_PREFIX, and remove
    "Dalvik dex file" from ApkFile's FILE_TYPE_RE as well.
  * Update external tool for isoinfo on guix.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=84
2023-03-03 08:55:30 +00:00
abddb5c3e7 Accepting request 1060127 from devel:languages:python
- update to 233:
  * Split packaging metadata into an extras_require.json file instead of using
    the pep517 and the pip modules directly. This was causing build failures if
    not using a virtualenv and/or building without internet access.
  * Add an external tool reference for GNU Guix (lzip).
  * Drop an external tool reference for GNU Guix (pedump).
  * Split inline Python code in shell script to generate test dependencies to a
    separate Python script.
  * No need for "from __future__ import print_function" import in setup.py
    anymore.
  * Comment and tidy the new extras_require.json handling.

OBS-URL: https://build.opensuse.org/request/show/1060127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=39
2023-01-21 18:12:29 +00:00
6407643015 - update to 233:
* Split packaging metadata into an extras_require.json file instead of using
    the pep517 and the pip modules directly. This was causing build failures if
    not using a virtualenv and/or building without internet access.
  * Add an external tool reference for GNU Guix (lzip).
  * Drop an external tool reference for GNU Guix (pedump).
  * Split inline Python code in shell script to generate test dependencies to a
    separate Python script.
  * No need for "from __future__ import print_function" import in setup.py
    anymore.
  * Comment and tidy the new extras_require.json handling.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=82
2023-01-21 11:18:59 +00:00
f11302e938 Accepting request 1059331 from devel:languages:python
- Update to version 232:
  * Allow ICC tests to (temporarily) fail.
  * Update debian/tests/control after the addition of PyPDF 3 support.
  * Update regular expression for Android .APK files.
  * Support PyPDF version 3.
- 231:
  * Improve "[X] may produce better output" messages. Based on a patch by
    Helmut Grohne. (Closes: #1026982)
- 230:
  * Fix compatibility with file(1) version 5.43; thanks, Christoph Biedl.
  * Support Berkeley DB version 6.
- 229:
  * Skip test_html.py::test_diff if html2text is not installed.
    (Closes: #1026034)
  * Bump standards version to 4.6.2, no changes needed.
- 228:
  * As an optimisation, don't run apktool if no differences are detected before
    the signing block. (Closes: reproducible-builds/diffoscope!105)
  * Support both the python3-progressbar and python3-progressbar2 Debian
    packages, two modules providing the "progressbar" Python module.
    (Closes: reproducible-builds/diffoscope#323)
  * Ensure we recommend apksigcopier. (Re: reproducible-builds/diffoscope!105)
  * Make the code clearer around generating the Debian substvars and tidy
    generation of os_list.
  * Update copyright years.
- 227:
  * Don't attempt to attach text-only differences notice if there are no
    differences to begin with. (Closes: #1024171, #1024349)
  * Don't run Python decompiling tests on Python bytecode that both file(1)
    cannot yet detect and Python 3.11 cannot demarshall. (Closes: #1024335)
- 226:
  * Add an lzip comparator with tests.
  * Add support for comparing the "text" content of HTML files using html2text.
    (Closes: #1022209, reproducible-builds/diffoscope#318)
  * Misc/test improvements:
    * Drop the ALLOWED_TEST_FILES test; it's mostly just annoying.
    * Drop other copyright notices from lzip.py and test_lzip.py.
    * Use assert_diff helper in test_lzip.py.
    * Pylint tests/test_source.py.
  * Add lzip to debian dependencies.
- 225:
  * Add support for detecting ordering-only differences in XML files.
    (Closes: #1022146)
  * Fix an issue with detecting ordering differences. (Closes: #1022145)
  * Add support for ttx(1) from fonttools.
    (Re: reproducible-builds/diffoscope#315)
  * Test improvements:
    - Tidy up the JSON tests and use assert_diff over get_data and manual
      assert in XML tests.
    - Rename order1.diff to json_expected_ordering_diff for consistency.
    - Temporarily allow the stable-po pipeline to fail in the CI.
  * Use consistently capitalised "Ordering" everywhere we use the word in
    diffoscope's output.
- 224:
  * Fix rlib test failure with LLVM 15. Thanks to Gianfranco Costamagna
    (locutusofborg) for the patch.
- 223:
  * The cbfstools utility is now provided in Debian via the coreboot-utils
    Debian package, so we can enable that functionality within Debian.
    (Closes: #1020630)
  * Also include coreboot-utils in Build-Depends and Test-Depends so it is
    available for the tests.
  * Add support for file 5.43.
- 222:
  * Use pep517 and pip to load the requirements. (Closes: #1020091)
  * Remove old Breaks/Replaces in debian/control that have been obsoleted since
    bullseye

OBS-URL: https://build.opensuse.org/request/show/1059331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=38
2023-01-18 13:23:15 +00:00
4ae12d023e - Update to version 232:
* Allow ICC tests to (temporarily) fail.
  * Update debian/tests/control after the addition of PyPDF 3 support.
  * Update regular expression for Android .APK files.
  * Support PyPDF version 3.
- 231:
  * Improve "[X] may produce better output" messages. Based on a patch by
    Helmut Grohne. (Closes: #1026982)
- 230:
  * Fix compatibility with file(1) version 5.43; thanks, Christoph Biedl.
  * Support Berkeley DB version 6.
- 229:
  * Skip test_html.py::test_diff if html2text is not installed.
    (Closes: #1026034)
  * Bump standards version to 4.6.2, no changes needed.
- 228:
  * As an optimisation, don't run apktool if no differences are detected before
    the signing block. (Closes: reproducible-builds/diffoscope!105)
  * Support both the python3-progressbar and python3-progressbar2 Debian
    packages, two modules providing the "progressbar" Python module.
    (Closes: reproducible-builds/diffoscope#323)
  * Ensure we recommend apksigcopier. (Re: reproducible-builds/diffoscope!105)
  * Make the code clearer around generating the Debian substvars and tidy
    generation of os_list.
  * Update copyright years.
- 227:
  * Don't attempt to attach text-only differences notice if there are no
    differences to begin with. (Closes: #1024171, #1024349)
  * Don't run Python decompiling tests on Python bytecode that both file(1)
    cannot yet detect and Python 3.11 cannot demarshall. (Closes: #1024335)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=80
2023-01-18 10:18:13 +00:00
8045f5d007 Accepting request 1005453 from devel:languages:python
- update to version 221:
 - Don't crash if we can open a PDF file with PyPDF but cannot parse the
   annotations within. (Closes: reproducible-builds/diffoscope#311)
 - Depend on the dedicated xxd package, not vim-common.
 - Update external_tools.py to reflect xxd/vim-common change.
- Remove test_python.test_diff because it's failing, it's not recognizing the
  pyc file type with the tests fixtures
https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/284#note_280561

OBS-URL: https://build.opensuse.org/request/show/1005453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=37
2022-09-23 12:15:08 +00:00
a16fabff71 - update to version 221:
- Don't crash if we can open a PDF file with PyPDF but cannot parse the
   annotations within. (Closes: reproducible-builds/diffoscope#311)
 - Depend on the dedicated xxd package, not vim-common.
 - Update external_tools.py to reflect xxd/vim-common change.
- Remove test_python.test_diff because it's failing, it's not recognizing the
  pyc file type with the tests fixtures
https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/284#note_280561

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=78
2022-09-22 17:04:54 +00:00
1eb223a427 Accepting request 998322 from devel:languages:python
- update to version 220:
 - Support Haskell 9.x series files and update the test files to match. Thanks
   to Scott Talbert for the relevant info about the new format.
   (Closes: reproducible-builds/diffoscope#309)
 - Fix a regression introduced in diffoscope version 207 where diffoscope
   would crash if one directory contained a directory that wasn't in the
   other. Thanks to Alderico Gallo for the report and the testcase.
   (Closes: reproducible-builds/diffoscope#310)
- update to version 219:
 - Don't traceback if we encounter an invalid Unicode character in Haskell
   versioning headers. (Closes: reproducible-builds/diffoscope#307)
 - Update various copyright years.
- update to version 218:
 - Improve output of Markdown and reStructuredText to use code blocks with
   syntax highlighting. (Closes: reproducible-builds/diffoscope#306)
- update to version 217:
 - Update test fixtures for GNU readelf 2.38 (now in Debian unstable).
 - Be more specific about the minimum required version of readelf (ie.
   binutils) as it appears that this "patch" level version change resulted in
   a change of output, not the "minor" version. (Closes: #1013348)
 - Don't leak the (likely-temporary) pathname when comparing PDF documents.

OBS-URL: https://build.opensuse.org/request/show/998322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=36
2022-08-20 18:29:15 +00:00
c34fd799d8 - update to version 220:
- Support Haskell 9.x series files and update the test files to match. Thanks
   to Scott Talbert for the relevant info about the new format.
   (Closes: reproducible-builds/diffoscope#309)
 - Fix a regression introduced in diffoscope version 207 where diffoscope
   would crash if one directory contained a directory that wasn't in the
   other. Thanks to Alderico Gallo for the report and the testcase.
   (Closes: reproducible-builds/diffoscope#310)
- update to version 219:
 - Don't traceback if we encounter an invalid Unicode character in Haskell
   versioning headers. (Closes: reproducible-builds/diffoscope#307)
 - Update various copyright years.
- update to version 218:
 - Improve output of Markdown and reStructuredText to use code blocks with
   syntax highlighting. (Closes: reproducible-builds/diffoscope#306)
- update to version 217:
 - Update test fixtures for GNU readelf 2.38 (now in Debian unstable).
 - Be more specific about the minimum required version of readelf (ie.
   binutils) as it appears that this "patch" level version change resulted in
   a change of output, not the "minor" version. (Closes: #1013348)
 - Don't leak the (likely-temporary) pathname when comparing PDF documents.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=76
2022-08-17 07:17:10 +00:00
5a82f99809 Accepting request 985550 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/985550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=35
2022-06-28 13:22:59 +00:00
d937568a7a - update to version 216:
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=74
2022-06-21 09:10:02 +00:00
f176424fb9 - update to version 216:
- Print profile output if we were called with --profile and we receive a
   TERM signal.
 - Emit a warning if/when we are handling a TERM signal.
 - Clarify in the code in what situations the main "finally" block gets
   called, especially in relation to handling TERM signals.
 - Clarify and tidy some unconditional control flow in diffoscope.profiling.
- update to version 215:
 - Bug fixes:
   - Also catch IndexError (in addition to ValueError) when parsing .pyc
     files. (Closes: #1012258)
   - Strip "sticky" etc. from "x.deb: sticky Debian binary package […]".
     Thanks to David Prévot for the report. (Closes: #1011635)
   - Correctly package diffoscope's scripts/ directory, fixing the extraction
     of vmlinuz kernel images. (Closes: reproducible-builds/diffoscope#305)
   - Correct the logic for supporting different versions of argcomplete in
     debian/rules.
 - New features:
   - Support both PyPDF 1.x and 2.x.
 - Codebase improvements:
   - Don't call re.compile and then call .sub on the result; just call
     re.sub directly.
   - Clarify the logic around the difference between --usage and --help.
 - Testsuite improvements:
   - Integrate test coverage with GitLab's concept of artifacts.
   - Re-enable Gnumeric tests as its now available again.
   - Test --help and --usage, and additionally test that --help includes
     the programmatically-generated file format list as well.
 - Bump Standards Version field in debian/control to 4.6.1.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=73
2022-06-21 09:09:20 +00:00
dce3d5bcb2 Accepting request 980580 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/980580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=34
2022-06-03 12:16:55 +00:00
6d1c45aed1 changelog fixes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=71
2022-05-27 06:44:55 +00:00
5f83134c24 - update to version 214:
- Support both python-argcomplete 1.x and 2.x.
 - Add external tool on GNU Guix for xb-tool.
- update to version 213:
 - Don't mask differences in .zip/.jar central directory extra fields.
 - Don't show a binary comparison of .zip/.jar files if we have at least
   one observed nested difference.
 - Use assert_diff in test_zip over get_data and separate assert.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=70
2022-05-27 06:33:04 +00:00
9e4efcfc0a - update to version 213:
- Don't mask differences in .zip/.jar central directory extra fields.
 - Don't show a binary comparison of .zip/.jar files if we have at least
   one observed nested difference.
 - Use assert_diff in test_zip over get_data and separate assert.
- update to version 212:
 - Add support for extracting vmlinuz/vmlinux Linux kernel images.
   (Closes: reproducible-builds/diffoscope#304)
 - Some Python .pyc files report as "data", so support ".pyc" as a
   fallback extension.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=69
2022-05-22 10:16:11 +00:00
71363aa747 Accepting request 975664 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/975664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=33
2022-05-09 16:43:52 +00:00
1cbfa487a0 Accepting request 975573 from home:susnux:branches:devel:languages:python
Update to version 211

OBS-URL: https://build.opensuse.org/request/show/975573
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=67
2022-05-09 04:06:20 +00:00
4b3b9f9bf6 Accepting request 972927 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/972927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=32
2022-04-26 18:16:13 +00:00
79ee41ebf9 - update to version 210:
- Make sure that PATH is properly mangled for all diffoscope actions, not
   just when running comparators.
- update to version 209:
 - Update R test fixture for R 4.2.x series. (Closes: #1008446)
 - Update minimum version of Black to prevent test failure on Ubuntu jammy.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=65
2022-04-19 14:29:49 +00:00
5c6fcb72da Accepting request 967911 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/967911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=31
2022-04-08 20:46:31 +00:00
af9214b870 - update to version 209:
- Update R test fixture for R 4.2.x series. (Closes: #1008446)
 - Update minimum version of Black to prevent test failure on Ubuntu jammy.
- update to version 208:
 - Add graceful handling for UNIX sockets and named pipes.
   (Closes: reproducible-builds/diffoscope#292)
 - Remove a superfluous log message and reformatt comment lines.
 - Reformat various files to satisfy current version of Black.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=63
2022-04-01 19:18:35 +00:00
cc852ecd98 - update to version 208:
- Add graceful handling for UNIX sockets and named pipes.
   (Closes: reproducible-builds/diffoscope#292)
 - Remove a superfluous log message and reformatt comment lines.
 - Reformat various files to satisfy current version of Black.
- update to version 207:
 - Fix a gnarly regression when comparing directories against non-directories.
   (Closes: reproducible-builds/diffoscope#292)
 - Use our assert_diff utility where we can within test_directory.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=62
2022-03-25 21:21:59 +00:00
362c7eb7e3 Accepting request 961132 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/961132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=30
2022-03-12 16:15:21 +00:00
81c2bbf13b - update to version 207:
- Fix a gnarly regression when comparing directories against non-directories.
   (Closes: reproducible-builds/diffoscope#292)
 - Use our assert_diff utility where we can within test_directory.py
- update to version 206:
 - Also allow "Unicode text, UTF-8 text" as well as "UTF-8 Unicode text" to
   match for .buildinfo files too.
 - Add a test for recent file(1) issue regarding .changes files.
   (Re: reproducible-builds/diffoscope#291)
 - Drop "_PATH" suffix from some module-level globals that are not paths.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=60
2022-03-04 18:59:50 +00:00
08ecf0e88f - update to version 206:
- Also allow "Unicode text, UTF-8 text" as well as "UTF-8 Unicode text" to
   match for .buildinfo files too.
 - Add a test for recent file(1) issue regarding .changes files.
   (Re: reproducible-builds/diffoscope#291)
 - Drop "_PATH" suffix from some module-level globals that are not paths.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=59
2022-02-25 20:08:59 +00:00