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

system-config-printer: fix python path #32024

Merged
merged 1 commit into from Nov 25, 2017

Conversation

andir
Copy link
Member

@andir andir commented Nov 25, 2017

propagated dependencies were not added to PYTHONPATH

Motivation for this change

Installed a vanilla gnome3 with printing enabled. Figured out the printer configuration dialog wasn't working.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

propagated dependencies were not added to PYTHONPATH
@andir andir force-pushed the unstable-fix-gnome3-printing branch from b69cbfa to 3f1c436 Compare November 25, 2017 11:39
@Mic92 Mic92 merged commit 03207c0 into NixOS:master Nov 25, 2017
@andir andir deleted the unstable-fix-gnome3-printing branch November 25, 2017 14:36
@FRidh
Copy link
Member

FRidh commented Nov 25, 2017

This was supposedly fixed by #30606 (comment) which is pushed since then to staging. Can you test on staging?

This was in already, considering requiredPythonModules was removed.

If it fixed it indeed, then this needs to be reverted. We really shouldn't use --prefix PYTHONPATH.

@FRidh
Copy link
Member

FRidh commented Nov 25, 2017

Original issue: #30596

@andir
Copy link
Member Author

andir commented Nov 25, 2017

I'll try to reproduce and test this again. My test box is currently upgrading to unstable... Will report back once I have results.

@andir
Copy link
Member Author

andir commented Nov 25, 2017

You can revert this PR.
@FRidh It does indeed work on 18.03 (but not on 17.09). Sorry for the noise.

@FRidh
Copy link
Member

FRidh commented Nov 26, 2017

Thanks for checking it. I reverted the change on master (f83bb7d).

FRidh added a commit that referenced this pull request Nov 26, 2017
…ting"

This reverts commit 03207c0, reversing
changes made to 822342f.

Reverted because the change was not needed anymore:
#32024 (comment)
@bjornfor
Copy link
Contributor

Now I'm confused. The patch is reverted on master and not on release-17.09. Is that how it's supposed to be?

@andir
Copy link
Member Author

andir commented Nov 26, 2017 via email

@FRidh
Copy link
Member

FRidh commented Nov 26, 2017

@bjornfor master received a new feature, #30606, which includes the function requiredPythonModules, which was needed here. I do no intend to backport this although of course that could be discussed.

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

Successfully merging this pull request may close these issues.

None yet

5 participants