-
Notifications
You must be signed in to change notification settings - Fork 22
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
windows installer generator broken #368
Comments
example 1: fractal% ./generate-win-installer.sh
So there are two problems (so far): It cannot locate a wheel for one dependency (netifaces) and it declares a wheel that should satisfy another one Pynacl to be incompatible. tried giving specific python versions as argument to script 3.8.0, 3.8.1 ... 3.8.8 same result. >8 gaven an unknown URL presumably those versions do not exist yet. |
netifaces appears to have not made a release for a couple of years, so it doesn't have a pre-compiled wheel for Python 3.8: al45tair/netifaces#55 |
You might also want to put |
Is it possible that this is just the netifaces developer thinking cp36 is good for >= 3.6 just like the other packages? If there is no higher version, should it not just pull in the 3.6 one.. the fact that it doesn't contradicts the work you are doing for other packages (Cryptography) |
I'm afraid not. This is the difference between the This is also why netifaces has Github issues open asking for wheels for Python 3.8 and 3.9. |
If you want a quick solution, someone appears to have made a fork just to put a Python 3.8 wheel on PyPI: https://pypi.org/project/netifaces-w38/#files . But using that means trusting that the random person who built it hasn't added something malicious to the package. It's probably unlikely that any given package is malicious, but this would be a very easy way to carry out a supply-chain attack: find a widely used package that needs compilation but has stopped making pre-built packages, upload newer packages that work but also contain a backdoor, then sit back and wait for people to use them. There's no need to hack anything and it's not easy to detect, at least until the backdoor is put to use, which could be once it's already on thousands of systems. |
Thanks for the suggestion. I have created a package using that. Trying it out (the netifaces stuff works, but have not been able to confirm that the cryptography part works... need an sftp upstream, which is not in my test environnment.) http://hpfx.collab.science.gc.ca/~pas037/Sarracenia_Releases/Sarracenia_2.21.03post2.exe You can play with it if you want. |
…ic flow polling over sftp." This reverts commit 530e7ab.
A lot of work was done to get a working windows executable v3.0.44, and we got a new version for that: https://github.com/MetPX/sarracenia/releases/tag/v3.00.44 There is a self-extracing executable that was kind of working for that version, but it has a problem with log rotation ( #785 ) so you need to stop it, then rotate the logs, then start it up again... (After working on #748, #753, and many other fixes in release 3.00.43. I went to create a binary for 3.00.45... it fails again... some dependency issue. |
sample run of the procedure (procedure is here: sample run:
pathtools is not a known dependency of the package looking into the elided log... |
On ubuntu 18.04, it fails without a python interpreter version I can invoke ./generate-win-installer 3.6.8
and get a package generated successfully. (note it also fails on 18.04 if I do not specify the python interpreter version.)
I cannot determine any combination of settings that generates a package on ubuntu 20.04. Variety of different failure modes to be indicated in future posts to this bug. just a place marker for now as a worry about sustainability of this method.
Using 22.04, now, for versions (spring 2023) 3.00.43, and (summer 2023) 3.00.44, the installer generation was working again, but for 3.00.45 (fall 2023) it broke again. It isn't reliable enough to depend on.
The text was updated successfully, but these errors were encountered: