-
-
Notifications
You must be signed in to change notification settings - Fork 629
Closed
Labels
bugSomething is not workingSomething is not workingpyproject.tomlRelated to pyproject.toml supportRelated to pyproject.toml supportsupportUser supportUser support
Description
I have been following the guide in the README file on how to use pip-tools with pyproject.toml. Unfortunately, if I add a project.optional-dependencies
section to pyproject.toml, regardless of what its contents are, I get the following error:
(base) PS C:\Users\adewar\code\Solidity-GUI> pip-compile -v pyproject.toml
C:\ProgramData\Miniconda3\lib\site-packages\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
Creating virtualenv isolated environment...
find interpreter for spec PythonSpec(path=C:\ProgramData\Miniconda3\python.exe)
proposed PythonInfo(spec=CPython3.9.13.final.0-64, exe=C:\ProgramData\Miniconda3\python.exe, platform=win32, version='3.9.13 (main, Oct 13 2022, 21:23:06) [MSC v.1916 64 bit (AMD64)]', encoding_fs_io=utf-8-utf-8)
create virtual environment via CPython3Windows(dest=C:\Users\adewar\AppData\Local\Temp\build-env-m1awcc93, clear=False, no_vcs_ignore=False, global=False)
add seed packages via FromAppData(download=False, pip=bundle, via=copy, app_data_dir=C:\Users\adewar\AppData\Local\pypa\virtualenv)
Installing packages in isolated environment... (setuptools >= 40.8.0, wheel)
Getting build dependencies for wheel...
Backend subprocess exited when trying to invoke get_requires_for_build_wheel
Failed to parse C:\Users\adewar\code\Solidity-GUI\pyproject.toml
Environment Versions
- Windows 10 (replicated on Arch Linux)
- Python version:
python 3.9.13
- pip version:
pip 22.2.2 from C:\ProgramData\Miniconda3\lib\site-packages\pip (python 3.9)
- pip-tools version:
pip-compile, version 6.9.0
Steps to replicate
- Add a
project.optional-dependencies
section to yourpyproject.toml
- Run
pip-compile pyproject.toml
bblanchon, kyy and rfan-debugSup2point0
Metadata
Metadata
Assignees
Labels
bugSomething is not workingSomething is not workingpyproject.tomlRelated to pyproject.toml supportRelated to pyproject.toml supportsupportUser supportUser support