-
Notifications
You must be signed in to change notification settings - Fork 49
Support Windows? #32
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
Comments
What needs to be done to get there? |
|
Other "nice to have" - some way to run our test suite, since I don't think k5test will work there. |
So using the MIT KfW. I see the source is available as well as precompiled sources could we just wrap these to make it work? |
yeah, it really comes down to finding time and a Windows box to test on (plus setting up CI to make sure we don't break anything), plus tweaking |
I'm working on trying to hack this in myself let you know how i do. |
cool. Feel free to ping us on #python-gssapi on freenode if you have any questions best answered in a real-time manner (I'm usually on from 10:00-17:00EST) |
2a2b47b adds support for conditional compilation. Still missing are building wheels and running buildjob CI. Much like with Heimdal, a stretch goal is to port k5test so we can run the test suite there. |
I've been working on Windows support the past couple of days to get my company to move off of requests-kerberos (I had previously patched ccs-kerberos to work on Windows) and got everything to compile properly under VS Build Tools, MinGW, and MSYS. Unfortunately I won't be able to test until I'm back at work on Monday since k5test isn't ported yet. My current progress can be found here. Changes:
|
Everything seems to be working as expected. I was able to connect to our internal Apache Livy and Phoenix servers on Windows and use them as normal through requests-gssapi. |
That's awesome, well done! Do you have any idea how this could be tested in CI? (Presumably just checking that the build works, as we do with Heimdal, since the krb5 server parts don't run on Windows, but don't let me stop you if you're feeling ambitious.) |
I've been looking into it and Travis does support Windows now so I'll put some work into at the very least getting it to build and generate wheels. |
I've opened a pull request to start playing with the Travis build. Hopefully this goes more smoothly than I'm expecting. |
@frozencemetery I have it building on 2.7, 3.6, and 3.7 on Windows and I think I configured the deployment right, though I'm not sure. This is my first time using Travis (only experience with Jenkins, though I'm liking Travis a lot) so I might have missed something. Is there any way to do a mock deployment to test it? |
Either you figured it out, or I'm not understanding the question :) Please post a comment in that PR when it's ready for review. |
My question was purely about deploying the wheels. Not sure if I set it up right since you can't test deployment from a PR. I guess we can test once it's merged. |
@aiudirog So I ran into some problems trying to cut a release for this. I made some fixes - a6e3f08 and 5c80107 - but then I ran into failure trying to use pypi - first second and third subjobs. It seems to me - and please let me know if this isn't right - that we can't build wheels from Travis right now. That being the case, how would you feel about using Appveyor for this instead? (I think that works...) |
I just have to say---and I know that this isn't necessarily appropriate for an issue thread---that I really appreciate the work each of you is doing to help achieve this. I wish there were more I could do to help move things along. |
This seems to be the issue to keep an eye on. For now, we can probably just manually upload using a script deployment and twine. I'm going to give that a try before redoing the whole thing in Appveyor. |
We may wish to consider supporting Windows at some point
The text was updated successfully, but these errors were encountered: