-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
home-assistant: 0.116.4 -> 0.117.0 (+ additional package updates) #101968
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
Conversation
Tests require network access.
Also clean up the package and enable tests.
Clean up package and convert tests to pytestCheckHook.
@GrahamcOfBorg test home-assistant |
version = "0.16.1"; | ||
disabled = pythonOlder "3.6"; | ||
|
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.
looks like a regression:
builder for '/nix/store/667gj5w9jcysm7pad0b4lma5hv4zkggf-python3.7-asgi-csrf-0.7.drv' failed with exit code 2; last 10 log lines:
ImportError while importing test module '/build/source/test_asgi_csrf.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
test_asgi_csrf.py:7: in <module>
from httpx._content_streams import MultipartStream
E ModuleNotFoundError: No module named 'httpx._content_streams'
=========================== short test summary info ============================
ERROR test_asgi_csrf.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.15s ===============================
cannot build derivation '/nix/store/hda4799m3wcb5mfazk2x1s77i0v8qykr-python3.7-datasette-0.46.drv': 1 dependencies couldn't be built
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.
Probably related to encode/httpx@354c4ca.
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.
Reported in simonw/asgi-csrf#18.
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.
looks like they imported a private module... so shame on them
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.
maybe just disable that test?
Doesn't look like it's failing on anything exported by the module
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.
Disabled the tests on asgi-csrf and bumped the package to the latest version for good measure.
everything else passes:
|
The packages tests import a private module from httpx, that does not exist anymore in newer versions.
Result of 15 packages built:
|
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.
LGTM
Result of nixpkgs-review pr 101968 1
15 packages built:
- datasette (python38Packages.datasette)
- google-music-scripts
- home-assistant
- python27Packages.spotipy
- python37Packages.asgi-csrf
- python37Packages.datasette
- python37Packages.google-music
- python37Packages.httpcore
- python37Packages.httpx
- python37Packages.spotipy
- python38Packages.asgi-csrf
- python38Packages.google-music
- python38Packages.httpcore
- python38Packages.httpx
- python38Packages.spotipy
Motivation for this change
New upstream release. Also update and clean up dependencies.
https://github.com/home-assistant/core/releases
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)