Skip to content

Conversation

@phunt
Copy link
Contributor

@phunt phunt commented Jun 19, 2019

Fixed the build and test infrastructure for zkpython.

Verified the build and tests all passing under both ubuntu and macos.

Change-Id: I3c80774a2712f280d1f14739d1eb78baa066fdc6

Fixed the build and test infrastructure for zkpython.

Verified the build and tests all passing under both ubuntu and macos.

Change-Id: I3c80774a2712f280d1f14739d1eb78baa066fdc6

# Find the build directory containing zookeeper.so
SO_PATH=`find ../../../build/ -name "zookeeper.so" | head -1`
SO_PATH=`find ../../build/ -name "zookeeper.so" | head -1`
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't any 'target' directory name?
Did you build with raw 'make' the c client?

There are multiple ways to build the C client

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used ant to build the c client as maven doesn't seem to be working (the c client is not being built even with "full-build" profile). That's the way it was always done on the past - just continuing until we have a maven based approach. So with this we get back to status quo - after the directory structure changes for maven I mean.

I did a "ant clean compile compile-native" at the toplevel, then "ant compile" and "ant test" within the zookeeper-contrib-zkpython directory.

@phunt
Copy link
Contributor Author

phunt commented Jun 20, 2019

@eolivelli can you +1 this (or @anmolnar ) or give me addl feedback? I have some addl patches for python3 that i'd like to land. thanks.

@eolivelli
Copy link
Contributor

@phunt we should commit #993 that is fixing the C client build as said on the ML

@eolivelli
Copy link
Contributor

How can I test this patch locally?

@phunt
Copy link
Contributor Author

phunt commented Jun 21, 2019

we should commit #993 that is fixing the C client build as said on the ML

I provided some feedback. Let's work on #993 separately and not block progress here as the legacy (pre-mvn) is still working.

@phunt
Copy link
Contributor Author

phunt commented Jun 21, 2019

How can I test this patch locally?

I did a "ant clean compile compile-native" at the toplevel, then "ant compile" and "ant test" within the zookeeper-contrib-zkpython directory.

You need to have python2 installed and the dev libraries available.

That runs all the tests for zkpython (with this patch applied)

Copy link
Contributor

@nkalmar nkalmar left a comment

Choose a reason for hiding this comment

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

Tested before (failed at ant compile in zkpython) and after patch. Works fine on Ubuntu with python2.
+1

@asfgit asfgit closed this in 2711d69 Jun 25, 2019
asfgit pushed a commit that referenced this pull request Jun 25, 2019
Fixed the build and test infrastructure for zkpython.

Verified the build and tests all passing under both ubuntu and macos.

Change-Id: I3c80774a2712f280d1f14739d1eb78baa066fdc6

Author: Patrick Hunt <[email protected]>

Reviewers: Norbert Kalmar <[email protected]>

Closes #991 from phunt/zk3433

(cherry picked from commit 2711d69)
Signed-off-by: Norbert Kalmar <[email protected]>
@nkalmar
Copy link
Contributor

nkalmar commented Jun 25, 2019

Committed to master and 3.5 (tested, this patch also solves it on 3.5, which has the same problem)

stickyhipp pushed a commit to stickyhipp/zookeeper that referenced this pull request Aug 2, 2019
Fixed the build and test infrastructure for zkpython.

Verified the build and tests all passing under both ubuntu and macos.

Change-Id: I3c80774a2712f280d1f14739d1eb78baa066fdc6

Author: Patrick Hunt <[email protected]>

Reviewers: Norbert Kalmar <[email protected]>

Closes apache#991 from phunt/zk3433
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
Fixed the build and test infrastructure for zkpython.

Verified the build and tests all passing under both ubuntu and macos.

Change-Id: I3c80774a2712f280d1f14739d1eb78baa066fdc6

Author: Patrick Hunt <[email protected]>

Reviewers: Norbert Kalmar <[email protected]>

Closes apache#991 from phunt/zk3433
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Sep 3, 2022
Fixed the build and test infrastructure for zkpython.

Verified the build and tests all passing under both ubuntu and macos.

Change-Id: I3c80774a2712f280d1f14739d1eb78baa066fdc6

Author: Patrick Hunt <[email protected]>

Reviewers: Norbert Kalmar <[email protected]>

Closes apache#991 from phunt/zk3433
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.

3 participants