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
pythonPackages.sip: rename the module from PyQt5.sip back to sip #52897
Conversation
I don't think this is a good way to solve the issue. This introduces a patch that needs maintenance and may cause breakage for packages that will The first commit is good IMO, I arrived at the same: 5a8b98f |
Yes, it has to be maintained, but I think it is a right fix: we don't need a copy of |
Since
and one has not responded to the bug report: It seems that sticking to |
@orivej You've convinced me that your approach is technically sound. But I still don't understand why we should insist on not providing |
It may be possible, but it is more complex to evaluate the result. I have tried to put this: from __future__ import absolute_import
from sip import * into
The last approach is the most promising, but it is wasteful, and it is not clear whether it would work with applications that were not updated for |
The first is not present in configure, and the second has happened upstream.
PyQt5 5.11 wants a copy of sip in PyQt5.sip to ensure that sip-generated PyQt5 modules have the correct sip runtime version. This issue is not relevant to Nixpkgs, therefore PyQt5 may be reverted to use the common sip runtime. This is an alternative to NixOS#52613 that does not break packages that need to import sip. Fixes the build of tortoisehg.
Motivation for this change
PyQt5 5.11 wants a copy of sip in PyQt5.sip to ensure that sip-generated PyQt5 modules have the correct sip runtime version. This issue is not relevant to Nixpkgs, therefore PyQt5 may be reverted to use the common sip runtime.
This is an alternative to #52613 that does not break packages that need to import sip.
Fixes the build of tortoisehg.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)