Build and packaging library
  • Python 48.7%
  • Makefile 37.5%
  • Shell 13.8%
Find a file
Jan Lindemann f5a767eaf0
Some checks failed
Standard CI tests / Packaging - Kali Linux (pull_request) Successful in 4m31s
Standard CI tests / Packaging - OpenSUSE Tumbleweed (pull_request) Failing after 2m57s
Standard CI tests / Packaging test - All supported platforms (pull_request) Failing after 0s
project.conf: pkg.requires.suse.release -= python3-pyright

Running pyright in a minimal docker container gives this error:

$ pyright /usr/bin/npm-default: No such file or directory Traceback (most recent call last): File "/usr/bin/pyright-3.13", line 6, in <module> sys.exit(entrypoint()) ~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/pyright/cli.py", line 31, in entrypoint sys.exit(main(sys.argv[1:])) ~~~~^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/pyright/cli.py", line 18, in main return run(*args, **kwargs).returncode ~~~^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/pyright/cli.py", line 22, in run pkg_dir = install_pyright(args, quiet=None) File "/usr/lib/python3.13/site-packages/pyright/_utils.py", line 69, in install_pyright node.run( ~~~~~~~~^ 'npm', ^^^^^^ ...<5 lines>... stderr=subprocess.PIPE if silent else sys.stderr, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.13/site-packages/pyright/node.py", line 144, in run subprocess.run(node_args, **kwargs), ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.13/subprocess.py", line 577, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['/usr/bin/npm', 'install', \ 'pyright@1.1.409']' returned non-zero exit status 255.

This means that on openSUSE, python3-pyright tries to pull in packages from the NPM registry. This increases the CI supply chain attack surface inacceptably, so remove pyright from the release prerequisites. That should be enough to remove it from the prerequisites of target check as well and allow it to succeed.

The pyright check machinery itself remains useful, so keep it in place for developers who install python3-pyright manually.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-06-08 16:30:41 +02:00
.github/workflows workflows/(build-package.yaml -> standard-tests.yaml) 2026-06-03 15:29:22 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf pyproject.toml: Enforce import annotations style 2026-06-01 14:34:25 +02:00
make project.conf: pkg.requires.suse.release -= python3-pyright 2026-06-08 16:30:41 +02:00
scripts projects-dir.mk: Remove "-l user" in ssh-wrapper.sh 2026-06-07 12:06:02 +02:00
src lib.init.detect_modules(): Renovate signature 2026-06-06 23:08:28 +00:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-234@suse-tumbleweed/x86_64 2026-06-07 11:30:51 +00:00
Makefile $(TOPDIR)/Makefile: include py-topdir.mk 2026-05-31 18:20:35 +02:00
RELEASES Release 1.0.0-234@suse-tumbleweed/x86_64 2026-06-07 11:30:51 +00:00
VERSION Start version: 1.0.0-234 2026-06-07 10:17:54 +00:00