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

[BEAM-5612] Add py3 cython tox environment #7802

Merged
merged 1 commit into from
Feb 12, 2019

Conversation

RobbeSneyders
Copy link
Contributor

This is is part of a series of PRs with goal to make Apache Beam PY3 compatible. The proposal with the outlined approach has been documented here: https://s.apache.org/beam-python-3.

This PR adds a py3-cython test suite to tox.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Python Build Status --- Build Status
Build Status
Build Status --- --- ---

# If we want to add other platforms in the future, it should be:
# `platform = linux2|darwin|...`
# See https://docs.python.org/2/library/sys.html#sys.platform for platform codes
platform = linux
Copy link
Contributor Author

Choose a reason for hiding this comment

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

https://docs.python.org/3.5/library/sys.html#sys.platform

Changed in version 3.3: On Linux, sys.platform doesn’t contain the major version anymore. It is always 'linux', instead of 'linux2' or 'linux3'. Since older Python versions include the version number, it is recommended to always use the startswith idiom presented above

@RobbeSneyders
Copy link
Contributor Author

Retest this please

@RobbeSneyders RobbeSneyders force-pushed the py3-cython branch 3 times, most recently from 287e810 to 7af11dd Compare February 12, 2019 17:31
@tvalentyn
Copy link
Contributor

Could not find method dependson() for arguments [testPy3Cython] on task ':beam-sdks-python:preCommit' of type org.gradle.api.DefaultTask.
--

@RobbeSneyders
Copy link
Contributor Author

Failure was due to a typo.
PTAL.

@tvalentyn
Copy link
Contributor

Thank you!

@aaltay aaltay merged commit 04c5e74 into apache:master Feb 12, 2019
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

3 participants