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 @ https://github.com/sbidoul/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
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
File details
Details for the file pip_wheel_diff-0.9.tar.gz
.
File metadata
- Download URL: pip_wheel_diff-0.9.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0745757b5b04f549f32be54659098951f8d39329843bd81a613679fb17a469c6 |
|
MD5 | 737869425e1a0ba4d641b2f405e83703 |
|
BLAKE2b-256 | 24dcc96369ca4eca84865c984d82a3b9449d4d752492b05e89156099f0da9e98 |
File details
Details for the file pip_wheel_diff-0.9-py3-none-any.whl
.
File metadata
- Download URL: pip_wheel_diff-0.9-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cae8ec4e85f8e90a04af0f15e49c130d58ab44d18a9d495a751bf0f5fb24b57 |
|
MD5 | 6a3eec2a556fec437472fe2bc98c230d |
|
BLAKE2b-256 | e00363063f0e8ea8f1d6cdd559e09e9ac5e46557fcd07dcd1d8fca811bbd47e1 |