Skip to main content

Diff two Python wheels

Project description

wheeldiff

Find differences between two Python wheels.

PyPI

Overview

wheeldiff is a command-line tool to show differences between two Python wheels.

wheeldiff exits with an exit code of 1 if any differences were found, or 0 if no differences were found.

Some types of difference can be ignored via the following options:

  • --ignore version: ignore differences in version number
  • --ignore record: ignore differences in dist-info RECORD file (checksums of wheel content)

Examples

Finding various differences:

$ wheeldiff rpmdyn-2023.5.7-py3-none-any.whl rpmdyn-2023.5.7.3-py3-none-any.whl; $?
--- rpmdyn-2023.5.7-py3-none-any.whl/rpmdyn-$VERSION/rpmdyn/__init__.py
+++ rpmdyn-2023.5.7.3-py3-none-any.whl/rpmdyn-$VERSION/rpmdyn/__init__.py
@@ -1 +1 @@
-__version__ = '2023.5.7'  # generated by buildsys-dateversion
+__version__ = '2023.5.7.3'  # generated by buildsys-dateversion
--- rpmdyn-2023.5.7-py3-none-any.whl/rpmdyn-$VERSION/rpmdyn-$VERSION.dist-info/METADATA
+++ rpmdyn-2023.5.7.3-py3-none-any.whl/rpmdyn-$VERSION/rpmdyn-$VERSION.dist-info/METADATA
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: rpmdyn
-Version: 2023.5.7
+Version: 2023.5.7.3
 Summary: Alternative dynamic RPM bindings for Python
 Author-email: Rohan McGovern <rohan@mcgovern.id.au>
 Maintainer-email: Rohan McGovern <rohan@mcgovern.id.au>
--- rpmdyn-2023.5.7-py3-none-any.whl/rpmdyn-$VERSION/rpmdyn-$VERSION.dist-info/RECORD
+++ rpmdyn-2023.5.7.3-py3-none-any.whl/rpmdyn-$VERSION/rpmdyn-$VERSION.dist-info/RECORD
@@ -1,5 +1,5 @@
 rpmdyn.pth,sha256=wXLoNTnlvRUqLcf1828EUQvWW7oeVpjvk8nnKz50dvk,24
-rpmdyn/__init__.py,sha256=TzLtWAxsW-BR7PfWUHCs7VZDzRZs1LLMqiBp7FoCHdA,62
+rpmdyn/__init__.py,sha256=itJUHIwN99xPHGm8aXUcGwJoiSHkT6ZApzwAxVizlbs,64
 rpmdyn/_const.py,sha256=UIJUExCXjAoT3SpWK3UVIheSRsbjzwv7lCNUXxJVGcw,24226
 rpmdyn/_ffi.py,sha256=-7Y_1R6sI9vhM7wc-t05-ImEsKdo_wXmdb3iDFgF27M,3809
 rpmdyn/_keyring.py,sha256=FmlbH3F9-UPqfpqxSKlg715UB7gleSeVjchkR29wprg,157
@@ -7,8 +7,8 @@
 rpmdyn/_rpm.py,sha256=J__OwBn4FdP-nVqdyPiHIx2BtuBNcFVrXbgu1UrpST8,513
 rpmdyn/_transaction.py,sha256=sq_iWJAhkXb5WJ9ryYqHjvN6B-uIihz8iF6L_OCvu5o,3445
 rpmdyn/rpmdyn.pth,sha256=wXLoNTnlvRUqLcf1828EUQvWW7oeVpjvk8nnKz50dvk,24
-rpmdyn-2023.5.7.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
-rpmdyn-2023.5.7.dist-info/METADATA,sha256=VMv3OH7xsu_iJc_4aLpS7U8QpuEvMo2z0T860eUBCCM,43843
-rpmdyn-2023.5.7.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
-rpmdyn-2023.5.7.dist-info/top_level.txt,sha256=juyQtSPbaEJ3AiMzwEI5aX67FyfxqrpJ-mVuZQayvIU,7
-rpmdyn-2023.5.7.dist-info/RECORD,,
+rpmdyn-2023.5.7.3.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
+rpmdyn-2023.5.7.3.dist-info/METADATA,sha256=PHfp8XarCfrc6-wYaUfF_m5pgZp4CoDKSeFcyEn4Yqs,43845
+rpmdyn-2023.5.7.3.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
+rpmdyn-2023.5.7.3.dist-info/top_level.txt,sha256=juyQtSPbaEJ3AiMzwEI5aX67FyfxqrpJ-mVuZQayvIU,7
+rpmdyn-2023.5.7.3.dist-info/RECORD,,
1

