2023-01-18 20:00:17 +03:00
|
|
|
distributable:
|
2023-04-06 08:14:27 +03:00
|
|
|
url: https://github.com/python-poetry/poetry/releases/download/{{version}}/poetry-{{version}}.tar.gz
|
2023-01-18 20:00:17 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: python-poetry/poetry
|
|
|
|
|
|
|
|
dependencies:
|
2024-01-04 11:58:31 +03:00
|
|
|
pkgx.sh: ^1
|
2023-01-18 20:00:17 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
2024-01-04 11:58:31 +03:00
|
|
|
python.org: ~3.11
|
|
|
|
cmake.org: ^3
|
2023-01-18 20:00:17 +03:00
|
|
|
linux:
|
|
|
|
rust-lang.org/cargo: '*' # for cryptographic bindings
|
|
|
|
script:
|
2024-01-04 11:58:31 +03:00
|
|
|
- bkpyvenv stage {{prefix}} {{version}}
|
|
|
|
- ${{prefix}}/venv/bin/pip install .
|
|
|
|
- bkpyvenv seal {{prefix}} poetry
|
2023-01-18 20:00:17 +03:00
|
|
|
|
|
|
|
test:
|
2023-05-19 22:22:36 +03:00
|
|
|
script:
|
|
|
|
- poetry new teaxyz
|
|
|
|
- cd teaxyz
|
|
|
|
- poetry config virtualenvs.in-project true
|
|
|
|
|
|
|
|
# 2.30.0 uses urllib2 which conflicts with boto3, at this time.
|
|
|
|
- poetry add requests==2.29.0
|
|
|
|
|
|
|
|
- poetry add boto3
|
|
|
|
|
|
|
|
- test -f pyproject.toml
|
|
|
|
- test -f poetry.lock
|
2023-01-18 20:00:17 +03:00
|
|
|
env:
|
|
|
|
LC_ALL: en_US.UTF-8
|
|
|
|
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/poetry
|