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

[Bug]: Cythonization is compiled with language level 2 #25979

Closed
1 of 15 tasks
Abacn opened this issue Mar 25, 2023 · 0 comments · Fixed by #26015
Closed
1 of 15 tasks

[Bug]: Cythonization is compiled with language level 2 #25979

Abacn opened this issue Mar 25, 2023 · 0 comments · Fixed by #26015
Assignees
Labels
bug done & done Issue has been reviewed after it was closed for verification, followups, etc. P2 python

Comments

@Abacn
Copy link
Contributor

Abacn commented Mar 25, 2023

What happened?

Test logs show many warnings from cython compiler (e.g. https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/6886/consoleFull)

03:09:03 /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Cron/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/target/.tox-py38-cython/py38-cython/lib/python3.8/site-packages/Cython/Compiler/Main.py:369:
FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2).
This will change in a later release!
File: /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Cron/src/sdks/python/test-suites/tox/py38/build/srcs/sdks/python/apache_beam/transforms/stats.pxd

Fortunately it still works so far. Nevertheless we should explicit to use language-level 3.

Found when experimenting #25970

Issue Priority

Priority: 2 (default / most bugs should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
@jrmccluskey jrmccluskey self-assigned this Mar 28, 2023
@github-actions github-actions bot added this to the 2.47.0 Release milestone Mar 28, 2023
@damccorm damccorm added the done & done Issue has been reviewed after it was closed for verification, followups, etc. label Apr 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug done & done Issue has been reviewed after it was closed for verification, followups, etc. P2 python
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants