-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: build failureA package fails to buildA package fails to build
Description
Nixpkgs version
- Unstable (25.11)
Steps to reproduce
nix build github:NixOS/nixpkgs/71b99313a77f#legacyPackages.x86_64-linux.python3Packages.cssselect
71b9931 is, at time of raising, the tip of the staging branch.
Can Hydra reproduce this build failure?
Hydra doesn’t try to build the package.
Link to Hydra build job
No response
Relevant log output
cssselect> Executing pytestCheckPhase
cssselect> pytest flags: -m pytest .
cssselect> ============================= test session starts ==============================
cssselect> platform linux -- Python 3.13.5, pytest-8.3.5, pluggy-1.6.0
cssselect> rootdir: /build/cssselect-1.3.0
cssselect> configfile: pyproject.toml
cssselect> collected 16 items / 1 error
cssselect>
cssselect> ==================================== ERRORS ====================================
cssselect> ____________________________ ERROR collecting docs _____________________________
cssselect> /nix/store/9yh9ak97gn659bk4d3n411fx6c0ng7s2-python3-3.13.5/lib/python3.13/importlib/__init__.py:88: in import_module
cssselect> return _bootstrap._gcd_import(name[level:], package, level)
cssselect> <frozen importlib._bootstrap>:1387: in _gcd_import
cssselect> ???
cssselect> <frozen importlib._bootstrap>:1360: in _find_and_load
cssselect> ???
cssselect> <frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
cssselect> ???
cssselect> <frozen importlib._bootstrap>:935: in _load_unlocked
cssselect> ???
cssselect> /nix/store/wgsyfx61zjfddkxghfy6qdkpnrwc83rh-python3.13-pytest-8.3.5/lib/python3.13/site-packages/_pytest/assertion/rewrite.py:185: in exec_module
cssselect> exec(co, module.__dict__)
cssselect> docs/conftest.py:3: in <module>
cssselect> from sybil import Sybil
cssselect> E ModuleNotFoundError: No module named 'sybil'
cssselect> =========================== short test summary info ============================
cssselect> ERROR docs - ModuleNotFoundError: No module named 'sybil'
cssselect> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
cssselect> =============================== 1 error in 0.29s ===============================Additional context
git bisect shows the failure was introduced at 5bf25df with #425191.
I've not tried to investigate whether there are other packages hitting the same behaviour, this is just the one I encountered as part of testing #434809.
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.6.87.2-microsoft-standard-WSL2, NixOS, 25.05 (Warbler), 25.05.20250629.b43c397 - multi-user?:
yes - sandbox:
relaxed - version:
nix-env (Nix) 2.28.3 - channels(root):
"" - nixpkgs:
/nix/store/j95fcik6rzsydwips4m89dmlvfj9hg9y-source
Notify maintainers
No package maintainers.
Key folks involved with #425191: @ShamrockLee @wolfgangwalther.
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to buildA package fails to build