poetry
Tool for dependency management and packaging in Python
Poetry helps you declare, manage and install dependencies of Python projects, ensuring you have the right stack everywhere.
amd64
Installation
1. Add WakeMeOps repository
curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash
2. Install poetry
Snippets
Download URLs
Version | SHA256 | Size (KB) |
---|---|---|
1.8.4 | 4b42d9cb359a2b8ae0e1cb880a1311724139e6e94a220037c250fea7d2903159 |
20741 |
1.8.3 | c023d077ae041a72fbcdc6534fbdcfa9b6e26e29d674491a86347ed9207326fa |
19073 |
1.8.2 | 56cf6f78ec3b95545a60479af1b380d0ccc476c191e286d657fd400df0d26e80 |
19079 |
1.8.1 | 52765656d7183420ee0c7d68ea14a7640f99783af37784959cf456d03bcf895d |
19070 |
1.8.0 | cddd1f4ed8204c44594beaac90c29f63d27ed32bb21c354dc5dd3425aa2d0531 |
19072 |
1.7.1 | 8895093eefa44365b8e83c91c1cc28fb9337d1666d5ffd52afc3222e5d5aebae |
18479 |
1.7.0 | 7d68fb0557d031fd60688f33c8f37abf7c8b2d33d66ae24235046d7e32078d79 |
18478 |
1.6.1 | 7c793b7ed99d0407fa56137735e47901255a3ff91258cbb536f3a50f59af9c87 |
18140 |
1.6.0 | aaa18089810a073f46535e477bb471ea989f07d2ef7603b66ab4960b86b9b28f |
18134 |
1.5.1 | 3285a308181b8800e67ffb621e2dd2d553a30885405f7a70a0d53b01ba81f807 |
18697 |
Version | SHA256 | Size (KB) |
---|---|---|
1.1.15 | 6e6c6289a4a8a58ba72ca684621dcfba4df065d5441c5db7fd89f88cc3e05771 |
40926 |
1.1.14 | 55bafd2411e8b3e0028a761f10ed53748839a764028664fdbe03b24d7a34da30 |
40922 |
1.1.13 | 915f4d13aa5f203b9560abeeb648bdc9793067d3b13a639a30813e498a0e14dd |
40927 |
1.1.15 | 6e6c6289a4a8a58ba72ca684621dcfba4df065d5441c5db7fd89f88cc3e05771 |
40926 |
1.1.14 | 55bafd2411e8b3e0028a761f10ed53748839a764028664fdbe03b24d7a34da30 |
40922 |
1.1.13 | 915f4d13aa5f203b9560abeeb648bdc9793067d3b13a639a30813e498a0e14dd |
40927 |
1.1.15 | 6e6c6289a4a8a58ba72ca684621dcfba4df065d5441c5db7fd89f88cc3e05771 |
40926 |
1.1.14 | 55bafd2411e8b3e0028a761f10ed53748839a764028664fdbe03b24d7a34da30 |
40922 |
1.1.13 | 915f4d13aa5f203b9560abeeb648bdc9793067d3b13a639a30813e498a0e14dd |
40927 |
1.1.15 | 6e6c6289a4a8a58ba72ca684621dcfba4df065d5441c5db7fd89f88cc3e05771 |
40926 |
Blueprints
Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for poetry are versioned here.
Click here to see poetry ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/dev/poetry/ops2deb.yml
- name: poetry
matrix:
versions:
- 1.1.13
- 1.1.14
- 1.1.15
revision: "2"
architecture: all
homepage: https://python-poetry.org
summary: tool for dependency management and packaging in Python
description: |-
Poetry helps you declare, manage and install dependencies of Python projects,
ensuring you have the right stack everywhere.
fetch: https://github.com/python-poetry/poetry/releases/download/{{version}}/poetry-{{version}}-linux.tar.gz
install:
- content: |-
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import glob
import sys
import os
lib = os.path.normpath(os.path.join(os.path.realpath(__file__), "../..", "lib"))
vendors = os.path.join(lib, "poetry", "_vendor")
current_vendors = os.path.join(
vendors, "py{}".format(".".join(str(v) for v in sys.version_info[:2]))
)
sys.path.insert(0, lib)
sys.path.insert(0, current_vendors)
if __name__ == "__main__":
from poetry.console import main
main()
path: /usr/bin/poetry
- content: |-
#!/bin/sh
set -e
if which py3compile >/dev/null 2>&1; then
py3compile -p poetry
fi
path: debian/postinst
- content: |-
#!/bin/sh
set -e
if which py3clean >/dev/null 2>&1; then
py3clean -p poetry
fi
path: debian/prerm
script:
- rm -r poetry/_vendor/py2.7 poetry/_vendor/py3.5 poetry/_vendor/py3.6 poetry/_vendor/.gitignore
- mv poetry {{src}}/usr/lib/
- name: poetry
matrix:
versions:
- 1.4.0
- 1.4.1
- 1.4.2
- 1.5.0
- 1.5.1
- 1.6.0
- 1.6.1
- 1.7.0
- 1.7.1
- 1.8.0
- 1.8.1
- 1.8.2
- 1.8.3
- 1.8.4
homepage: https://python-poetry.org
summary: tool for dependency management and packaging in Python
description: |-
Poetry helps you declare, manage and install dependencies of Python projects,
ensuring you have the right stack everywhere.
depends:
- python3.11-build-standalone
fetch: https://github.com/python-poetry/poetry/archive/refs/tags/{{version}}.tar.gz
install:
- content: |-
#!/usr/lib/poetry/bin/python3
import os
import sys
os.environ["POETRY_VIRTUALENVS_PREFER_ACTIVE_PYTHON"]="1"
from poetry.console.application import main
if __name__ == '__main__':
sys.exit(main())
path: /usr/bin/poetry
- content: |-
#!/bin/sh
set -e
find /usr/lib/poetry -name '*.py' -exec /usr/lib/poetry/bin/python3 -m py_compile {} +
path: debian/postinst
- content: |-
#!/bin/sh
set -e
find /usr/lib/poetry -name '__pycache__' -exec rm -r {} +
path: debian/prerm
script:
- install_packages python3.11-build-standalone
- |-
# install bootstrap poetry
/usr/lib/python-build-standalone/3.11/bin/python3 -m venv bootstrap
. bootstrap/bin/activate
pip install poetry 'poetry-plugin-bundle @ git+https://github.com/upciti/poetry-plugin-bundle@fix/support-poetry-1.5.0'
- |-
# install poetry with poetry own poetry.lock
cd poetry-{{version}}
../bootstrap/bin/poetry -v bundle venv ../poetry --python /usr/lib/python-build-standalone/3.11/bin/python3
- find poetry -name '__pycache__' -exec rm -r {} +
- cp -r -n poetry {{src}}/usr/lib/
The blueprint fetch
keyword contains a URL template pointing to poetry releases. Downloaded files are locked in a lockfile versioned here.
Click here to see poetry release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/dev/poetry/ops2deb.lock.yml
- url: https://github.com/python-poetry/poetry/releases/download/1.1.12/poetry-1.1.12-linux.tar.gz
sha256: 000f332f7f98c0dc5d317e0bd4e25d44e13293767d199fd964aae7c01284bcbe
timestamp: 2021-12-15 19:38:44+00:00
- url: https://github.com/python-poetry/poetry/releases/download/1.1.13/poetry-1.1.13-linux.tar.gz
sha256: 24037d8e597203571b3d3361da729fb8c7faf1cc1c27bd236f66f5f94fc63477
timestamp: 2022-02-16 10:41:46+00:00
- url: https://github.com/python-poetry/poetry/releases/download/1.1.14/poetry-1.1.14-linux.tar.gz
sha256: 5d02a16b3bd7a515b5b97e58a3832efa5a95e51a40a5d376566ac18a276f0ae9
timestamp: 2022-07-08 17:24:01+00:00
- url: https://github.com/python-poetry/poetry/releases/download/1.1.15/poetry-1.1.15-linux.tar.gz
sha256: 1c7e6a5175dbabe240cf10fd8167f31a07c404d7cd0b55cb5c68c160049cf486
timestamp: 2023-01-26 13:27:19+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.4.0.tar.gz
sha256: 0102c16680c6756d5d3377d5a796d6e03e19e3e64fd8cbf1198ab9d6a3f84dfc
timestamp: 2023-03-14 18:24:20+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.4.1.tar.gz
sha256: 506965564014206e2f562aab95eb33f20a6b71c445eaeb6eb6f5c99befaa27f0
timestamp: 2023-03-19 15:18:17+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.4.2.tar.gz
sha256: 8cdbad22dfd11ca9c7e37bcafe18ae931b80e0776adbe6df8d24091bd2b23eff
timestamp: 2023-04-02 18:19:35+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.5.0.tar.gz
sha256: 51dc32599edba7eafeb5038282aa9c5629d1e1ac72061075b0a302b3546bd839
timestamp: 2023-05-20 01:22:42+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.5.1.tar.gz
sha256: d63f86a5849fb65077f80e68521c224312d5a4273250a12ff63fa1dbdf175326
timestamp: 2023-05-29 18:19:55+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.6.0.tar.gz
sha256: 74a4c26663b5722007f45dc428158d5d8a297b969e81d3ae83d199a7ea6c27fb
timestamp: 2023-08-20 18:18:06+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.6.1.tar.gz
sha256: 5653d6905c378703089fb500f7a85b58bf3b439c61cabb377a11df5495407f9f
timestamp: 2023-08-21 18:19:27+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.7.0.tar.gz
sha256: bf453df216bb9f8181959f403d0c44620de06fc4acfb03b2d2f69b0158a6f4f5
timestamp: 2023-11-03 15:17:02+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.7.1.tar.gz
sha256: 3c2ca5bf2682890b27c4c9b1e43bf0706f1a1e3a400dc86c52cb3460bd593afb
timestamp: 2023-11-16 21:15:08+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.8.0.tar.gz
sha256: 5e9542b262ab7f3da9c8480449cfbe33d7f9972b0e7ecc64887f90b8b955c2bb
timestamp: 2024-02-25 15:05:30+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.8.1.tar.gz
sha256: 66f8f97d5d703eb9b1b2de413ba1bdb1cdbd3881816676296ae803a5306942b8
timestamp: 2024-02-26 18:06:11+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.8.2.tar.gz
sha256: aa95f753a18f5fa1e8d346b4ead6bf2d1a2ce73691666887988af5c181d3a1c6
timestamp: 2024-03-02 18:06:49+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.8.3.tar.gz
sha256: 4da8d1b19cfb50536c6b54e984b88cec3bc1203f9749d5f4958db5cbb0c7b7bc
timestamp: 2024-05-08 15:05:50+00:00
- url: https://github.com/python-poetry/poetry/archive/refs/tags/1.8.4.tar.gz
sha256: bdfee484c70e9de6c7ce5869c0693dd592b95e77ecdf8e3edd2fd3b9745db19a
timestamp: 2024-10-14 21:06:08+00:00