pyproject.toml Questions
1
If I have a venv with black==22.12.0 installed and I run pip install --U black then pip will update to the newest version of black. I will see same behavior if black is listed in a requirements.txt...
Verticillate asked 9/4, 2023 at 8:43
2
I have a python package that I want to install inside a docker file.
pyproject.toml looks like:
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_me...
Melia asked 7/11, 2022 at 23:11
2
I am trying to add depedency from git to poetry using SSH ( I am not interested in HTTPS version). The but I get an error whether I use poetry add...
poetry add git+ssh://[email protected]:myo...
Apocalyptic asked 30/1, 2022 at 11:26
4
I wish to use the options disable_error_code = ["name-defined"] and ignore_missing_imports = true only for some specific modules, but I am struggling to make it work.
The following is an ...
Echikson asked 16/9, 2022 at 14:47
5
Solved
I have a python project with a pyproject.toml file. Typically I store the project's version number in pyproject.toml like this:
% grep version pyproject.toml
version = "0.0.2"
%
I want ...
Ballplayer asked 23/3, 2022 at 18:10
7
I have a Python project that doesn't contain requirements.txt.
But it has a pyproject.toml file.
How can I download packages (dependencies) required by this Python project and declared in pyproject...
Tumbrel asked 16/6, 2020 at 12:39
6
Solved
My package version is defined in two places:
__version__ = 1.2.3 in mypackage/__init__.py
version = "1.2.3" in pyproject.toml (I am using Poetry)
I have to update both whenever I bump t...
Semanteme asked 14/4, 2021 at 3:18
4
We're currently using Mypy (v 0.910) in our project with pyproject.toml for configuration.
I have the following file structure:
src
--app
--generated
--service
--data
--ingest
pyproject.toml:...
Vitrescent asked 20/10, 2021 at 18:33
7
Solved
ERROR: Could not build wheels for mpi4py, which is required to install pyproject.toml-based projects
I want to install mpi4py.
The installation fails with the error below.
Please share the solution to the same error.
note: This error originates from a subprocess, and is likely not a problem with ...
Libertarian asked 14/11, 2022 at 6:26
5
I'm getting this error when trying to install PyAudio:
ERROR: Could not build wheels for pyaudio, which is required to install pyproject.toml-based projects
Does anyone know why this is happening ...
Hypoplasia asked 7/8, 2022 at 15:14
4
Solved
I try my best to move from a setup.py managed lib to a pure pyproject.toml one.
I have the following folder structure:
tests
└── <files>
docs
└── <files>
sepal_ui
└── <files>
pypr...
Tripos asked 8/2, 2023 at 15:19
5
Solved
I was installing Odoo 15 inside a Python virtual environment on Ubuntu 20.04. I've downloaded Odoo from the official GitHub repository and use Nginx as a reverse proxy.
after following the document...
Sanborne asked 14/3, 2023 at 18:15
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
5
I have the following project structure:
root
- sample/
- src/
- tests/
- pyproject.toml
- libs/
- lol/
- src/
- tests/
- pyproject.toml
I'd like to specify lol as a dependency for sample ...
Blaineblainey asked 18/1, 2023 at 12:47
3
We have multiple python projects, and are considering converting them to use pyproject.toml instead of setup.py.
Is there a simple way to automate this?
Joly asked 1/7, 2022 at 16:13
4
Solved
I am trying to migrate my package from setup.py to pyproject.toml and I am not sure how to do the dynamic versioning in the same way as before. Currently I can pass the development version using en...
Rintoul asked 31/12, 2022 at 9:16
2
We version all our company packages with a simple datetime version. Now we are considering moving to pyproject.toml instead of setup.py. Is it possible to do flexible versioning there as well?
vers...
Marion asked 8/12, 2021 at 8:35
1
I am using setuptools with a pyproject.toml file, and want setuptools to get the package version dynamically from the package contents. Instead, it is always setting the package version in the name...
Handyman asked 7/12, 2023 at 14:56
0
I have a python project with some modules, scripts and optional dependencies:
[project.optional-dependencies]
extra = [ "tqdm", "antspyx>=0.4.2", "scikit-image", &q...
Diannediannne asked 17/11, 2023 at 12:39
1
Solved
I would like to use the experimental typing.Unpack in my project.
In the CLI command, it works when adding --enable-incomplete-feature=Unpack.
However, I have mypy issues reported by pyright (in ne...
Dys asked 3/10, 2023 at 10:44
3
Solved
I am trying to install prophet using
pip install prophet
installation goes well at first, but then fails with the following error
ERROR: Failed building wheel for prophet Failed to build prophet ER...
Swisher asked 4/1, 2023 at 9:34
1
Specifications
Apple M1 chip processor
Python 3.9.6
setuptools==65.3.0
virtualenv==20.23.1
pipenv===2023.4.29
pyproject.toml file at project's root directory
[project]
name = 'project name'
requir...
Foreordination asked 10/7, 2023 at 10:16
2
Solved
Setuptools allows you to specify the minimum python version as such:
from setuptools import setup
[...]
setup(name="my_package_name",
python_requires='>3.5.2',
[...]
However, how...
Lamont asked 25/5, 2022 at 6:53
1
Solved
I am using the toml package to read my pyproject.toml file.
I want to add custom data which in this case I will read in my docs/conf.py file.
When I try and add a custom section I get errors and wa...
Milena asked 17/8, 2023 at 20:22
1
I'm trying to solve what I assume is a common problem with poetry but am unable to find the relevant documentation. My project includes multiple packages and uses pyproject.toml and poetry to manag...
Deckhand asked 25/9, 2022 at 23:24
1 Next >
© 2022 - 2024 — McMap. All rights reserved.