Download or build two wheels and launch a diff tool to compare them
Project description
pip-wheel-diff
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
.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pip_wheel_diff-0.9.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4e7f4043714113d72edaa87b8b7e7af7901de400673c5969b8f859c8c523fde |
|
MD5 | 96fd9fb0397b6b8524db2dad102673ba |
|
BLAKE2b-256 | 1fbc7ed1a80aebb2377cb4b30ca5b2705d9b403fd60e3990007c3ea404a73f6e |