-
-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display pyproject.toml
's metatada parsing errors in verbose mode
#1979
Display pyproject.toml
's metatada parsing errors in verbose mode
#1979
Commits on Sep 5, 2023
-
Pin "build" version to ">=1.0.0" and add "pyproject_hooks"
Since version "1.0.0" is released on PyPI we can pass a type of subprocess runner to "build.ProjectBuilder". Before the type was hardcoded insude "ProjectBuilder" and was not available to user. Therefore, whenever the error on parsing pyproject.toml file happened, user seen only short and non-informative `Backend subprocess exited when trying to invoke get_requires_for_build_wheel`. Now we can select `pyproject_hooks.default_subprocess_runner` from `pyproject_hooks` library. This runner will throw the error directly from toml parsing library.
Configuration menu - View commit details
-
Copy full SHA for f003c02 - Browse repository at this point
Copy the full SHA f003c02View commit details -
Use "default_subprocess_runner" when execute build.ProjectBuilder
In order to show user the error from toml's parsing library instead of `Backend subprocess exited when trying to invoke get_requires_for_build_wheel`.
Configuration menu - View commit details
-
Copy full SHA for 9ac6d5f - Browse repository at this point
Copy the full SHA 9ac6d5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 818bc8e - Browse repository at this point
Copy the full SHA 818bc8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f163771 - Browse repository at this point
Copy the full SHA f163771View commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for bb355d8 - Browse repository at this point
Copy the full SHA bb355d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2bd640 - Browse repository at this point
Copy the full SHA b2bd640View commit details -
* No more dependencies on flit * No network connection required * Test verbose and non-verbose modes
Configuration menu - View commit details
-
Copy full SHA for 2d3fbf7 - Browse repository at this point
Copy the full SHA 2d3fbf7View commit details -
Update piptools/scripts/compile.py
Co-authored-by: Albert Tugushev <albert@tugushev.ru>
Configuration menu - View commit details
-
Copy full SHA for 1398d9c - Browse repository at this point
Copy the full SHA 1398d9cView commit details -
Update tests/test_cli_compile.py
Co-authored-by: Albert Tugushev <albert@tugushev.ru>
Configuration menu - View commit details
-
Copy full SHA for 91a339f - Browse repository at this point
Copy the full SHA 91a339fView commit details -
Update tests/test_cli_compile.py
Co-authored-by: Albert Tugushev <albert@tugushev.ru>
Configuration menu - View commit details
-
Copy full SHA for e9105f3 - Browse repository at this point
Copy the full SHA e9105f3View commit details -
Update tests/test_cli_compile.py:test_error_in_pyproject_toml
To check only one action: either run in verbose or non-verbose mode
Sergei Zobov committedSep 5, 2023 Configuration menu - View commit details
-
Copy full SHA for 4557e7f - Browse repository at this point
Copy the full SHA 4557e7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a37352e - Browse repository at this point
Copy the full SHA a37352eView commit details