-
Notifications
You must be signed in to change notification settings - Fork 106
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
Automatic extraction/requirements detection fails for dymoprint #560
Comments
Digging deeper, after adding a workaround for #529 (PR incoming, I'm not certain about it though):
pyqt6 isn't in the source distribution part of pypi-deps-db ('"FileNotFoundError: [Errno 2] No such file or directory: 'setup.py'",). The binaries apparently only go up to python 3.9, but mach-nix isn't seeing any of them from pypi-deps-db. The nixpkgs PyQt6 in 23.05 is 6.5.0 which is too new for the last pypi-debs-db (it's currently not updating...). so you have to go to 22.11, but that's got 6.4.0 and the pyqt6-tools release on pypi needs 6.4.2. And 22.05 didn't have pyqt6 at all. So you need nixpkgs rev f519c1e43c38d6e27cc84c57709a309804d4fada. And then you're missing pyqt6-qt6 which has no source distribution on pypi. Sorry, gotta go do something else at this point. Here's' the flake I got so far
|
That's pretty involved but it looks like you put a lot of effort into it. Will this be stable enough to submit to nixpkgs? EDIT: And thanks |
Unfortunately, mach-nix is all about 'import from derivation' - derivations computing what derivations are actually needed. That's a no-go in nixpkgs. But of course, at the point where you have a working mach-nix setup, it's just mechanical to get it to something nixpkgs can accept. |
For some reason, even with the latest rev (8d90307), automatic everything fails with https://github.com/computerlyrik/dymoprint.
default.nix:
Note that PyQt6 and PyQt6-tools do not seem to exist, but it does not say this is the problem.
Unfortunately as part of the troubleshooting process I tried updating nix, so now I'm getting #549.
If I comment the pname,version,requirements out I get:
The text was updated successfully, but these errors were encountered: