Skip to content
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

confluent-kafka: init at 0.9.4 #25879

Merged
merged 1 commit into from
May 20, 2017
Merged

confluent-kafka: init at 0.9.4 #25879

merged 1 commit into from
May 20, 2017

Conversation

mlieberman85
Copy link
Contributor

@mlieberman85 mlieberman85 commented May 18, 2017

Motivation for this change
Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

@mention-bot
Copy link

@mlieberman85, thanks for your PR! By analyzing the history of the files in this pull request, we identified @FRidh to be a potential reviewer.

@mlieberman85
Copy link
Contributor Author

@copumpkin

@mlieberman85 mlieberman85 force-pushed the add-kafka branch 2 times, most recently from 86e2001 to 8f22fc1 Compare May 18, 2017 01:16
Copy link
Member

@copumpkin copumpkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, and I think this is the new preferred style over the giant pile o' python packages, but I'll wait for @FRidh to confirm.

Copy link
Member

@FRidh FRidh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests fail on at least 3.5.

@FRidh
Copy link
Member

FRidh commented May 18, 2017

Likely they passed on Mac because you're running without sandbox and so setuptools was able to download the package that is needed for the tests.

@mlieberman85
Copy link
Contributor Author

Looks like I need to also add 3 python avro packages (avro-python3, avro, fastavro.) Should I put those in separate pull requests?

@copumpkin
Copy link
Member

copumpkin commented May 18, 2017

I'd just add more commits to this PR (we generally try to keep one package per commit), but keep a single PR.

@mlieberman85
Copy link
Contributor Author

mlieberman85 commented May 18, 2017

Looks like there's actually the right avro package I need already in nixpkgs. Got the tests to find the avro package, but I'm now running into an issue where it can't find verifiable_client.

verifiable_client is a module included in the tests folder of the python source of this package. Any tips to get nix to see it?

Verified

This commit was signed with the committer’s verified signature. The key has expired.
panzarino Zach Panzarino
Disabled tests for python 3 since the 0.9.4 release has failing tests
when run under python 3.
@mlieberman85
Copy link
Contributor Author

@FRidh @copumpkin I updated my PR. Turns out the tests were failing because of some missing packages, but even after installing them they still fail because of issues with their tests (for python 3) in that release.

I fixed the imports to get it working with avro support and with python3.

@Mic92 Mic92 merged commit c14109c into NixOS:master May 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants