Poetry2nix | 313 Members | |
| https://github.com/nix-community/poetry2nix | 59 Servers |
| Sender | Message | Time |
|---|---|---|
| 26 Mar 2022 | ||
In reply to @sephi:matrix.orgi'm newbie with nix, but as far as i can understand, proper way to achieve desired, is to make override with custom build paramaters. poetry2nix uses nixpkgs.buildPythonPackage. So i believe there are plenty of post* hooks, which you can use to add aditional step to your build. You only need to figure out proper way to override resulting derivation. | 08:45:18 | |
In reply to @mou_bugtracker:matrix.orgare you replying to me? sorry can't see what you're replying to | 08:45:58 | |
In reply to @asymmetric:matrix.dapp.org.ukto sephi | 08:46:38 | |
In reply to @asymmetric:matrix.dapp.org.ukI do not know, but if i decided to try, i start by looking into pyproject.toml transformation, where dependencies are converted to buildInputs. poetry build-system.requires should be added to nativeBuildInputs of resulting buildPythonPackage. | 08:51:33 | |
| This is just my hypothesis ) | 08:52:09 | |
| 29 Mar 2022 | ||
| 08:32:08 | ||
| 30 Mar 2022 | ||
In reply to @mou_bugtracker:matrix.orgGood point, thanks for the hint. I’ll see if I can find something | 13:22:04 | |
| 31 Mar 2022 | ||
| mou asymmetric: The core problem would be solved by this upstream PR https://github.com/python-poetry/poetry/pull/2794 | 01:57:09 | |
| 1 Apr 2022 | ||
| 12:44:31 | ||
Hello everyone. I was trying to compile a project and the derivation failed when encountering the atomics pip package (https://pypi.org/project/atomics/) with this error:ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. | 12:46:14 | |
* Hello everyone. I was trying to compile a project and the derivation failed when encountering the atomics pip package (https://pypi.org/project/atomics/) with this error: ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. | 12:46:33 | |
| Scroll up | 12:53:33 | |
* Hello everyone. I was trying to compile a project and the derivation failed when encountering the atomics pip package (https://pypi.org/project/atomics/) with this error: "ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output." | 12:53:34 | |
| There's probably a more useful error there | 12:53:39 | |
| ok | 12:53:49 | |
| I found this | 12:55:12 | |
| Running command python setup.py egg_info Traceback (most recent call last): File "<string>", line 1, in <module> File "/data/data/com.termux.nix/files/usr/tmp/nix-build-python3.9-atomics-1.0.2.drv-0/pip-req-build-44p_cncj/setup.py", line 6, in <module> import git ModuleNotFoundError: No module named 'git' | 12:55:22 | |
| * Running command python setup.py egg_info Traceback (most recent call last):File "<string>", line 1, in <module> File "/data/data/com.termux.nix/files/usr/tmp/nix-build-python3.9-atomics-1.0.2.drv-0/pip-req-build-44p_cncj/setup.py", line 6, in <module> import git ModuleNotFoundError: No module named 'git' | 12:55:33 | |
| Looks like it's missing some dependency | 12:55:41 | |
| You can fix that with an override | 12:55:45 | |
| But it might be a good idea to report this upstream too | 12:55:54 | |
| Ok, you mean report upstream using an issue? | 12:56:11 | |
| Yes | 12:57:27 | |
| Ok, thanks for the help | 12:57:44 | |
| 2 Apr 2022 | ||
| I've encountered another problem similar to the first one (running nix-build with the suggested configuration). This time, the building of a package called `midi2audio` fails with this error: output = open(markdown_filename).read() FileNotFoundError: [Errno 2] No such file or directory: '/data/data/com.termux.nix/files/usr/tmp/nix-build-python3.9-midi2audio-0.1.1.drv-1/pip-req-build-fbu9mj_8/README.md' | 14:55:54 | |
| * I've encountered another problem similar to the first one (running nix-build with the suggested configuration). This time, the building of a package called `midi2audio` fails with this error: ``` output = open(markdown_filename).read() FileNotFoundError: [Errno 2] No such file or directory: '/data/data/com.termux.nix/files/usr/tmp/nix-build-python3.9-midi2audio-0.1.1.drv-1/pip-req-build-fbu9mj_8/README.md' ``` | 14:56:11 | |
| * I've encountered another problem similar to the first one (running nix-build with the suggested configuration). This time, the building of a package called `midi2audio` fails with this error: ~~~ output = open(markdown_filename).read() FileNotFoundError: [Errno 2] No such file or directory: '/data/data/com.termux.nix/files/usr/tmp/nix-build-python3.9-midi2audio-0.1.1.drv-1/pip-req-build-fbu9mj_8/README.md' ~~~ | 14:56:23 | |
| * I've encountered another problem similar to the first one (running nix-build with the suggested configuration). This time, the building of a package called `midi2audio` fails with this error: output = open(markdown_filename).read() FileNotFoundError: [Errno 2] No such file or directory: '/data/data/com.termux.nix/files/usr/tmp/nix-build-python3.9-midi2audio-0.1.1.drv-1/pip-req-build-fbu9mj_8/README.md' | 14:56:36 | |
| That looks like another upstream issue | 15:00:42 | |
| Source distribution does not include file referenced from setup.py
https://github.com/bzamecnik/midi2audio/blob/2174329842e7c5fc777d900d8222eb6382adea33/setup.py#L13 | 15:02:03 | |