Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Workload not working with latest CPython 3.7-a2 #32

@wardhan7-zz

Description

@wardhan7-zz

The django-workload is incompatible with CPython 3.7-a2 because of the dependency of cassandra-driver on Cython. In CPython 3.7-a2, they have changed await to keyword which is used in Cython as a variable. This issue has been fixed in Cython 0.27.2.

cythoning /tmp/pip-build-k3vwmyyc/Cython/Cython/Plex/Scanners.py to /tmp/pip-build-k3vwmyyc/Cython/Cython/Plex/Scanners.c
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-k3vwmyyc/Cython/setup.py", line 326, in
**setup_args
File "/home/lp-jenkins/persistent_data/python/master/tmp/build/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/lp-jenkins/persistent_data/python/master/tmp/build/lib/python3.7/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/lp-jenkins/persistent_data/python/master/tmp/build/lib/python3.7/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/lp-jenkins/django-venv/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/home/lp-jenkins/persistent_data/python/master/tmp/build/lib/python3.7/distutils/command/install.py", line 545, in run
self.run_command('build')
File "/home/lp-jenkins/persistent_data/python/master/tmp/build/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/lp-jenkins/persistent_data/python/master/tmp/build/lib/python3.7/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/lp-jenkins/persistent_data/python/master/tmp/build/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/lp-jenkins/persistent_data/python/master/tmp/build/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/lp-jenkins/persistent_data/python/master/tmp/build/lib/python3.7/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-k3vwmyyc/Cython/Cython/Distutils/build_ext.py", line 164, in run
_build_ext.build_ext.run(self)
File "/home/lp-jenkins/persistent_data/python/master/tmp/build/lib/python3.7/distutils/command/build_ext.py", line 339, in run
self.build_extensions()
File "/tmp/pip-build-k3vwmyyc/Cython/Cython/Distutils/build_ext.py", line 171, in build_extensions
ext.sources = self.cython_sources(ext.sources, ext)
File "/tmp/pip-build-k3vwmyyc/Cython/Cython/Distutils/build_ext.py", line 324, in cython_sources
full_module_name=module_name)
File "/tmp/pip-build-k3vwmyyc/Cython/Cython/Compiler/Main.py", line 688, in compile
return compile_single(source, options, full_module_name)
File "/tmp/pip-build-k3vwmyyc/Cython/Cython/Compiler/Main.py", line 638, in compile_single
return run_pipeline(source, options, full_module_name)
File "/tmp/pip-build-k3vwmyyc/Cython/Cython/Compiler/Main.py", line 455, in run_pipeline
from . import Pipeline
File "/tmp/pip-build-k3vwmyyc/Cython/Cython/Compiler/Pipeline.py", line 9, in
from .Visitor import CythonTransform
File "/tmp/pip-build-k3vwmyyc/Cython/Cython/Compiler/Visitor.py", line 15, in
from . import ExprNodes
File "/tmp/pip-build-k3vwmyyc/Cython/Cython/Compiler/ExprNodes.py", line 2809
await = None
^
SyntaxError: invalid syntax

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions