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

It currently uses the uv or pip executable found in path to download or build.

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.2.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

pip_wheel_diff-0.9.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pip_wheel_diff-0.9.2.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for pip_wheel_diff-0.9.2.tar.gz
Algorithm Hash digest
SHA256 a8db6bdab989b86dd979db72da5417c021231dad27381d42ae5db48671653255
MD5 b52cc7dcbd17db5149d114402f360efb
BLAKE2b-256 76951ef35aa88dc71b8dba0631d1ad22879e82d94f1fcbf9eebd3e468560d705

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pip_wheel_diff-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a4e7f4043714113d72edaa87b8b7e7af7901de400673c5969b8f859c8c523fde
MD5 96fd9fb0397b6b8524db2dad102673ba
BLAKE2b-256 1fbc7ed1a80aebb2377cb4b30ca5b2705d9b403fd60e3990007c3ea404a73f6e

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