[
https://issues.apache.org/jira/browse/BEAM-4282?focusedWorklogId=102349&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-102349
]
ASF GitHub Bot logged work on BEAM-4282:
----------------------------------------
Author: ASF GitHub Bot
Created on: 15/May/18 23:25
Start Date: 15/May/18 23:25
Worklog Time Spent: 10m
Work Description: alanmyrvold closed pull request #5351: [BEAM-4282] Fix
python docker build by changing cython version to 28.1
URL: https://github.com/apache/beam/pull/5351
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/sdks/python/container/Dockerfile b/sdks/python/container/Dockerfile
index 0e95dbe8247..7da26cfa987 100644
--- a/sdks/python/container/Dockerfile
+++ b/sdks/python/container/Dockerfile
@@ -64,7 +64,7 @@ RUN \
pip install "google-cloud-pubsub == 0.26.0" && \
pip install "google-cloud-bigquery == 0.25.0" && \
# Optional packages
- pip install "cython == 0.27.2" && \
+ pip install "cython == 0.28.1" && \
pip install "guppy == 0.1.10" && \
pip install "python-snappy == 0.5.1" && \
# These are additional packages likely to be used by customers.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 102349)
Time Spent: 50m (was: 40m)
> :beam-sdks-python-container:docker fails with cython error
> ----------------------------------------------------------
>
> Key: BEAM-4282
> URL: https://issues.apache.org/jira/browse/BEAM-4282
> Project: Beam
> Issue Type: Bug
> Components: build-system
> Affects Versions: 2.5.0
> Reporter: Alan Myrvold
> Assignee: Alan Myrvold
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Started failing with [BEAM-3981] Futurize coders subpackage #5053
> ./gradlew :beam-sdks-python-container:docker --info
> Fails with:
> Might be due to the version of cython in the Dockerfile? "You are using
> version 0.27.2 of cython. However, version 0.28.1 is recommended."
>
> /tmp/pip-req-build-77LZDu/setup.py:78: UserWarning: You are using version
> 0.27.2 of cython. However, version 0.28.1 is recommended.
> _CYTHON_VERSION, REQUIRED_CYTHON_VERSION
>
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
> except NameError: # Python 3
> long = int
> unicode = str
>
>
> class CoderImpl(object):
> ^
> ------------------------------------------------------------
>
> apache_beam/coders/coder_impl.py:69:0: 'object' is not a type name
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)