Poetry2nix | 322 Members | |
| https://github.com/nix-community/poetry2nix | 62 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Jul 2024 | ||
| I'm trying to get a dev env fully reproducible for a paper I submitted to a conference | 16:45:35 | |
| And Python is making everything explode badly | 16:45:42 | |
| 😭 | 16:45:47 | |
In reply to @pepe:runas.rocksit does do that.. | 19:33:23 | |
| 14 Jul 2024 | ||
Funnily enough, switching to Python 3.12 seems to alleviate the issue with bcrypt but now I get the same exact error with diffutils... | 19:53:10 | |
Actually, no. bcrypt fails in the same way... | 19:53:38 | |
In reply to @tyberius_prime:matrix.orgCan you please give me your files? I am going crazy here | 19:53:58 | |
Is there a way to use bcrypt from nixpkgs instead? | 19:56:42 | |
| 16 Jul 2024 | ||
| peppino: send you a PM | 11:08:53 | |
Is there a way to force a package - in my case bcrypt - not to use preferWheels = true? | 20:12:56 | |
| I tried with this:
But it doesn't work :-( | 20:13:23 | |
| Delete delete delete, I RTFM | 20:26:45 | |
| 🤦♂️ | 20:26:51 | |
| 18 Jul 2024 | ||
| 21:40:02 | ||
| I have a monorepo structured like so:
Where I've tried:
My understanding was that nix (like docker) copies the entire sub-directory structure, so it might be missing "sibling" folders (i.e. w/ same parent directory)
But I still get the What's the expected way for me to make this structure work? | 21:42:09 | |
| 19 Jul 2024 | ||
In reply to @notwren:matrix.org I have some thing like
| 08:27:26 | |
| I'm wondering if poetry2nix could be used to build wheels of all my dependencies? I have to maintain dependencies manually in the Docker file :( | 08:36:40 | |
| And your production environment consumes what, wheels directly? | 08:43:53 | |
| Yep, I just install them. Production environment installer, will just setup a virtualenv and use pip --no-index --find-link to install all the packages. Not using nix in production (yet) | 08:50:58 | |
| * Yep, Production environment installer, will just setup a virtualenv and use pip --no-index --find-link to install all the packages. Not using nix in production (yet) | 08:51:35 | |
| Yeah the problem with doing that is that Nix-built wheels will reference Nix store paths | 08:51:41 | |
| So you can't just install them | 08:51:44 | |
| Ah | 08:51:57 | |
| It might still be possible to get the right build environment using nix (and perhaps info from poetry2nix) I built some wheels manually on nix using the pip wheel command and I don't see any nix references in the result | 09:00:01 | |
| They'll show up if you have native library dependencies | 09:01:49 | |
| Ah yes
| 09:03:56 | |
| 09:14:48 | ||
| 10:05:57 | ||
| Hello, I am scratching my head against a problem I have. What I am trying to do ? I want to transform a python application into a Nix package with all the dependencies to either integrate it to a NixOS server, or to just run the application from a system with Nix. The project has few specific point :
What I was able to do ? I was able to successfully run the project inside a I was able to build my packages with
The workaround I found was to set the
However I still face issue in my code where
What flake is use ?
What the problem is from my understanding ? I think I am facing multiple issues :
I am at a point where I tested everything, even absurd things. I created a test project to highlight my issues. Please let me know if I should post my message elsewhere. Would someone can help or assit me in the process please ? | 13:01:25 | |
| * Hello, I am scratching my head against a problem I have. What I am trying to do ? I want to transform a python application into a Nix package with all the dependencies to either integrate it to a NixOS server, or to just run the application from a system with Nix. The project has few specific point :
What I was able to do ? I was able to successfully run the project inside a I was able to build my packages with
The workaround I found was to set the
However I still face issue in my code where
What flake is use ?
What the problem is from my understanding ? I think I am facing multiple issues :
I am at a point where I tested everything, even absurd things. I created a test project to highlight my issues. Please let me know if I should post my message elsewhere. Would someone can help or assit me in the process please ? | 13:01:53 | |