-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
pythonPackages.pywinrm: 0.1.1 -> 0.2.2 #26161
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
Conversation
@elasticdog, thanks for your PR! By analyzing the history of the files in this pull request, we identified @FRidh to be a potential reviewer. |
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 see the header of the file and move the expressions.
pkgs/top-level/python-packages.nix
Outdated
sha256 = "12cwv0ywlfvspnpjlc49yccnzp7ijvjwrzhl31wzb0y4kqgzzxx0"; | ||
}; | ||
|
||
buildInputs = with self; [ mock pytest unittest2 ]; |
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.
checkInputs
pkgs/top-level/python-packages.nix
Outdated
}; | ||
|
||
propagatedBuildInputs = with self; [ isodate kerberos xmltodict ]; | ||
buildInputs = with self; [ mock pytest ]; |
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.
checkInputs
Typically it tries to load the library somewhere with ctypes or cffi. In that function, don't let it use the name of the library but instead pass in the absolute path to the library. |
e5b79fe
to
d4553a1
Compare
Thank you for the feedback! I force pushed the branch after added the following changes:
|
@FRidh were you wanting any other changes here? Everything is working properly for me when using it locally. I don't have any real experience with the Kerberos ecosystem, and I did try to trigger the runtime error with the old pywinrm package version (which is why it got labeled as broken) by following the basic instructions laid out in diyan/pywinrm#21, but couldn't reproduce the problem. If you want, I can try to add back in the kerberos support as an optional install and package up the new |
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.
Haven't tested it but looks good to me.
Motivation for this change
Bump version to latest upstream release and remove the already broken/optional Kerberos support.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)The latest version of pywinrm has a new dependency on requests_ntlm which requires the lower-level ntlm-auth. I've removed the optional kerberos dependency, as it was already broken, now requires additional dependencies to function, and I couldn't figure out a clean way of manipulating the
LD_LIBRARY_PATH
(or patch things with the absolute path) to fix the original error:The other changed dependencies were just making things accurate with the upstream requirements. Here's the
pipdeptree
output, if you're curious:The tests I disabled require a local IIS server and network access.