You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pip-compile fails to parse my pyproject.toml when I change its location. The following pyproject.toml works fine with pip-compile when I’m in the ..../ids-peak-python/ directory, but when I create a new project at ..../controllable-leds/client/, and I copy that same pyproject.toml there, pip-compile does not work anymore.
It’s really mysterious and I was hoping someone has a clue on what’s going on.
[project]
name = "ids-peak-python"
version = "0.1.0"
description = 'Example IDS camera usage in python'
readme = "README.md"
requires-python = "==3.10.*"
dependencies = [
"wincertstore ; platform_system == 'Windows'"
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
It should resolve and generate the requirements file
Actual result
Installing packages in isolated environment... (hatchling)
Getting dependencies for wheel...
Getting metadata for wheel...
Backend subproccess exited when trying to invoke prepare_metadata_for_build_wheel
Failed to parse C:\Users\MatthieuPIZENBERG\git\controllable-leds\client\pyproject.toml
The text was updated successfully, but these errors were encountered:
Yes, definitely can be improved. I think we're waiting on new releases from other projects so that we can preserve clearer error messages. Some more info in #1711
pip-compile
fails to parse mypyproject.toml
when I change its location. The followingpyproject.toml
works fine withpip-compile
when I’m in the..../ids-peak-python/
directory, but when I create a new project at..../controllable-leds/client/
, and I copy that samepyproject.toml
there,pip-compile
does not work anymore.It’s really mysterious and I was hoping someone has a clue on what’s going on.
Environment Versions
$ python -V
: 3.10.10$ pip --version
: 23.0.1$ pip-compile --version
: 6.12.3Steps to replicate
pip-compile
in the folderExpected result
It should resolve and generate the requirements file
Actual result
The text was updated successfully, but these errors were encountered: