mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
f3d864521b
+ Adjust the patch, which did not seem to apply correctly.
+ Disable deprecation tests, which trigger a build failure.
Fixes: 6ac2d27e70
23 lines
891 B
Diff
23 lines
891 B
Diff
diff --git a/piptools/scripts/compile.py b/piptools/scripts/compile.py
|
|
index 195faa7..3e69437 100755
|
|
--- a/piptools/scripts/compile.py
|
|
+++ b/piptools/scripts/compile.py
|
|
@@ -9,7 +9,7 @@ from pathlib import Path
|
|
from typing import IO, Any, BinaryIO, cast
|
|
|
|
import click
|
|
-from build import BuildBackendException
|
|
+from build import BuildException
|
|
from click.utils import LazyFile, safecall
|
|
from pip._internal.req import InstallRequirement
|
|
from pip._internal.req.constructors import install_req_from_line
|
|
@@ -369,6 +369,6 @@ def cli(
|
|
isolated=build_isolation,
|
|
quiet=log.verbosity <= 0,
|
|
)
|
|
- except BuildBackendException as e:
|
|
+ except (BuildException, StopIteration) as e:
|
|
log.error(str(e))
|
|
log.error(f"Failed to parse {os.path.abspath(src_file)}")
|
|
sys.exit(2)
|