SHA256
1
0
forked from pool/diffoscope
Commit Graph

93 Commits

Author SHA256 Message Date
Dominique Leuenberger
1b430514a9 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
aa95e51a97 - 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
Dominique Leuenberger
269771d781 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
ec55d39101 - 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
Dominique Leuenberger
51cd9bd259 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
Sebastian Wagner
2fca88f140 - 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
Dominique Leuenberger
facb64ae88 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
Sebastian Wagner
3bde7e97a7 - 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
Sebastian Wagner
6be192d1f9 - 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
Dominique Leuenberger
8094765ded 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
Sebastian Wagner
5089b97c34 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
Sebastian Wagner
421198544c - 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
Sebastian Wagner
c4c49c222d - 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
Dominique Leuenberger
b8fbc1ddf4 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
4ad5d045e1 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
Dominique Leuenberger
b97a8c6f3f 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
Sebastian Wagner
f679d54568 - 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
Dominique Leuenberger
6c35fd3f39 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
Sebastian Wagner
c323af800d - 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
Sebastian Wagner
96905add35 - 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
Dominique Leuenberger
65bc6111ec 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
Sebastian Wagner
30a03eb953 - 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
Sebastian Wagner
ed7b3e98b0 - 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
Dominique Leuenberger
2abf63a841 Accepting request 956421 from devel:languages:python
- update to 205:
  * Fix a file(1)-related regression where .changes files that contained
    non-ASCII text were not identified as being .changes files, resulting in
    seemingly arbitrary packages on tests.reproducible-builds.org and elswhere
    not comparing the package at all. The non-ASCII parts could have been in
    the Maintainer or in the upload changelog, so we were effectively
    penalising anyone outside of the Anglosphere.
    (Closes: reproducible-builds/diffoscope#291)
  * Don't print a warning to the console regarding NT_GNU_BUILD_ID changes in
    ELF binaries.

OBS-URL: https://build.opensuse.org/request/show/956421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=29
2022-02-21 16:46:49 +00:00
e05f6dbb31 - update to 205:
* Fix a file(1)-related regression where .changes files that contained
    non-ASCII text were not identified as being .changes files, resulting in
    seemingly arbitrary packages on tests.reproducible-builds.org and elswhere
    not comparing the package at all. The non-ASCII parts could have been in
    the Maintainer or in the upload changelog, so we were effectively
    penalising anyone outside of the Anglosphere.
    (Closes: reproducible-builds/diffoscope#291)
  * Don't print a warning to the console regarding NT_GNU_BUILD_ID changes in
    ELF binaries.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=58
2022-02-21 11:33:30 +00:00
Dominique Leuenberger
788a8676ff Accepting request 955466 from devel:languages:python
- - update to version 204:
 - Don't run the binwalk comparator tests as root (or fakeroot) as the
   latest version of binwalk has some security protection against doing
   precisely this.
 - If we fail to scan a file using binwalk, return 'False' from
   BinwalkFile.recognizes rather than raise a traceback.
 - If we fail to import the Python "binwalk" module, don't accidentally report
   that we are missing the "rpm" module instead.
 - Use dependencies to ensure that "diffoscope" and "diffoscope-minimal"
   packages always have the precise same version.
- update to version 203:
 - Improve documentation for --timeout due to a few misconceptions.
   Add an allowed-to-fail test regarding a regression in directory handling.
 - Tidy control flow in Difference._reverse_self a little.
 - Fix diffing CBFS names that contain spaces.

OBS-URL: https://build.opensuse.org/request/show/955466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=28
2022-02-16 23:31:15 +00:00
Dominique Leuenberger
a46ea55c3f Accepting request 953798 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/953798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=27
2022-02-11 22:10:19 +00:00
Sebastian Wagner
e7ada2e312 - update to version 204:
- Don't run the binwalk comparator tests as root (or fakeroot) as the
   latest version of binwalk has some security protection against doing
   precisely this.
 - If we fail to scan a file using binwalk, return 'False' from
   BinwalkFile.recognizes rather than raise a traceback.
 - If we fail to import the Python "binwalk" module, don't accidentally report
   that we are missing the "rpm" module instead.
 - Use dependencies to ensure that "diffoscope" and "diffoscope-minimal"
   packages always have the precise same version.
- update to version 203:
 - Improve documentation for --timeout due to a few misconceptions.
   Add an allowed-to-fail test regarding a regression in directory handling.
 - Tidy control flow in Difference._reverse_self a little.
 - Fix diffing CBFS names that contain spaces.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=56
2022-02-11 19:15:15 +00:00
Sebastian Wagner
e96369d01a - update to version 203:
- Improve documentation for --timeout due to a few misconceptions.
   Add an allowed-to-fail test regarding a regression in directory handling.
 - Tidy control flow in Difference._reverse_self a little.
 - Fix diffing CBFS names that contain spaces.
- update to version 202:
 - Don't fail if comparing a nonexistent file with a .pyc file (and add test).
   (Closes: #1004312)
 - Drop a reference in the manual page which claims the ability to compare
   non-existent files on the command-line. This has not been possible since
   version 32 which was released in September 2015. (Closes: #1004182)
 - Add experimental support for incremental output support with a timeout.
   Passing, for example, --timeout=60 will mean that diffoscope will not
   recurse into any sub-archives after 60 seconds total execution time has
   elapsed and mark the diff as being incomplete. (Note that this is not a
   fixed/strict timeout due to implementation issues.)
   (Closes: reproducible-builds/diffoscope#301)
 - Don't return with an exit code of 0 if we encounter device file such as
   /dev/stdin with human-readable metadata that matches literal, non-device,
   file contents. (Closes: #1004198)
 - Correct a "recompile" typo.
 - Fix/update whitespace for Black 21.12.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=55
2022-02-04 16:52:04 +00:00
Sebastian Wagner
eefc8ab939 - update to version 202:
- Don't fail if comparing a nonexistent file with a .pyc file (and add test).
   (Closes: #1004312)
 - Drop a reference in the manual page which claims the ability to compare
   non-existent files on the command-line. This has not been possible since
   version 32 which was released in September 2015. (Closes: #1004182)
 - Add experimental support for incremental output support with a timeout.
   Passing, for example, --timeout=60 will mean that diffoscope will not
   recurse into any sub-archives after 60 seconds total execution time has
   elapsed and mark the diff as being incomplete. (Note that this is not a
   fixed/strict timeout due to implementation issues.)
   (Closes: reproducible-builds/diffoscope#301)
 - Don't return with an exit code of 0 if we encounter device file such as
   /dev/stdin with human-readable metadata that matches literal, non-device,
   file contents. (Closes: #1004198)
 - Correct a "recompile" typo.
 - Fix/update whitespace for Black 21.12.
- update to version 201:
 - If the debian.deb822 module raises any exception on import, re-raise it as
   an ImportError instead. This should fix diffoscope on some Fedora systems.
   Thanks to Mattia Rizzolo for suggesting this particular solution.
   (Closes: reproducible-builds/diffoscope#300)
 - Fix json detection with file-5.41-3.fc36.x86_64.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=54
2022-01-28 16:25:14 +00:00
Dominique Leuenberger
beb7b9aaa2 Accepting request 947908 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/947908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=26
2022-01-22 07:18:16 +00:00
Sebastian Wagner
4b44814386 - update to version 201:
- If the debian.deb822 module raises any exception on import, re-raise it as
   an ImportError instead. This should fix diffoscope on some Fedora systems.
   Thanks to Mattia Rizzolo for suggesting this particular solution.
   (Closes: reproducible-builds/diffoscope#300)
 - Fix json detection with file-5.41-3.fc36.x86_64.
- update to version 200:
 - Even if a Sphinx .inv inventory file is labelled "The remainder of this
   file is compressed using zlib", it might not actually be. In this case,
   don't traceback, and simply return the original content.
   (Closes: reproducible-builds/diffoscope#299)
 - Update "X has been modified after NT_GNU_BUILD_ID has been applied" message
   to, for instance, not duplicating the full filename in the primary
   diffoscope's output.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=52
2022-01-21 16:48:06 +00:00
Sebastian Wagner
3bee24d665 - update to version 200:
- Even if a Sphinx .inv inventory file is labelled "The remainder of this
   file is compressed using zlib", it might not actually be. In this case,
   don't traceback, and simply return the original content.
   (Closes: reproducible-builds/diffoscope#299)
 - Update "X has been modified after NT_GNU_BUILD_ID has been applied" message
   to, for instance, not duplicating the full filename in the primary
   diffoscope's output.
- update to version 199:
 - Support both variants of "odt2txt", including the one provided by unoconv.
   (Closes: reproducible-builds/diffoscope#298)
 - Add external tool reference on Arch Linux for xb-tool.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=51
2022-01-14 09:22:54 +00:00
Sebastian Wagner
dd93674921 - update to version 199:
- Support both variants of "odt2txt", including the one provided by unoconv.
   (Closes: reproducible-builds/diffoscope#298)
 - Add external tool reference on Arch Linux for xb-tool.
- update to version 198:
 - Support showing "Ordering differences only" within .dsc field values.
   (Closes: #1002002, reproducible-builds/diffoscope#297)
 - Support OCaml versions 4.11, 4.12 and 4.13. (Closes: #1002678)
 - Add support for XMLb files. (Closes: reproducible-builds/diffoscope#295)
 - Also add, for example, /usr/lib/x86_64-linux-gnu to our internal PATH.
 - Also recognize "GnuCash file" files as XML.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=50
2022-01-07 09:00:26 +00:00
Sebastian Wagner
5c113aee5b - update to version 198:
- Support showing "Ordering differences only" within .dsc field values.
   (Closes: #1002002, reproducible-builds/diffoscope#297)
 - Support OCaml versions 4.11, 4.12 and 4.13. (Closes: #1002678)
 - Add support for XMLb files. (Closes: reproducible-builds/diffoscope#295)
 - Also add, for example, /usr/lib/x86_64-linux-gnu to our internal PATH.
 - Also recognize "GnuCash file" files as XML.
- update to version 197:
 - Drop unnecessary has_same_content_as logging calls.
 - Ignore the new "binary-with-bad-dynamic-table" Lintian tag.
 - Support pgpdump 0.34 in the tests. Thanks to Michael Weiss
   <dev.primeos@gmail.com> for reporting and testing the fix.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=49
2022-01-03 11:42:32 +00:00
Dominique Leuenberger
dda9164f5c Accepting request 942345 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/942345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=25
2021-12-24 19:23:20 +00:00
Sebastian Wagner
ab5f1dd3cb - update to version 197:
- Drop unnecessary has_same_content_as logging calls.
 - Ignore the new "binary-with-bad-dynamic-table" Lintian tag.
 - Support pgpdump 0.34 in the tests. Thanks to Michael Weiss
   <dev.primeos@gmail.com> for reporting and testing the fix.
- update to version 196:
 - Add a comment/annotation when the GNU_BUILD_ID field has been modified.
 - Fix the "Black" version detection.
 - Replace "token" with anonymous variable "x" in order to remove extra lines.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=48
2021-12-17 12:00:28 +00:00
Dominique Leuenberger
40f8d0dfdd Accepting request 939576 from devel:languages:python
- - update to version 196:
 - Add a comment/annotation when the GNU_BUILD_ID field has been modified.
 - Fix the "Black" version detection.
 - Replace "token" with anonymous variable "x" in order to remove extra lines.
- update to version 195:
 - Don't use the runtime platform's native endianness when unpacking .pyc
   files to fix test failures on big-endian machines.
- - update to version 195:
 - Don't use the runtime platform's native endianness when unpacking .pyc
   files to fix test failures on big-endian machines.

OBS-URL: https://build.opensuse.org/request/show/939576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=24
2021-12-11 23:57:44 +00:00
0d1a450219 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=47 2021-12-11 11:53:46 +00:00
Dominique Leuenberger
8297a26931 Accepting request 935760 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/935760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=23
2021-12-05 21:46:18 +00:00
Sebastian Wagner
07f29b1279 - update to version 195:
- Don't use the runtime platform's native endianness when unpacking .pyc
   files to fix test failures on big-endian machines.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=45
2021-12-05 19:19:36 +00:00
Sebastian Wagner
5ced5d583c remove bogous change line
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=44
2021-11-28 18:09:06 +00:00
Sebastian Wagner
435af95378 - Changed Source URL from stale https://github.com/cslarsen/jp2a to active fork https://github.com/Talinx/jp2a
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=43
2021-11-28 18:00:35 +00:00
Sebastian Wagner
0765c1f8b8 - update to version 194:
- Don't traceback when comparing nested directories with non-directories.
   (Closes: reproducible-builds/diffoscope#288)
- update to version 193:
 - Don't duplicate file lists at each directory level.
   (Closes: #989192, reproducible-builds/diffoscope#263)
 - When pretty-printing JSON, mark the difference as such, additionally
   avoiding including the full path.
   (Closes: reproducible-builds/diffoscope#205)
 - Codebase improvements:
   - Update a bunch of %-style string interpolations into f-strings or
     str.format.
   - Import itertools top-level directly.
   - Drop some unused imports.
   - Use isinstance(...) over type(...) ==
   - Avoid aliasing variables if we aren't going to use them.
 - Fix missing diff output on large diffs.
 - Ignore a Python warning coming from a dependent library (triggered by
   supporting Python 3.10)
 - Document that support both Python 3.9 and 3.10.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=42
2021-11-28 07:32:57 +00:00
Dominique Leuenberger
846faa89f9 Accepting request 934266 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/934266
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=22
2021-11-27 22:42:36 +00:00
Sebastian Wagner
58a6fc84d6 - - update to version 193:
- Don't duplicate file lists at each directory level.
   (Closes: #989192, reproducible-builds/diffoscope#263)
 - When pretty-printing JSON, mark the difference as such, additionally
   avoiding including the full path.
   (Closes: reproducible-builds/diffoscope#205)
 - Codebase improvements:
   - Update a bunch of %-style string interpolations into f-strings or
     str.format.
   - Import itertools top-level directly.
   - Drop some unused imports.
   - Use isinstance(...) over type(...) ==
   - Avoid aliasing variables if we aren't going to use them.
 - Fix missing diff output on large diffs.
 - Ignore a Python warning coming from a dependent library (triggered by
   supporting Python 3.10)
 - Document that support both Python 3.9 and 3.10.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=41
2021-11-20 15:11:19 +00:00
Sebastian Wagner
7128d891ca - update to version 192:
- Update .epub test methodology after improving XML file parsing.
- update to version 191:
 - Detect XML files as XML files if either file(1) claims if they are XML
   files, or if they are named .xml.
   (Closes: #999438, reproducible-builds/diffoscope#287)
 - Don't reject Debian .changes files if they contain non-printable
   characters. (Closes: reproducible-builds/diffoscope#286)
 - Continue loading a .changes file even if the referenced files inside it do
   not exist, but include a comment in the diff as a result.
 - Log the reason if we cannot load a Debian .changes file.
 - Fix inverted logic in the assert_diff_startswith() utility.
- update to version 190:
 - Don't raise a traceback if we cannot de-marshal Python bytecode to support
   Python 3.7 loading newer .pyc files.
   (Closes: reproducible-builds/diffoscope#284)
 - Fix Python tests under Python 3.7 with file 5.39+.
 - Skip Python bytecode testing when "file" is older than 5.39.
 - Detect whether the GNU_BUILD_ID field has been modified.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=40
2021-11-14 21:14:52 +00:00
Dominique Leuenberger
9057adc1ef Accepting request 928848 from devel:languages:python
- update to version 189:
 - Try some alternative suffixes (eg. ".py") to support distributions that
   strip or retain them. (Closes: reproducible-builds/diffoscope#283)
 - Skip Python bytecode testing where we do not have an expected diff.
   (Closes: reproducible-builds/diffoscope#284)
 - Refactor the find_executable utility into an explicit method.
 - Split out a custom call to assert_diff to support a .startswith equivalent.
 - Use skipif instead of manual conditionals in some tests.
 - Add an external tool reference for Guix to support ppudump and dumppdf.
 - Update uImage test output for file(1) version 5.41.
 - Add Arch Linux as CI test target.
 - Add external tools on Arch Linux for ffmpeg, openssl and ocalobjinfo.
- update to version 188:
 - Add support for Python Sphinx inventory files, usually named objects.inv.
 - Fix Python bytecode decompilation tests with Python 3.10+.
   (Closes: reproducible-builds/diffoscope#278)

OBS-URL: https://build.opensuse.org/request/show/928848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/diffoscope?expand=0&rev=21
2021-11-03 16:25:38 +00:00
Sebastian Wagner
42e6bec57f - update to version 189:
- Try some alternative suffixes (eg. ".py") to support distributions that
   strip or retain them. (Closes: reproducible-builds/diffoscope#283)
 - Skip Python bytecode testing where we do not have an expected diff.
   (Closes: reproducible-builds/diffoscope#284)
 - Refactor the find_executable utility into an explicit method.
 - Split out a custom call to assert_diff to support a .startswith equivalent.
 - Use skipif instead of manual conditionals in some tests.
 - Add an external tool reference for Guix to support ppudump and dumppdf.
 - Update uImage test output for file(1) version 5.41.
 - Add Arch Linux as CI test target.
 - Add external tools on Arch Linux for ffmpeg, openssl and ocalobjinfo.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=39
2021-11-02 19:30:09 +00:00
Sebastian Wagner
50ae84a431 - update to version 188:
- Add support for Python Sphinx inventory files, usually named objects.inv.
 - Fix Python bytecode decompilation tests with Python 3.10+.
   (Closes: reproducible-builds/diffoscope#278)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diffoscope?expand=0&rev=38
2021-10-22 09:04:21 +00:00