Skip to content
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

qtile: add missing python package dependencies #99538

Merged
merged 2 commits into from Oct 21, 2020
Merged

Conversation

@vividn
Copy link
Contributor

@vividn vividn commented Oct 4, 2020

Motivation for this change

Qtile cannot connect to dbus and cause applications to freeze when they attempt to send notifications.
For example, slack will completely freeze when a new message comes in after it attempts to send a notification.

This is caused by an inability to import dbus and pygobject3 as evidenced by this error in the logs
WARNING libqtile manager.py:setup_eventloop():L240 importing dbus/gobject failed, dbus will not work.

Also added the python packages dependencies mentioned here:
#45039
DavHau/mach-nix#125

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Qtile cannot connect to dbus and cause applications to freeze when they attempt to send notifications.
For example, slack will completely freeze when a new message comes in after it attempts to send a notification.

This is caused by an inability to import dbus and pygobject3 as evidenced by this error in the logs
`WARNING libqtile manager.py:setup_eventloop():L240 importing dbus/gobject failed, dbus will not work.`

Also added the python packages dependencies mentioned here:
#45039
DavHau/mach-nix#125
@vividn vividn marked this pull request as ready for review Oct 4, 2020
@vividn
Copy link
Contributor Author

@vividn vividn commented Oct 5, 2020

Hey @kamilchm, this is my first PR on nixpkgs. Is there anything else I have to do here before this gets merged in?

@kamilchm
Copy link
Member

@kamilchm kamilchm commented Oct 5, 2020

Hi, anything we can do now is waiting for someone with merge permission, which should happen shortly.

@vividn
Copy link
Contributor Author

@vividn vividn commented Oct 8, 2020

I notice that this PR doesn't appear when searching for "review:approved" in the PR list. Probably because I marked it ready to review after you already approved it. Would you mind reapproving it?

@vividn vividn requested a review from kamilchm Oct 8, 2020
@vividn
Copy link
Contributor Author

@vividn vividn commented Oct 21, 2020

Hey @Lassulus, I noticed you were the last committer for qtile. Could you review and merge this? The changes are minimal. Sorry if this is the wrong way to get it merged, but it's been a few weeks, and I'm worried that this PR will drift into backlog-hell.

@Lassulus Lassulus merged commit 46fac2f into NixOS:master Oct 21, 2020
17 checks passed
17 checks passed
@github-actions
tests tests
Details
@github-actions
action
Details
@ofborg
Evaluation Performance Report Evaluator Performance Report
Details
@github-actions
Wait for ofborg
Details
@ofborg
grahamcofborg-eval ^.^!
Details
@ofborg
grahamcofborg-eval-check-maintainers matching changed paths to changed attrs...
Details
@ofborg
grahamcofborg-eval-check-meta config.nix: checkMeta = true
Details
@ofborg
grahamcofborg-eval-darwin nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="d823965"; rev="d823965b188fdc6df165e2060b15e78f42f5e2a9"; } ./pkgs/t
Details
@ofborg
grahamcofborg-eval-lib-tests nix-build --arg pkgs import ./. {} ./lib/tests/release.nix
Details
@ofborg
grahamcofborg-eval-nixos nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="d823965"; rev="d823965b188fdc6df165e2060b15e78f42f5e2a9"; } ./nixos/
Details
@ofborg
grahamcofborg-eval-nixos-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="d823965"; rev="d823965b188fdc6df165e2060b15e78f42f5e2a9"; } ./nixos/
Details
@ofborg
grahamcofborg-eval-nixos-options nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="d823965"; rev="d823965b188fdc6df165e2060b15e78f42f5e2a9"; } ./nixos/
Details
@ofborg
grahamcofborg-eval-nixpkgs-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="d823965"; rev="d823965b188fdc6df165e2060b15e78f42f5e2a9"; } ./pkgs/t
Details
@ofborg
grahamcofborg-eval-nixpkgs-tarball nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="d823965"; rev="d823965b188fdc6df165e2060b15e78f42f5e2a9"; } ./pkgs/t
Details
@ofborg
grahamcofborg-eval-nixpkgs-unstable-jobset nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="d823965"; rev="d823965b188fdc6df165e2060b15e78f42f5e2a9"; } ./pkgs/t
Details
@ofborg
grahamcofborg-eval-package-list nix-env -qa --json --file .
Details
@ofborg
grahamcofborg-eval-package-list-no-aliases nix-env -qa --json --file . --arg config { allowAliases = false; }
Details
@Lassulus
Copy link
Member

@Lassulus Lassulus commented Oct 21, 2020

@vividn sure.
I guess its an okay way to get attention. Maybe you can add me to reviewers next time, then I will get notified by github. Stuff could still fall under the rug though :D

@vividn vividn deleted the vividn:patch-1 branch Oct 21, 2020
@vividn
Copy link
Contributor Author

@vividn vividn commented Oct 21, 2020

Thanks!
As far as I could tell, I didn't have permissions to add reviewers. The gear icon wasn't appearing for me--it seems entirely automated by bots.

@nixos-discourse
Copy link

@nixos-discourse nixos-discourse commented Dec 19, 2020

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/qtile-and-widgets/10590/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants