Poetry Support

Poetry Version

Qwak system uses Poetry version 1.2.2.

Poetry Lock Support

Our system support poetry.lock file capability, as long as they're under the same "scope" as the pyproject.toml file.

Given the following model structure:

qwak_based_model/
├── main/
├──── pyproject.toml
├──── poetry.lock
├── tests/

Both files pyproject.toml and poetry.lock will be used by Poetry while executing poetry install cmd.

Poetry Project Starter

Example of quick project starter

[tool.poetry]
name = "Qwak-environment"
version = "0.1.0"
description = "Qwak virtual environment"
authors = ["no-reply@localhost>"]

[tool.poetry.dependencies]
python = "~3.9"
qwak-sdk = "^0.9.138"

[[tool.poetry.source]]
name = "qwak"
url = "https://qwak:[email protected]/artifactory/api/pypi/qwak-pypi/simple"
default = false
secondary = true

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"