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
This commit is contained in:
Ana Guerrero 2024-12-23 15:53:38 +00:00 committed by Git OBS Bridge
commit 04ecef9a06
6 changed files with 94 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10574313c7f048ff9af2a67351bc18b6f96f6e61af7750aba19f64b3ccdb2a78
size 3155265

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmaIADgACgkQHpU+J9Qx
HljVSA//Ul9b0grmlcq4lrrCh7LEH7vvKunRd86po031QcWxZDUkzTM8XqHcOG2Y
48AJC+KdTGzzB7xPUDlRO7m7XBBG5AisOL3E9pfF3uzoaMD99INfyPdfJ7Fjo4K6
Q/W7n2kiCzUls9FiwrwXgFlrbsYADPnJnSesjg/d52TA3+pzK1ACaDVvYDbUVSTd
lHO6tzqyyaqqSgepDpP+zzfPgmtf+EwrRDfLxA+IXjggeq7TgpFCPwvoeMo5a3Ee
oXmAHQC+YynDHcY83yuXQ0u2FWs64UP3Gigasa/4gClxx4h2lI4jVBWgKWagu9xT
dOehAl2RRLZT4rgicGiOKjvmnpqu9JMjLrBltPz10MzlgXZFvLZDPI+hB9FD0aBi
e+iGdmqxN75Wvo2utK41wKYKM5B7lZwtQGDBfcnScJezRKXbSz6P2ZIRI9rW1RS3
UqZUrYjrs7RoPHbSy4RGRPINExpFhckDuEFyR10Q0BojGgAdZEqap9v7HwN4hjav
xMhP5OuhsuRfNKbBSvEe+e+PicgvH6Ywkb/ucOBBbGaBAwZ2V76+/5zf8+17eRSP
w5cClu2M8tlLt3MXl/++Qs7y6f2L5NME++7FijE6qr0mF7If+c1HyZPYUzLY4UJO
aiqR5H0365rz6f9fLW2WLrui8cpS+Db/OMPQ6CTw9cjWdjqLdS4=
=EHMm
-----END PGP SIGNATURE-----

3
diffoscope-284.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b7d09205a11c4f737f845422e86946c74997751231cca59ff693ab9883db4f8
size 3149578

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmdS0+IACgkQHpU+J9Qx
HliG8A//cDQykZOlX8VoD+bLS6cPkdEhSdzsez5J1k4VRDGi59U45cT1bmxSueef
jTKVU7j9gPX+YBTrjdz9Wn0Pjs66qrSVIvCsxTuORKaSVFKnEmjs/CHOAKkfD/C4
If2UJelKAgGipQ9NWGigiz0T5xZGhPwEG42mRC1MKpdMOa7Vtgi3S8LDE88r/GYL
YoJgcae/3bNoPpLZytASaIxdKBL4OeMkVCN1KcDP+F8eW5MRSuKIsAIGYT84GpyO
QwjmwsWStIo5DByCtQ5JQUYtSXJ/I/+cxOLrZFW0RwRSd1XGZVraGbOlTlTyTAkJ
s16HQVxkwjEFz8RivkV6Byx/UKabJqIX0kmsAQh5P1xQ9U9w6Lm1C85nqKpdwsyO
tifajTvoM/mLdnvGaEKR8wnn/J8Whwi42ElsLYPZt/YRw9rCqc2+bvI68Fuokdqp
rYkraO3FszMyO2MW9mPj2ce8m6BZnyrJNk2qQvjXDjJ9UUm5m7JK4BCXwhcSgs9j
g7pmNzL3Q8F72ajhZycLQgf9BBVkqS8CdnEy47jPZ9ymioyVQOsolpgYVGrRUYFR
eTD+WHwLhmZsfj59Z+rqhF+dxQcuz9vLfS0fWQ4xHf0wZXsH5aVP4Zv+1/guAzQ8
q1KSCsawTGkeUjvKGGeangp1gMa3Iwoqy4aDMbXm8LNXWM8mSgw=
=VlZW
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,76 @@
-------------------------------------------------------------------
Sun Dec 22 20:29:42 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
- 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
-------------------------------------------------------------------
Mon Dec 2 21:08:30 UTC 2024 - Sebastian Wagner <sebix@sebix.at>
- 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.
-------------------------------------------------------------------
Tue Jul 9 13:21:55 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -17,7 +17,7 @@
Name: diffoscope
Version: 272
Version: 284
Release: 0
Summary: In-depth comparison of files, archives, and directories
License: GPL-3.0-or-later
@ -37,7 +37,6 @@ 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
@ -135,8 +134,7 @@ fi
%check
# test_identification https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/98
# comparators/test_python/test_diff https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/284#note_280561
py.test-%{python3_bin_suffix} -k 'not ((test_python and test_diff) or test_identification)'
py.test-%{python3_bin_suffix} -k 'not (test_python or test_identification or test_obj_identification)'
%files
%doc README.rst