python-poetry Questions

2

Solved

I tried to upgrade my poetry from 1.1.x version to 1.3 but as an official manual (https://python-poetry.org/docs/) recommends I removed the old version manually. Unfortunately I probably deleted wr...
Frothy asked 11/1, 2023 at 9:43

5

Solved

I am trying to run my poetry based python project inside docker using docker compose When I run the application, it works but it gives me this warning ch_news_dev_python | Warning: 'news' is an e...
Semilunar asked 30/5, 2023 at 14:1

1

I have a simple python package, let's call it my_package. Its files are located in src/python/my_package. In addition, there is a data folder in the repository root, which should be included in the...
Ana asked 3/4, 2023 at 7:10

3

so im trying to use openai-whisper. i'm using poetry as my env and dependecy manager. but keep getting errors when trying to download it. the error i get is, Installing triton (2.0.0): Failed i tri...
Hanser asked 24/5, 2023 at 22:54

3

The poetry documentation says that the script section can be used to install scripts or executable when the package is installed. But it does not show any example of how to pass arguments to the sc...
Amyamyas asked 10/5, 2021 at 18:55

3

I have just installed poetry on a windows 10 machine using the new install-poetry.py script. I have just converted my python application dependency management to pyproject.toml with poetry. It work...
Keon asked 8/4, 2022 at 20:26

2

We have a poetry project with a pyproject.toml file like this: [tool.poetry] name = "daisy" version = "0.0.2" description = "" authors = [""] [tool.poetry.d...
Sigismundo asked 8/2, 2023 at 11:13

16

Solved

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 the appropriate Pyenv commands (pyenv...
Botelho asked 19/1, 2020 at 13:6

16

Can you give me an example of a Dockerfile in which I can install all the packages I need from poetry.lock and pyproject.toml into my image/container from Docker?
Gallup asked 18/12, 2018 at 14:28

5

Solved

I need help. VSCode will NEVER find poetry virtualenv interpreter no matter what I try. Installed poetry Python package manager using a standard $ curl method as explained in the official documen...
Excess asked 23/1, 2020 at 16:16

5

Solved

Running the following poetry shell returns the following error /home/harshagoli/.poetry/lib/poetry/_vendor/py2.7/subprocess32.py:149: RuntimeWarning: The _posixsubprocess module is not being us...
Kilgore asked 7/3, 2020 at 17:29

4

Solved

Does it make sense to use Conda + Poetry for a Machine Learning project? Allow me to share my (novice) understanding and please correct or enlighten me: As far as I understand, Conda and Poetry hav...

5

Solved

I just installed poetry with the following install script curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 However, when I execute poetry it fails ...
Theological asked 20/5, 2020 at 20:3

2

TL;DR: can't configure a Python Interpreter on PyCharm (Windows) using an existing Poetry environment in WSL. When trying to set the Poetry environment path under Add Python Interpreter > Poetry...

7

Solved

I've recently found poetry to manage dependencies. In one project, we use PyTorch. How do I add this to poetry? We are working on machines that have no access to a CUDA GPU (for simple on the road ...
Blok asked 3/12, 2019 at 13:18

2

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 SSL errors by doing something like t...
Mchenry asked 25/11, 2021 at 0:27

7

I've got a poetry project. My environment is Conda 22.9.0 on a windows machine with poetry version 1.2.2: This is my pyproject.toml file: [tool.poetry] name = "myproject" version = "...
Frisse asked 29/12, 2022 at 9:49

5

Solved

I am not very familiar with python, I only done automation with so I am a new with packages and everything. I am creating an API with Flask, Gunicorn and Poetry. I noticed that there is a version n...
Tattoo asked 12/1, 2023 at 17:23

2

I want to install a package from my private GitHub repository. Using GitHub access token, I can specify it like this: [tool.poetry.dependencies] python = "^3.8" <package> = {git = &...
Lagomorph asked 19/7, 2021 at 20:24

5

Solved

I am using poetry to create .whl files. I have an FTP sever running on a remote host. I wrote a Python script (log_revision.py) which save in a database the git commit, few more parameters and in t...
Sanious asked 11/12, 2019 at 13:33

18

Solved

I am trying out Poetry in an existing project. It used pyenv and virtual env originally so I have a requirements.txt file with the project's dependencies. I want to import the requirements.txt file...
Infrequent asked 6/7, 2020 at 20:38

2

Solved

Using Artifactory (https://cloud.google.com/artifact-registry) I intend to add a dependency with poetry (https://python-poetry.org/docs/repositories/). I can install with command: pip install --ind...

4

Solved

I think I'm missing something simple I have a python poetry application: name = "my-first-api" version = "0.1.0" description = "" readme = "README.md" packag...
Cornfield asked 1/5, 2023 at 8:58

5

I am using Poetry for the first time. I have a very simple project. Basically a_project | |--test | |---test_something.py | |-script_to_test.py From a project I do poetry init and then poetry inst...
Legman asked 9/2, 2023 at 11:8

6

I have loaded black and flake8 into a poetry virtual environment. I'd like to change the default line length in black or flake8 so they agree. What is the best way to do this?
Chassis asked 19/3, 2020 at 1:35

© 2022 - 2024 — McMap. All rights reserved.