Overview
...chews through your system dependencies, spitting out incompatible versions.
When onboarding new team members, ensuring their computer has everything needed to work on the project can be painful. Verchew is a command-line program and embeddable Python script to check the versions of your project's system dependencies. Its only external dependency is any Python interpreter, which should already be installed on macOS and most Linux-based operating systems.
Setup
Requirements
- Python 2.7+ or Python 3.3+
Installation
Install verchew globally with pipx (or pip):
$ pipx install verchew
or add it to your Poetry project:
$ poetry add verchew
or embedded the script in your project using this guide.
Usage
Run verchew --init to generate a sample configuration file.
Update this file (verchew.ini) to include your project's system dependencies:
[Working Program]
cli = working-program
version = 1.2
[Newer Working Program]
cli = working-program
version = 4.1 || 4.2
message = Version 4.x is required to get the special features.
[Broken Program]
cli = broken-program
version = 1.2.3
[Optional Missing Program]
cli = missing-program
version = 1.2.3
optional = true
[Missing Program]
cli = missing-program
version = 1.2.3
Run verchew to see if you have the expected versions installed:
$ verchew
Checking for Working Program...
$ working-program --version
1.2.3
✔ MATCHED: 1.2
Checking for Newer Working Program...
$ working-program --version
1.2.3
✘ EXPECTED: 4.1 || 4.2
䷉ MESSAGE: Version 4.x is required to get the special features.
Checking for Broken Program...
$ broken-program --version
An error occurred.
✘ EXPECTED: 1.2.3
Checking for Optional Missing Program...
$ missing-program --version
sh: command not found: missing-program
▴ EXPECTED (OPTIONAL): 1.2.3
Checking for Missing Program...
$ missing-program --version
sh: command not found: missing-program
✘ EXPECTED: 1.2.3
Results: ✔ ✘ ✘ ▴ ✘
Metadata
Release files for verchew 3.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| verchew-3.4.2.tar.gz | 9.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| verchew-3.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.2 kB
Release files / verchew-3.4.2.tar.gz
| Download URL | verchew-3.4.2.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98f3f8e4894528afe316879ac848d1a6c8b47168a3b3de2e44fc2f5b83b29149
|
|
BLAKE2b-256 checksum How to use checksums |
9269543e3a2fb6a8fb4dcc0d18bc34ebd54d789dc844c8f83af0926ba0b8bcf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.11 Darwin/22.6.0
|
Release files / verchew-3.4.2-py3-none-any.whl
| Download URL | verchew-3.4.2-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d000ec54ccc87240feae05cf9e37b29016ca73406b6f39af69114a32773dfb7e
|
|
BLAKE2b-256 checksum How to use checksums |
ab8a697eb1daee017b9313336c4899c897542d8c011cbbfbb1a6e87a8370fd89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.11 Darwin/22.6.0
|