Skip to main content

Questions tagged [pyproject.toml]

Questions pertaining to the python package configuration system based on a pyproject.toml file, as discussed in PEP517 and PEP518, among others.

pyproject.toml
0 votes
0 answers
14 views

Ignore sub-dependencies in pyproject.toml

A package I want to include in my pyproject.toml, itself depends on torch, which I don't want automatically installing since it takes up a lot of space and my currently installed version already works ...
Richie Bendall's user avatar
0 votes
1 answer
36 views
+500

How to use standard tools to package and install a zipped python package of pyc files and a .pth file

I have a Python package which I have zipped using zipfile.PyZipFile, so I now have a .zip containing only .pyc files and sub-packages for a particular version of Python. I can manually place it into ...
Open AI - Opting Out's user avatar
0 votes
0 answers
17 views

How to have a pip editable install not install dependencies that are already installed in editable mode

I am often working on multiple python packages with interdependencies defined in pyproject.toml. I want them all installed in editable mode, which seems harder than it should be. What I want to do is ...
Caleb's user avatar
  • 3,969
0 votes
1 answer
66 views

Cannot install scipy due to meson-python - a-shell on iPad 4 Pro

Using a-shell on iPad Pro 4. Failed to pip install scipy. I am not sure what’s the problem. I tried to install/upgrade meson-python and pyproject.toml, but it seems that the package is already up to ...
SquEu's user avatar
  • 11
-1 votes
0 answers
17 views

Unable to do Poetry install dependencies in shell venv

I was trying to run backend api, for that I used to do Poetry shell then poetry install for dependencies. But now it has stopped working. Please let me know what should I do, unable to find similar ...
T.Y.M.SAI's user avatar
0 votes
0 answers
28 views

How to specify building both (dot)EXE and no extention executable in pyproject.toml file on Windows

The problem I am having is Windows specific, but I think this is a good opportunity to learn python's build system. So, I have a project that I wish to install on Windows, Linux and Mac machines. I am ...
anu's user avatar
  • 1,007
1 vote
1 answer
98 views

Setuptools unable to read requirements.txt from pyproject.toml in python 3.12.x

I have a package structure as follows: program_root/ - src/ - tests/ - data/ - templates/ - docs/ - pyproject.toml - README - requirements.txt My ...
Devarapalli Vamsi's user avatar
0 votes
1 answer
65 views

Can not install pandas in python 3.9

I am using python 3.9 with Spark. python --version Python 3.9.0 When I install pandas with pip install pandas I got the following error Collecting pandas Using cached pandas-2.2.2.tar.gz (4.4 MB) ...
ferrito's user avatar
  • 341
1 vote
0 answers
22 views

Best way to package a Python CLI outside of its associated library

I'm packaging a library and a CLI associated to it. I'm using flit The library makes use of long-to-import dependencies (numpy, torch and whatnot), so I would like to split the CLI part so that it ...
Gabriel Belouze's user avatar
0 votes
0 answers
33 views

How Could I update gcc version to using pandas?

I want to update my gcc version to 8.4 or higher to install pandas. When I tried to install panads like this, pip install pandas It shows the error like this Installing build dependencies ... error ...
Azin's user avatar
  • 27
0 votes
0 answers
24 views

Migrating from setup.py to pyproject.toml, outdated egg.info

When using setup.py, pip install -e . creates a my_app.egg-info directory containing a PKG-INFO file. After moving to pyproject.toml, the same install procedure doesn't update or remove that ...
Jérôme's user avatar
  • 14.3k
0 votes
0 answers
24 views

Pyproject.toml setuptools_scm version_file setting not working in GitHub publish action

This is my first time using Pyproject.toml and GitHub actions and I've run into and issue my publish.yml job. In my pyproject.toml file I have this setting [tool.setuptools_scm] version_file = "...
B. Youngman's user avatar
0 votes
0 answers
41 views

How to run specific test commands for aarch64 linux platforms with python cibuildwheel

how to run specific test commands for aarch64 linux platforms with cibuildwheel I'm working on a project as a contributor and I need to run specific tests on the Linux aarch platform during the ...
Erik's user avatar
  • 1
2 votes
0 answers
117 views

How to specify system-dependent versions of dependent libraries with pyproject.toml

I am creating a library named mygeo that depends on a GDAL python package. To install the gdal python library, we must specify the same version of GDAL that is installed on the system, like as follows:...
AMA's user avatar
  • 106
0 votes
1 answer
61 views

Python version is higher in virtual environment than the one specified in pyproject.toml

I've currently set my pyproject.toml as follows # ... [tool.poetry.dependencies] python = "^3.8.0" pandas = "^2.0.0" numpy = "^1.21.0" requests = "^2.25.1" # ......
Nauel's user avatar
  • 485

15 30 50 per page
1
2 3 4 5
26