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:
melddiff -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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8db6bdab989b86dd979db72da5417c021231dad27381d42ae5db48671653255
|
|
| MD5 |
b52cc7dcbd17db5149d114402f360efb
|
|
| BLAKE2b-256 |
76951ef35aa88dc71b8dba0631d1ad22879e82d94f1fcbf9eebd3e468560d705
|
File details
Details for the file pip_wheel_diff-0.9.2-py3-none-any.whl.
File metadata
- Download URL: pip_wheel_diff-0.9.2-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4e7f4043714113d72edaa87b8b7e7af7901de400673c5969b8f859c8c523fde
|
|
| MD5 |
96fd9fb0397b6b8524db2dad102673ba
|
|
| BLAKE2b-256 |
1fbc7ed1a80aebb2377cb4b30ca5b2705d9b403fd60e3990007c3ea404a73f6e
|