Poetry2nix | 323 Members | |
| https://github.com/nix-community/poetry2nix | 62 Servers |
| Sender | Message | Time |
|---|---|---|
| 1 Jul 2022 | ||
| 14:26:22 | ||
| Hello! I'm new to Python and poetry2nix, though not to programming or Nix. I'm joining a project that's using Poetry, though the other team member's don't use Nix. The project has some dependencies on packages that are in private repositories that need credentials. | 14:28:19 | |
| I saw https://github.com/nix-community/poetry2nix/pull/390 but it's not 100% clear to me how I should actually use this | 14:29:04 | |
| 2 Jul 2022 | ||
| Does anyone know why adding a dependency in the form of a wheel URL doesn’t put any sha256 in the lockfile? | 08:37:24 | |
I have the following dependency wagtail = {url = "https://github.com/sephii/wagtail/releases/download/v3.0.1/wagtail-3.0.1-py3-none-any.whl"} but in the lockfile I have wagtail = [], and then poetry2nix fails with error: in pure evaluation mode, 'fetchTarball' requires a 'sha256' argument | 08:38:02 | |
| Sounds like an upstream problem | 08:38:17 | |
| You mean a problem with poetry? It seems no one has reported this issue which seems quite… big | 08:40:19 | |
| (Python packaging is such a mess :/ ) | 08:43:12 | |
| Maybe just add it as a git dependency instead? | 08:44:47 | |
| Those definitely work | 08:44:51 | |
(I’m just trying to install wagtail with poetry, but wagtail depends on an old beautifulsoup4 version that depends on a use_2to3 setuptools option, which is not available in setuptools>58, but poetry seems to force the use of setuptools 62 so I forked the wagtail repository to relax the dependency to beautifulsoup4, and I can’t just use a git dependency for my repository because it needs compiled files, which are excluded from the git repository) | 08:46:59 | |
| Anyway, I ended up removing all the .gitignore files and committed the compiled assets to the repository. I’m not proud of myself, but it should work ^^ | 08:47:33 | |
| 4 Jul 2022 | ||
| 15:34:09 | ||
| Hi all, I'm trying to install a package that depends on the
I see here that a number of modifications are applied for this package already, so maybe it's just a matter of them being outdated? | 15:37:29 | |
I can't quite tell if this is something that I should just try to override somehow or if it needs to be fixed in poetry2nix | 15:48:01 | |
| 5 Jul 2022 | ||
| 07:36:14 | ||
Hi. Using current nixpkgs at nixos-22.05, I have a completely trivial call to mkPoetryApplication { projectDir = ./.; }, but it errors out with https://gist.github.com/dminuoso/7d9699a95e8c1cb0dafdd733d86bb1bd | 07:37:22 | |
| I am a bit baffled as to why it cant find --ldap_r | 07:37:47 | |
| After some trace debugging I have asserted that python-ldap receives openldap in its buildInputs, so there's that at least. | 08:07:59 | |
| 6 Jul 2022 | ||
In reply to @dminuoso:matrix.orgHm, maybe try NIX_DEBUG=1 to get lots of output from the GCC wrapper? | 06:54:47 | |
| 06:55:29 | ||
| Hello.
It seems that the patch described in Do you know what I could do and if I should open an issue ? | 06:58:17 | |
| * Hello.
It seems that the patch described in It is strange : the Do you know what I could do and if I should open an issue ? | 06:59:57 | |
| linus: Thanks. After a good nights sleep and a helpful rubber duck I realized that the error was quite spot on.. and exactly the problem. | 12:55:22 | |
Having openldap in buildInputs does not magically mean an ldap_r shared object can be found there. That derivation must actually produce that file too... | 12:55:55 | |
| In nixos-22.05 openldap was upgraded to 2.6, which no longer brings ldap_r.so | 12:56:15 | |
| oh nice haha | 13:50:50 | |
| 7 Jul 2022 | ||
In reply to @thoth101010:matrix.org I found out that the file it edits exists in develop but not in the last stable version of Isn’t it counterintuitive to have a replacement not suitable to the pip version ? | 09:18:35 | |
In reply to @thoth101010:matrix.org* I found out that the file it edits exists in develop but not in the last stable version of Isn’t it counterintuitive to have a replacement not suitable to the pip version ? | 09:19:48 | |
| * I found out that the file it edits exists in develop but not in the last stable version of Isn’t it counterintuitive to have a replacement not suitable to the library version ? | 09:21:02 | |