Dependencies based on `dependency-groups'.
Reason this release was yanked:
not work
Project description
EN
Dependencies based on `dependency-groups'.
Usage:
Add dynamic_dependencies[setuptools] to build-system.requires (in the pyproject.toml file)
[build-system]
requires = [
"setuptools>=81.0.0",
"dynamic_dependencies[setuptools]~=1.0",
]
If you use a different backend for the build:
- Add
dynamic_dependenciesinstead ofdynamic_dependencies[setuptools] - Read the configuration from
pyproject.tomldynamic_dependencies.Config.from_pyproject - Get the dependency lists by calling
dynamic_dependencies.dependenciesand `dynamic_dependencies.optional_dependencies'. - Write it down in the distribution information.
- *If this is a public builder, create a PR/issue to add
configuration:
[tool.dynamic_dependencies]
require = "name1"
optional = {
"grp1" = "name2",
"grp2" = "name3"
}
The group name1 will be added to the required dependencies.
The group name2 will be added to the optional dependencies as grp1 (...[grp1]).
The group name3 will be added to the optional dependencies as grp2 (...[grp2]).
RU
Зависимости основанные на dependency-groups.
Использование:
Добавьте dynamic_dependencies[setuptools] в build-system.requires (в файл pyproject.toml)
[build-system]
requires = [
"setuptools>=81.0.0",
"dynamic_dependencies[setuptools]~=1.0",
]
Если вы используете другой бекенд для сборки:
- Добавьте
dynamic_dependencies, вместоdynamic_dependencies[setuptools] - Прочтите конфигурацию из
pyproject.tomldynamic_dependencies.Config.from_pyproject - Получите списки зависимостей вызвав
dynamic_dependencies.dependenciesиdynamic_dependencies.optional_dependencies. - Запишите в информацию о дистрибутиве.
- *Если это публичный сборщик, создайте PR/issue на добавление
конфигурация:
[tool.dynamic_dependencies]
require = "name1"
optional = {
"grp1" = "name2",
"grp2" = "name3"
}
Группа name1 будет добавлена в обязательные зависимости.
Группа name2 будет добавлена в НЕобязательные зависимости как grp1 (...[grp1]).
Группа name3 будет добавлена в НЕобязательные зависимости как grp2 (...[grp2]).
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 dynamic_dependencies-1.0.0.tar.gz.
File metadata
- Download URL: dynamic_dependencies-1.0.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31d9d86e012bbaa0264cff11276c3c6c3da9c374b23e74553b63d2eacb5c5c30
|
|
| MD5 |
051e2fb027abc9e963588e7a86369c8b
|
|
| BLAKE2b-256 |
93fe9af59a38c5cff8ec278f9c5b250f4bb8b6c3e49973d3ecd220a3b99a9525
|
Provenance
The following attestation bundles were made for dynamic_dependencies-1.0.0.tar.gz:
Publisher:
release.yml on zedzhen/dynamic-dependencies
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dynamic_dependencies-1.0.0.tar.gz -
Subject digest:
31d9d86e012bbaa0264cff11276c3c6c3da9c374b23e74553b63d2eacb5c5c30 - Sigstore transparency entry: 1907177323
- Sigstore integration time:
-
Permalink:
zedzhen/dynamic-dependencies@a6b0f5023b2045ad2d950c78cc658b42591d04ce -
Branch / Tag:
- Owner: https://github.com/zedzhen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a6b0f5023b2045ad2d950c78cc658b42591d04ce -
Trigger Event:
release
-
Statement type:
File details
Details for the file dynamic_dependencies-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dynamic_dependencies-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1c1c23108fe8e83e44b18a10bfd205e96c1a93b4649434a8d4912439ab1446f
|
|
| MD5 |
f4e701263671f5e0f1b098e794f6e975
|
|
| BLAKE2b-256 |
3b8f1208e92c813fd77cfdbe55a3795091e6be7bc364a2fe2c6ff5b01aca6222
|
Provenance
The following attestation bundles were made for dynamic_dependencies-1.0.0-py3-none-any.whl:
Publisher:
release.yml on zedzhen/dynamic-dependencies
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dynamic_dependencies-1.0.0-py3-none-any.whl -
Subject digest:
d1c1c23108fe8e83e44b18a10bfd205e96c1a93b4649434a8d4912439ab1446f - Sigstore transparency entry: 1907177572
- Sigstore integration time:
-
Permalink:
zedzhen/dynamic-dependencies@a6b0f5023b2045ad2d950c78cc658b42591d04ce -
Branch / Tag:
- Owner: https://github.com/zedzhen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a6b0f5023b2045ad2d950c78cc658b42591d04ce -
Trigger Event:
release
-
Statement type: