Category "python-poetry"

how to run a script using pyproject.toml settings and poetry?

I am using poetry to create .whl files. I have an ftp sever runing on a remote host. I wrote a python script (log_revision.py) which save in a database the gi

How can I specify which Python version poetry should create venv?

I started using Poetry recently. I really like straightforward package management, but I can’t seem to resolve one thing: The Python version it should use

Can Poetry download dependencies when building a wheel for offline installation?

I’d like to download all dependencies for a project when running the poetry build command the output wheel (whl) file includes the downloaded dependencies

Using poetry and pip to install dependencies with private repositories

Ahoi! We are a small team and currently using poetry for developing our python packages. Since we do have a private artifactory we have the following pyproject.

Conda to poetry environment

I have a conda environment that I would like to convert to a poetry environment. What I have tried is to translate the environment.yaml of the conda environment

How to rebuild Poetry environment from scratch and force reinstall everything?

Poetry has some stale dependencies because the use of develop = true packages. Poetry cannot figure out on its own that dependencies have been updated. How do I

Why does poetry build raise ModuleOrPackageNotFound exception?

I want to use poetry to build and distribute Python source packages, but after poetry init I get an error running poetry build. ModuleOrPackageNotFound No f

Use pex with poetry pyproject.toml

I'm trying to figure out how to do automated(ish) deployment for a python project with pex. I currently have the following process: $ poetry run pip freeze >

How can I make a Python package developed with Poetry available on conda-forge (or even on my personal conda channel)?

I have developed my first Python package using Poetry as a dependency management and packaging tool. Publishing my work to PyPI has been as easy as running: poe

running a package pytest with poetry

I am new to poetry and want to get it set-up with pytest. I have a package mylib in the following set-up ├── dist │   ├&

running a package pytest with poetry

I am new to poetry and want to get it set-up with pytest. I have a package mylib in the following set-up ├── dist │   ├&

What is the default install path for poetry

I installed poetry, however I'm getting the following error when attempting to call poetry zsh: command not found: poetry I know I have it installed because

Python poetry install failure - invalid hashes

I'm unsure exactly what information / context to provide with this post in order for it to be properly answered - so if I can add more information please let me

Poetry doesn't use the correct version of Python

I've recently installed both Pyenv and Poetry and want to create a new Python 3.8 project. I've set both the global and local versions of python to 3.8.1 using

How to use python-poetry across architectures?

My primary development machine is x86_64 while some of my deploy environments are arm7vl (Raspberry Pi). For most Python development, this isn't a problem, but

ModuleNotFoundError when install script with poetry

Here's what my project tree looks like . ├── project │ ├── __init__.py │ ├── db.py │

Does Poetry have an equivalent for the flag "--trusted-host" that is available on Pip?

I wish to start using poetry on some projects at work, where I am stuck behind corporate filters that sometimes interfere with certs. If I use pip, I can ignore