A CLI interface to install 'Requires-External' dependencies using apt or static build from s3
Project description
external_dependencies
external_dependencies : A CLI interface to install external dependencies using apt or static build from s3
Installation
Usage
[DEV] Install the virtual env
uv sync
If not already activated then run uvx pre-commit install
(for more info on it: https://skillcorner.slite.com/app/docs/OFzvpQNh8VBOcQ)
Test
To run tests you can cd into a package directory and run uv run pytest
.
Tests will also be run in the CI/CD.
Versioning and dependencies
Your code should be under the package directory.
If you have set requirements directly in your pyproject.toml
you can run uv sync
.
It will create a virtual environment (.venv/
) with the requirements and create a uv.lock
file to freeze your dependencies.
In order to add or remove dependencies, you can use:
uv add boto3
uv remove boto3
You can also add dependencies in the dev group or any arbitrary optional group:
uv add coverage pirlo poethepoet pytest ruff --dev
uv add pandas --optional analysis
You can also upgrade your virtual environment and update your lock file if there is new versions of dependencies compatible with your requirements:
uv sync --upgrade
When you want to release a new version of a package, you must follow this:
- major (breaking change) 1.0.2 --> 2.0.0
- minor (new feature) 1.0.2 --> 1.1.0
- patch (fix) 1.0.2 --> 1.0.3
- prerelease (durint test) 1.0.2 --> 1.0.3a0
We try to follow the semantic versioning from https://semver.org/ as recommended by Python Foundation (https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#semantic-versioning-preferred)
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
Built Distribution
Hashes for external_dependencies-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d163d6811805d20992533e24c65a57a4cb47d654d0c1a2dc7a694d48db83df75 |
|
MD5 | 8071c75d07d8622d524de94c82b4ef6e |
|
BLAKE2b-256 | a5f214d9bdb825eeb5753ad8ea675470a622a27a79c4d3f170b812483500bcc1 |
Hashes for external_dependencies-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a80073a94fa69cae4c1f769c0ee6fd494d1562a79d02f3911abd73f1b644e7a4 |
|
MD5 | 2fa5ed6b7e738c09b873be80125b6821 |
|
BLAKE2b-256 | 8eb5a27c8fbe37b350a8698db56f1b55cfb1d393b6837fd6a40f27db848980f0 |