3 months ago
Hi - Using nixpacks 1.29.1 my python app build works. when I switch to railpack, the build succeeds but the deploy fails with the following error:
TypeError: ArgumentParser.__init__() got an unexpected keyword argument 'allow_abbrev'.
I can't reproduce locally (though haven't tried installing railpack), but my guess is that it's somehow related to a conflict between the library argparse which is installed as a dep of a package and the (recently added) native python library.
I forced the same python version on the Railpack build that works on nixpacks, but no luck. So it makes me think either there's something totally obvious I'm missing or there's some subtle difference in the build process that causes the path to the external lib to take precedence over the internal one.
1 Replies
3 months ago
I've escalated this to the team. Will circle back when I hear something from them!
Status changed to Awaiting User Response railway[bot] • 3 months ago
Status changed to In Progress jake • 3 months ago
Status changed to Solved itsrems • 3 months ago