[jira] [Commented] (BEAM-9324) Python SDK Incompatibility with Cython

2022-05-24 Thread Yi Hu (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-9324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541604#comment-17541604
 ] 

Yi Hu commented on BEAM-9324:
-

This is due to Cython.Shadow.cast(Receiver, value) attempting to run 
Receiver(value) (probably very old code in Python 2 age where "old" class did 
not have __call__). It is a bug of Cython 0.x and will be fixed in upcoming 
v3.0 (cython/cython@3149eb8). Provided a workaround before cython 3.0 is 
released (https://github.com/apache/beam/pull/17728), which should be removed 
once upgraded to Cython 3.



> Python SDK Incompatibility with Cython
> --
>
> Key: BEAM-9324
> URL: https://issues.apache.org/jira/browse/BEAM-9324
> Project: Beam
>  Issue Type: Bug
>  Components: examples-python, runner-core, sdk-py-core
>Affects Versions: 2.19.0
>Reporter: Tommy Yong
>Assignee: Yi Hu
>Priority: P3
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> When executing a sample apache beam pipeline, the following error appears:
> {code:java}
> TypeError: Receiver() takes no argument
> {code}
> Full-stack trace: 
> [https://stackoverflow.com/questions/60052098/apache-beam-on-python-typeerror-receiver-takes-no-arguments/60058770?noredirect=1#comment106234439_60058770]
> The error appears to come from Cython packages/modules. However, after 
> uninstalling Cython, the error goes away. Appears to have some sort of 
> incompatibility with Cython.
> {{}}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)


[jira] [Commented] (BEAM-9324) Python SDK Incompatibility with Cython

2022-01-07 Thread Alexander Tsvyashchenko (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-9324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470757#comment-17470757
 ] 

Alexander Tsvyashchenko commented on BEAM-9324:
---

Had this issue when packaging Apache Beam in `nixpkgs`, see 
[https://github.com/NixOS/nixpkgs/pull/153780|https://github.com/NixOS/nixpkgs/pull/153780),].
 The code in question (`apache_beam/runners/worker/operations.py`)
 tries to use `cython`'s cast functionality and looks like with the recent 
Python (3.9.9) and Cython (0.29.24) this cast doesn't work but is not even 
necessary? All the tests pass with the casts removed, see the patch 
`pkgs/development/python-modules/apache-beam/fix-cython.patch` in that PR.

> Python SDK Incompatibility with Cython
> --
>
> Key: BEAM-9324
> URL: https://issues.apache.org/jira/browse/BEAM-9324
> Project: Beam
>  Issue Type: Bug
>  Components: examples-python, runner-core, sdk-py-core
>Affects Versions: 2.19.0
>Reporter: Tommy Yong
>Priority: P3
>
> When executing a sample apache beam pipeline, the following error appears:
> {code:java}
> TypeError: Receiver() takes no argument
> {code}
> Full-stack trace: 
> [https://stackoverflow.com/questions/60052098/apache-beam-on-python-typeerror-receiver-takes-no-arguments/60058770?noredirect=1#comment106234439_60058770]
> The error appears to come from Cython packages/modules. However, after 
> uninstalling Cython, the error goes away. Appears to have some sort of 
> incompatibility with Cython.
> {{}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (BEAM-9324) Python SDK Incompatibility with Cython

2020-06-29 Thread Yu Feng (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-9324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17148118#comment-17148118
 ] 

Yu Feng commented on BEAM-9324:
---

Hi, I am setting up a local apache beam environment and run into this error.

If Cython must be removed how do we set up a development environment?

Apparently compiling beam requires cython. (when I ran python setup.py build, 
cython was called).

> Python SDK Incompatibility with Cython
> --
>
> Key: BEAM-9324
> URL: https://issues.apache.org/jira/browse/BEAM-9324
> Project: Beam
>  Issue Type: Bug
>  Components: beam-community, beam-model, examples-python, 
> runner-core, sdk-py-core
>Affects Versions: 2.19.0
>Reporter: Tommy Yong
>Priority: P3
>
> When executing a sample apache beam pipeline, the following error appears:
> {code:java}
> TypeError: Receiver() takes no argument
> {code}
> Full-stack trace: 
> [https://stackoverflow.com/questions/60052098/apache-beam-on-python-typeerror-receiver-takes-no-arguments/60058770?noredirect=1#comment106234439_60058770]
> The error appears to come from Cython packages/modules. However, after 
> uninstalling Cython, the error goes away. Appears to have some sort of 
> incompatibility with Cython.
> {{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (BEAM-9324) Python SDK Incompatibility with Cython

2020-06-16 Thread Beam JIRA Bot (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-9324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136884#comment-17136884
 ] 

Beam JIRA Bot commented on BEAM-9324:
-

This issue was marked "stale-P2" and has not received a public comment in 14 
days. It is now automatically moved to P3. If you are still affected by it, you 
can comment and move it back to P2.

> Python SDK Incompatibility with Cython
> --
>
> Key: BEAM-9324
> URL: https://issues.apache.org/jira/browse/BEAM-9324
> Project: Beam
>  Issue Type: Bug
>  Components: beam-community, beam-model, examples-python, 
> runner-core, sdk-py-core
>Affects Versions: 2.19.0
>Reporter: Tommy Yong
>Priority: P3
>
> When executing a sample apache beam pipeline, the following error appears:
> {code:java}
> TypeError: Receiver() takes no argument
> {code}
> Full-stack trace: 
> [https://stackoverflow.com/questions/60052098/apache-beam-on-python-typeerror-receiver-takes-no-arguments/60058770?noredirect=1#comment106234439_60058770]
> The error appears to come from Cython packages/modules. However, after 
> uninstalling Cython, the error goes away. Appears to have some sort of 
> incompatibility with Cython.
> {{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (BEAM-9324) Python SDK Incompatibility with Cython

2020-06-01 Thread Beam JIRA Bot (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-9324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17122379#comment-17122379
 ] 

Beam JIRA Bot commented on BEAM-9324:
-

This issue is P2 but has been unassigned without any comment for 60 days so it 
has been labeled "stale-P2". If this issue is still affecting you, we care! 
Please comment and remove the label. Otherwise, in 14 days the issue will be 
moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed 
explanation of what these priorities mean.


> Python SDK Incompatibility with Cython
> --
>
> Key: BEAM-9324
> URL: https://issues.apache.org/jira/browse/BEAM-9324
> Project: Beam
>  Issue Type: Bug
>  Components: beam-community, beam-model, examples-python, 
> runner-core, sdk-py-core
>Affects Versions: 2.19.0
>Reporter: Tommy Yong
>Priority: P2
>  Labels: stale-P2
>
> When executing a sample apache beam pipeline, the following error appears:
> {code:java}
> TypeError: Receiver() takes no argument
> {code}
> Full-stack trace: 
> [https://stackoverflow.com/questions/60052098/apache-beam-on-python-typeerror-receiver-takes-no-arguments/60058770?noredirect=1#comment106234439_60058770]
> The error appears to come from Cython packages/modules. However, after 
> uninstalling Cython, the error goes away. Appears to have some sort of 
> incompatibility with Cython.
> {{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (BEAM-9324) Python SDK Incompatibility with Cython

2020-03-30 Thread Ralph Brooks (Jira)


[ 
https://issues.apache.org/jira/browse/BEAM-9324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071100#comment-17071100
 ] 

Ralph Brooks commented on BEAM-9324:


Is there a workaround for this so that Beam and Cython can be used in the same 
environment?

> Python SDK Incompatibility with Cython
> --
>
> Key: BEAM-9324
> URL: https://issues.apache.org/jira/browse/BEAM-9324
> Project: Beam
>  Issue Type: Bug
>  Components: beam-community, beam-model, examples-python, 
> runner-core, sdk-py-core
>Affects Versions: 2.19.0
>Reporter: Tommy Yong
>Priority: Major
>
> When executing a sample apache beam pipeline, the following error appears:
> {code:java}
> TypeError: Receiver() takes no argument
> {code}
> Full-stack trace: 
> [https://stackoverflow.com/questions/60052098/apache-beam-on-python-typeerror-receiver-takes-no-arguments/60058770?noredirect=1#comment106234439_60058770]
> The error appears to come from Cython packages/modules. However, after 
> uninstalling Cython, the error goes away. Appears to have some sort of 
> incompatibility with Cython.
> {{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (BEAM-9324) Python SDK Incompatibility with Cython

2020-02-17 Thread Jira


[ 
https://issues.apache.org/jira/browse/BEAM-9324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17038311#comment-17038311
 ] 

Ismaël Mejía commented on BEAM-9324:


[~robertwb] any ideas/hints?

> Python SDK Incompatibility with Cython
> --
>
> Key: BEAM-9324
> URL: https://issues.apache.org/jira/browse/BEAM-9324
> Project: Beam
>  Issue Type: Bug
>  Components: beam-community, beam-model, examples-python, 
> runner-core, sdk-py-core
>Affects Versions: 2.19.0
>Reporter: Tommy Yong
>Priority: Major
>
> When executing a sample apache beam pipeline, the following error appears:
> {code:java}
> TypeError: Receiver() takes no argument
> {code}
> Full-stack trace: 
> [https://stackoverflow.com/questions/60052098/apache-beam-on-python-typeerror-receiver-takes-no-arguments/60058770?noredirect=1#comment106234439_60058770]
> The error appears to come from Cython packages/modules. However, after 
> uninstalling Cython, the error goes away. Appears to have some sort of 
> incompatibility with Cython.
> {{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)