-
Notifications
You must be signed in to change notification settings - Fork 12
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
create requirements.txt without virtualenv? #26
Comments
was looking through the organization and also noticed a few other repos where this might also go like hoping to not maintain a script like (pypa/pipenv#2800 (comment)) from project to project |
For now the command is Currently the most convinient way to use code in this project is to get a packaged Once downloaded, run it inside your project, like this
You can interact with it like a normal CLI application ( |
|
Appveyor artifact is up: https://ci.appveyor.com/project/sarugaku/passa/build/artifacts I’ll investigate the problem in a moment. Does it help to supply the |
Can’t reproduce with 2.7 :( I’ll continue to explore. It’d be best if you could provide a step-by-step procedure that could reproduce this. Regarding zip vs pip (missed that question previously), Passa needs to be run inside the virtual environment like “traditional” Python tools (in contrast to Pipenv, which manages and finds the virtual environment for you), so if you use pip, you need to install it inside the virtual environment. But Passa has quite a lot of dependencies itself, and would contaminate your environment. The zip distribution prevents this by bundling all dependencies inside. I much prefer this approach, and might remove the entry on PyPI because it doesn’t really make sense for Passa to be used that way. |
|
I think I made progress. So this error is generated by argparse for TypeError and ValueError (that’s quite magical). The most likely source of this error is during TOML parsing, maybe there’s something wrong with your Pipfile, I guess? I just pushed a commit with better error messaging. Try if it emits something more useful. |
Pipfile: https://gist.github.com/AlJohri/5a74a073f77a3a9b186f46605ab89892 I downloaded the latest on appveyor to retest (build 1.0.8) but I got the same error as before |
I know what’s going on: I’m validating the Pipfile more strictly than Pipenv, and the |
Closing this since the topic issue is resolved. The error message improvement is tracked in #29. |
@uranusjr reopening pypa/pipenv#2800 (comment) here.
would the
passa lock
command be able to do what I want? and if not, would you be open to supporting it?thanks!
cc @techalchemy
The text was updated successfully, but these errors were encountered: