-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
python312Packages.webassets: drop nose dependency #334483
Conversation
webassets: use patch
2d46848
to
f70e539
Compare
''; | ||
|
||
disabledTestPaths = [ | ||
"tests/test_filters.py" # no module "distutils" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you try adding setuptools?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in nativeCheckInputs
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still the same outcome:
____________________ ERROR collecting tests/test_filters.py ____________________
ImportError while importing test module '/build/webassets-2.0/tests/test_filters.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/l014xp1qxdl6gim3zc0jv3mpxhbp346s-python3-3.12.4/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_filters.py:15: in <module>
from distutils.spawn import find_executable
E ModuleNotFoundError: No module named 'distutils'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try adding distutils
to dependencies
or nativeCheckInputs
as appropriate.
f70e539
to
9a21413
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Result of nixpkgs-review pr 334483
run on aarch64-linux 1
12 packages failed to build:
- octoprint
- octoprint.dist
- pyload-ng
- pyload-ng.dist
- python311Packages.dukpy
- python311Packages.dukpy.dist
- python311Packages.flask-assets
- python311Packages.flask-assets.dist
- python312Packages.dukpy
- python312Packages.dukpy.dist
- python312Packages.flask-assets
- python312Packages.flask-assets.dist
4 packages built:
- python311Packages.webassets
- python311Packages.webassets.dist
- python312Packages.webassets
- python312Packages.webassets.dist
substituteStream() in derivation python3.12-flask-assets-2.1.0: ERROR: pattern static_path= doesn't match anything in file 'tests/test_integration.py'
@pyrox0 Did you want to handle this one too? Looks like the existing substitutions need updating or dropping. |
Submitted #348621, which builds on top of this PR and solves outstanding review comments. |
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.