Skip to main content

Download or build two wheels and launch a diff tool to compare them

Project description

pip-wheel-diff

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pipx install pip-wheel-diff

Usage

Imagine you have to review a pull request with a diff like this in requirements.txt.

A diff in requirements.txt

How do you verify the change is what you expect?

To answer this question, you can run pip-wheel-diff with two pip requirements as arguments. It will download or build the wheels, unzip them, clean them up a little bit for comparability and run a diff tool to compare them.

Example:

pip-wheel-diff \
  "odoo-addon-stock-release-channel @ git+https://github.com/acsone/wms.git@ede1d6f9aa16cae535d650da3191bb6a6d86f793#subdirectory=setup/stock_release_channel" \
  "odoo-addon-stock-release-channel==16.0.2.6.5"

It tries to find a diff tool in the following order:

  • meld
  • diff -r

License

pip-wheel-diff is distributed under the terms of the MIT license.

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

pip_wheel_diff-0.9.1.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

pip_wheel_diff-0.9.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file pip_wheel_diff-0.9.1.tar.gz.

File metadata

  • Download URL: pip_wheel_diff-0.9.1.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for pip_wheel_diff-0.9.1.tar.gz
Algorithm Hash digest
SHA256 2b173b10c08601ebff34bc80fc784694b7b45ebad49a22dff02f20e618a7898e
MD5 6a2c2534eb32733477ddcfc1f60e56ae
BLAKE2b-256 4e2a69583f894c1c93b12ca63217c475bdbbcc93dd0e2c16a2224079832307b1

See more details on using hashes here.

File details

Details for the file pip_wheel_diff-0.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pip_wheel_diff-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16e5138be342517051471b9cce94c31ab8b2c0027f78fa0ddd7d054f1cb54f51
MD5 0100ddffbc1fda7aad83064e7c24eba3
BLAKE2b-256 0be6d9fbe658a231afaaf3a0cd162c89918a07c8f52ff026b43abe64aa4bd03d

See more details on using hashes here.

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