-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
private-gpt: init at 0.5.0 #299738
private-gpt: init at 0.5.0 #299738
Conversation
044f26c
to
d048315
Compare
65c283d
to
91a0492
Compare
#299768 will provide some of the
|
91a0492
to
8951c76
Compare
8951c76
to
d68e45a
Compare
postInstall = '' | ||
makeWrapper ${python3Packages.python.interpreter} $out/bin/private-gpt \ | ||
--prefix PYTHONPATH : "$PYTHONPATH" \ | ||
--add-flags "-m private_gpt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think upstream would accept a PR wrapping their uvicorn.run(...)
in:
def main():
...
if __name__ == "__main__":
main()
so that you could instead specify ...:main
in pyproject.toml's scripts
?
It's preferable to avoid setting PYTHONPATH
when possible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't use python usually and I'm not acquainted with its ecosystem. So the least help is very welcome .
d68e45a
to
770e778
Compare
cd9817b
to
9e50be9
Compare
9e50be9
to
0c97ced
Compare
The work continue on this PR : #305586 |
Should fix: #232681
Status: working
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.