No project description provided
Project description
external_dependencies_py
external_dependencies_py :
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)
CI/CD
If you have an issue you can check the .gitlab-ci.yml
file.
We now use skillcorner-CICD, which allows us to
reuse components between gitlab CI configuration. For more information, see the slite documentation
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5765b8ad822a704b1bb5630468920caef89ebc7f08f1dd35a5afae90ca183bc |
|
MD5 | 348508aab3d1c29ef402a9693d721f63 |
|
BLAKE2b-256 | b4bd871f10376ed57b0d10aa4105680999d3f3e47a5fa48bcaeff37fa1cbb5aa |
Hashes for external_dependencies-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 345ab8b97f479656cc9444793c725445eddd61f7aec5abf152a4c30b6e156e69 |
|
MD5 | a09ac4f7c0a2978908e05747436a365b |
|
BLAKE2b-256 | 3e8ffc6b2b2c93ebdff895375b8168e150b105ea5a77d692e754b0eb2147f430 |