-
-
Notifications
You must be signed in to change notification settings - Fork 13.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
smassh: 3.1.4 -> 3.1.6 #345631
smassh: 3.1.4 -> 3.1.6 #345631
Conversation
|
Hi @khaneliman, The dooit PR had some tests issue right due to textual version mismatch? Instead of pinning textual version, I can update the repo instead |
dooit and smassh both got broken at runtime with the textual 81 update. File "/nix/store/y40ddcl2k6d5lqsdhh14d9xylqy16ayf-python3.11-textual-0.81.0/lib/python3.11/site-packages/textual/message_pump.py", line 109, in __new__
class_obj = super().__new__(cls, name, bases, class_dict, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/y40ddcl2k6d5lqsdhh14d9xylqy16ayf-python3.11-textual-0.81.0/lib/python3.11/site-packages/textual/app.py", line 785, in __init_subclass__
raise ValueError(
ValueError: SCREENS should contain a Screen type or callable, not an instance (got instance of MainScreen for 'main') |
It can be updated upstream to support a newer version of textual, but we just need to unbreak it with the current version of the package here, too. |
Yep. I'm working on it (will push an update in a few minutes), I see that on nixos stable, the textual version is 0.53 but on unstable its the latest (0.81) this will be handled automatically. |
Ah I see. Sure I also pushed a newer version so we can also add an update for that |
@kraanzu figured you want to be a maintainer for this so i added you |
Thanks @khaneliman, just one more change, you need to replace |
b03ce1a
to
70155e6
Compare
|
Hmmm...what went wrong here |
Hi @khaneliman , I think I found the issue and fixed I. You'll need to modify the version to 3.1.6 and change the hash accordingly. Other stuff should be fine |
sorry, made a tweak before going to bed and had a typo in the relaxedDeps |
|
|
Awesome. It works now ! |
Follow up to #345228 with similar fix since #344813 broke it.
EDIT: Also bumping versions released during PR
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.