Suppressing version number differences:

$ wheeldiff rpmdyn-2023.5.7-py3-none-any.whl rpmdyn-2023.5.7.3-py3-none-any.whl --ignore version; echo $?
--- rpmdyn-2023.5.7-py3-none-any.whl/rpmdyn-$VERSION/rpmdyn-$VERSION.dist-info/RECORD
+++ rpmdyn-2023.5.7.3-py3-none-any.whl/rpmdyn-$VERSION/rpmdyn-$VERSION.dist-info/RECORD
@@ -1,5 +1,5 @@
 rpmdyn.pth,sha256=wXLoNTnlvRUqLcf1828EUQvWW7oeVpjvk8nnKz50dvk,24
-rpmdyn/__init__.py,sha256=TzLtWAxsW-BR7PfWUHCs7VZDzRZs1LLMqiBp7FoCHdA,62
+rpmdyn/__init__.py,sha256=itJUHIwN99xPHGm8aXUcGwJoiSHkT6ZApzwAxVizlbs,64
 rpmdyn/_const.py,sha256=UIJUExCXjAoT3SpWK3UVIheSRsbjzwv7lCNUXxJVGcw,24226
 rpmdyn/_ffi.py,sha256=-7Y_1R6sI9vhM7wc-t05-ImEsKdo_wXmdb3iDFgF27M,3809
 rpmdyn/_keyring.py,sha256=FmlbH3F9-UPqfpqxSKlg715UB7gleSeVjchkR29wprg,157
@@ -8,7 +8,7 @@
 rpmdyn/_transaction.py,sha256=sq_iWJAhkXb5WJ9ryYqHjvN6B-uIihz8iF6L_OCvu5o,3445
 rpmdyn/rpmdyn.pth,sha256=wXLoNTnlvRUqLcf1828EUQvWW7oeVpjvk8nnKz50dvk,24
 rpmdyn-$VERSION.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
-rpmdyn-$VERSION.dist-info/METADATA,sha256=VMv3OH7xsu_iJc_4aLpS7U8QpuEvMo2z0T860eUBCCM,43843
+rpmdyn-$VERSION.dist-info/METADATA,sha256=PHfp8XarCfrc6-wYaUfF_m5pgZp4CoDKSeFcyEn4Yqs,43845
 rpmdyn-$VERSION.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
 rpmdyn-$VERSION.dist-info/top_level.txt,sha256=juyQtSPbaEJ3AiMzwEI5aX67FyfxqrpJ-mVuZQayvIU,7
 rpmdyn-$VERSION.dist-info/RECORD,,
1

Suppressing version and RECORD differences; in this case, there are no remaining differences, so no output is generated and the exit code is 0.

$ wheeldiff rpmdyn-2023.5.7-py3-none-any.whl rpmdyn-2023.5.7.3-py3-none-any.whl --ignore version,record; echo $?
0

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wheeldiff-2023.5.7.7.15.tar.gz (44.0 kB view details)

Uploaded Source

Built Distribution

wheeldiff-2023.5.7.7.15-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file wheeldiff-2023.5.7.7.15.tar.gz.

File metadata

  • Download URL: wheeldiff-2023.5.7.7.15.tar.gz
  • Upload date:
  • Size: 44.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for wheeldiff-2023.5.7.7.15.tar.gz
Algorithm Hash digest
SHA256 e8dd0a015a6c20f3a27a29f089b97457fe4fd7f64ea5342147ffae679946202b
MD5 c2854a3d11c190631c13f066686d0cb9
BLAKE2b-256 d618e2ef162ea7907e74e6a95dde61fa34cfee703ff0e0b85f28830dbe7dfb4b

See more details on using hashes here.

Provenance

File details

Details for the file wheeldiff-2023.5.7.7.15-py3-none-any.whl.

File metadata

File hashes

Hashes for wheeldiff-2023.5.7.7.15-py3-none-any.whl
Algorithm Hash digest
SHA256 6db7fe6a458b6b193b9da44b18947f8f2152cd05b7907c8fc2c24f154274eea8
MD5 307229dbbad9bb2000150be4f2f47632
BLAKE2b-256 4514af57965492408bfb19dc3a2224833ab5e43bb186dd1a0dc562e5570510f0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page