-
-
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
python311Packages.connectorx: init at 0.3.3 #312884
base: master
Are you sure you want to change the base?
Conversation
3726a82
to
b126aa2
Compare
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.
Please also rename the PR to fit contributing conventions: pythonPackages.connectorx: init at 0.3.3; pythonPackages.deltalake: init at 0.17.4
b126aa2
to
904b723
Compare
904b723
to
d45ac5b
Compare
]; | ||
|
||
pythonImportsCheck = [ "connectorx" ]; | ||
|
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.
Could you please add pytestCheckHook
to nativeCheckInputs
?
https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md#using-pytestcheckhook-using-pytestcheckhook
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.
Please use python311Packages
instead of pythonPackages
.
pythonPackages
means python2
in nixpkgs.
Note that deltalake already has a PR #320485. |
d45ac5b
to
1184aab
Compare
dd76ff6
to
8e6dfa2
Compare
8e6dfa2
to
4d03c1a
Compare
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.
Could you format it with nixfmt-rfc-style
and look into the build error?
error: failed to load manifest for dependency `connectorx`
Caused by:
failed to parse manifest at `/build/source/connectorx/Cargo.toml`
Caused by:
dependency (serde) specified without providing a local path, Git repository, version, or workspace dependency to use
- move maturingBuildHook to build-system - use pkgs.krb5
@@ -2065,6 +2065,10 @@ self: super: with self; { | |||
|
|||
connection-pool = callPackage ../development/python-modules/connection-pool { }; | |||
|
|||
connectorx = callPackage ../development/python-modules/connectorx { | |||
krb5-c = pkgs.krb5; |
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.
Is this necessary? (Why not just use krb5
directly?)
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.
This is because it will otherwise try to use python3Packages.krb5
. This is following the comment from above #312884 (comment).
Description of changes
This adds the connectorx python package. These are used by several of the data science and dataframe libraries in the python ecosystem. Specifically, these are packaged now with the hope of better packaging of the polars in the future.
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.