Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup.py: specify Cython language_level explicitly
to silence the warning of ``` /tmp/build-env-p23crgfa/lib64/python3.11/site-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /home/kefu/dev/scylladb/tools/cqlsh/cqlshlib/copyutil.py tree = Parsing.p_module(s, pxd, full_module_name) ``` "3str" is the new default. so this change has no impact on the cythonized python code. with this option, the unprefixed strings are considered "str" objects. for more details, please see https://cython.readthedocs.io/en/latest/src/userguide/migrating_to_cy30.html#python-3-syntax-semantics Signed-off-by: Kefu Chai <[email protected]>
- Loading branch information