context7-cli-0.1.0
default.checks.x86_64-linux.package-context7-cli
· build #40
· raw
1Sourcing python-remove-tests-dir-hook2Sourcing python-catch-conflicts-hook.sh3Sourcing python-remove-bin-bytecode-hook.sh4Sourcing python-imports-check-hook.sh5Using pythonImportsCheckPhase6Sourcing python-namespaces-hook
unpackPhase
7unpacking source archive /nix/store/q3lbgm34v3bxrp9dcjcqprhjgwsq38kv-context7-cli8source root is context7-cli9setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "context7-cli/skills/SKILL.md"configurePhase
10no configure script, doing nothingfixupPhase
11shrinking RPATHs of ELF executables and libraries in /nix/store/92m84f6shq48x1n3bj2s2xx7w57q919j-context7-cli-0.1.012checking for references to /build/ in /nix/store/92m84f6shq48x1n3bj2s2xx7w57q919j-context7-cli-0.1.0...13patching script interpreter paths in /nix/store/92m84f6shq48x1n3bj2s2xx7w57q919j-context7-cli-0.1.014/nix/store/92m84f6shq48x1n3bj2s2xx7w57q919j-context7-cli-0.1.0/bin/context7-cli: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.6/bin/python3"15stripping (with command strip and flags -S -p) in /nix/store/92m84f6shq48x1n3bj2s2xx7w57q919j-context7-cli-0.1.0/bin16Rewriting #!/nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.6/bin/python3 to #!/nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.617wrapping `/nix/store/92m84f6shq48x1n3bj2s2xx7w57q919j-context7-cli-0.1.0/bin/context7-cli'...18Executing pythonRemoveTestsDir19Finished executing pythonRemoveTestsDirinstallCheckPhase
20RUF100 [*] Unused `noqa` directive (non-enabled: `S602`)21 --> context7_cli.py:138:3522 |23136 | # config file, similar to how kagi-search handles password_command.24137 | # The user controls both the config and the command being executed.25138 | result = subprocess.run( # noqa: S60226 | ^^^^^^^^^^^^27139 | command,28140 | shell=True,29 |30help: Remove unused `noqa` directive31 |32137 | # The user controls both the config and the command being executed.33 - result = subprocess.run( # noqa: S60234138 + result = subprocess.run(35139 | command,36 |3738RUF100 [*] Unused `noqa` directive (non-enabled: `S310`)39 --> context7_cli.py:247:6840 |41245 | validate_url(url)42246 |43247 | request = urllib.request.Request(url, headers=make_headers()) # noqa: S31044 | ^^^^^^^^^^^^45248 |46249 | try:47 |48help: Remove unused `noqa` directive49 |50246 |51 - request = urllib.request.Request(url, headers=make_headers()) # noqa: S31052247 + request = urllib.request.Request(url, headers=make_headers())53248 |54 |5556RUF100 [*] Unused `noqa` directive (non-enabled: `S310`)57 --> context7_cli.py:250:7258 |59249 | try:60250 | with urllib.request.urlopen(request, timeout=30) as response: # noqa: S31061 | ^^^^^^^^^^^^62251 | data = json.loads(response.read().decode("utf-8"))63252 | results = [64 |65help: Remove unused `noqa` directive66 |67249 | try:68 - with urllib.request.urlopen(request, timeout=30) as response: # noqa: S31069250 + with urllib.request.urlopen(request, timeout=30) as response:70251 | data = json.loads(response.read().decode("utf-8"))71 |7273RUF100 [*] Unused `noqa` directive (non-enabled: `S310`)74 --> context7_cli.py:302:6175 |76300 | headers["Accept"] = "text/plain"77301 |78302 | request = urllib.request.Request(url, headers=headers) # noqa: S31079 | ^^^^^^^^^^^^80303 |81304 | try:82 |83help: Remove unused `noqa` directive84 |85301 |86 - request = urllib.request.Request(url, headers=headers) # noqa: S31087302 + request = urllib.request.Request(url, headers=headers)88303 |89 |9091RUF100 [*] Unused `noqa` directive (non-enabled: `S310`)92 --> context7_cli.py:305:7293 |94304 | try:95305 | with urllib.request.urlopen(request, timeout=60) as response: # noqa: S31096 | ^^^^^^^^^^^^97306 | content: str = response.read().decode("utf-8")98307 | return content99 |100help: Remove unused `noqa` directive101 |102304 | try:103 - with urllib.request.urlopen(request, timeout=60) as response: # noqa: S310104305 + with urllib.request.urlopen(request, timeout=60) as response:105306 | content: str = response.read().decode("utf-8")106 |107108Found 5 errors.109[*] 5 fixable with the `--fix` option.