Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pip install bottle jinja2 numpy lpu
- Requirement already satisfied: bottle in ./.venv/lib/python3.10/site-packages (0.12.23)
- Requirement already satisfied: jinja2 in ./.venv/lib/python3.10/site-packages (3.1.2)
- Requirement already satisfied: numpy in ./.venv/lib/python3.10/site-packages (1.24.1)
- Collecting lpu
- Using cached lpu-0.2.10.tar.gz (2.2 MB)
- Preparing metadata (setup.py) ... done
- Requirement already satisfied: MarkupSafe>=2.0 in ./.venv/lib/python3.10/site-packages (from jinja2) (2.1.1)
- Installing collected packages: lpu
- DEPRECATION: lpu is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
- Running setup.py install for lpu ... error
- error: subprocess-exited-with-error
- × Running setup.py install for lpu did not run successfully.
- │ exit code: 1
- ╰─> [912 lines of output]
- running install
- /Users/novski/Life/code/python/tests/dnsmasq-webconf/.venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
- warnings.warn(
- running build
- running build_py
- creating build
- creating build/lib.macosx-12-arm64-cpython-310
- creating build/lib.macosx-12-arm64-cpython-310/lpu
- copying lpu/__init__.py -> build/lib.macosx-12-arm64-cpython-310/lpu
- creating build/lib.macosx-12-arm64-cpython-310/lpu/metrics
- copying lpu/metrics/__init__.py -> build/lib.macosx-12-arm64-cpython-310/lpu/metrics
- creating build/lib.macosx-12-arm64-cpython-310/lpu/smt
- copying lpu/smt/__init__.py -> build/lib.macosx-12-arm64-cpython-310/lpu/smt
- creating build/lib.macosx-12-arm64-cpython-310/lpu/backends
- copying lpu/backends/__init__.py -> build/lib.macosx-12-arm64-cpython-310/lpu/backends
- copying lpu/backends/safe_cython.py -> build/lib.macosx-12-arm64-cpython-310/lpu/backends
- copying lpu/backends/safe_logging.py -> build/lib.macosx-12-arm64-cpython-310/lpu/backends
- creating build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/logging.py -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/files.py -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/vocab.py -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/config.py -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/compat.py -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/dialog.py -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/__init__.py -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/numbers.py -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/progress.py -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/environ.py -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/validation.py -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/colors.py -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- creating build/lib.macosx-12-arm64-cpython-310/lpu/data_structs
- copying lpu/data_structs/__init__.py -> build/lib.macosx-12-arm64-cpython-310/lpu/data_structs
- copying lpu/data_structs/trie.py -> build/lib.macosx-12-arm64-cpython-310/lpu/data_structs
- copying lpu/data_structs/trees.py -> build/lib.macosx-12-arm64-cpython-310/lpu/data_structs
- creating build/lib.macosx-12-arm64-cpython-310/lpu/commands
- copying lpu/commands/guess_langcode.py -> build/lib.macosx-12-arm64-cpython-310/lpu/commands
- copying lpu/commands/random_split.py -> build/lib.macosx-12-arm64-cpython-310/lpu/commands
- copying lpu/commands/dialog.py -> build/lib.macosx-12-arm64-cpython-310/lpu/commands
- copying lpu/commands/abspath.py -> build/lib.macosx-12-arm64-cpython-310/lpu/commands
- copying lpu/commands/__init__.py -> build/lib.macosx-12-arm64-cpython-310/lpu/commands
- copying lpu/commands/clean_parallel.py -> build/lib.macosx-12-arm64-cpython-310/lpu/commands
- copying lpu/commands/exec_parallel.py -> build/lib.macosx-12-arm64-cpython-310/lpu/commands
- copying lpu/commands/progress.py -> build/lib.macosx-12-arm64-cpython-310/lpu/commands
- copying lpu/commands/wait_files.py -> build/lib.macosx-12-arm64-cpython-310/lpu/commands
- creating build/lib.macosx-12-arm64-cpython-310/lpu/smt/trans_models
- copying lpu/smt/trans_models/normalize.py -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/trans_models
- copying lpu/smt/trans_models/__init__.py -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/trans_models
- copying lpu/smt/trans_models/convert_extract.py -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/trans_models
- copying lpu/smt/trans_models/filter.py -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/trans_models
- copying lpu/smt/trans_models/make_glue_rules.py -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/trans_models
- creating build/lib.macosx-12-arm64-cpython-310/lpu/smt/align
- copying lpu/smt/align/__init__.py -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/align
- copying lpu/VERSION -> build/lib.macosx-12-arm64-cpython-310/lpu
- copying lpu/metrics/ribes.pyx -> build/lib.macosx-12-arm64-cpython-310/lpu/metrics
- copying lpu/metrics/bleu.pyx -> build/lib.macosx-12-arm64-cpython-310/lpu/metrics
- copying lpu/common/compat.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/vocab.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/logging.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/environ.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/numbers.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/config.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/progress.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/common/colors.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/common
- copying lpu/data_structs/trees.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/data_structs
- copying lpu/data_structs/trie.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/data_structs
- copying lpu/smt/trans_models/records.pyx -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/trans_models
- copying lpu/smt/trans_models/tables.pyx -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/trans_models
- copying lpu/smt/trans_models/triangulate.pyx -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/trans_models
- copying lpu/smt/align/ibm_model2.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/align
- copying lpu/smt/align/ibm_models.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/align
- copying lpu/smt/align/ibm_model1.pxd -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/align
- copying lpu/smt/align/ibm_model1.pyx -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/align
- copying lpu/smt/align/ibm_models.pyx -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/align
- copying lpu/smt/align/ibm_model2.pyx -> build/lib.macosx-12-arm64-cpython-310/lpu/smt/align
- running build_ext
- building 'lpu.metrics.bleu' extension
- creating build/temp.macosx-12-arm64-cpython-310
- creating build/temp.macosx-12-arm64-cpython-310/lpu
- creating build/temp.macosx-12-arm64-cpython-310/lpu/metrics
- clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/Users/novski/Life/code/python/tests/dnsmasq-webconf/.venv/lib/python3.10/site-packages/numpy/core/include -I/Users/novski/Life/code/python/tests/dnsmasq-webconf/.venv/include -I/opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c lpu/metrics/bleu.cpp -o build/temp.macosx-12-arm64-cpython-310/lpu/metrics/bleu.o
- lpu/metrics/bleu.cpp:3560:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/bleu.cpp:3560:22: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/bleu.cpp:3560:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/bleu.cpp:3560:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/bleu.cpp:3560:52: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/bleu.cpp:3560:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/bleu.cpp:3576:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/bleu.cpp:3576:26: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/bleu.cpp:3576:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/bleu.cpp:3576:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/bleu.cpp:3576:59: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/bleu.cpp:3576:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/bleu.cpp:3966:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
- CYTHON_FALLTHROUGH;
- ^
- lpu/metrics/bleu.cpp:290:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
- #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
- ^
- lpu/metrics/bleu.cpp:3977:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
- CYTHON_FALLTHROUGH;
- ^
- lpu/metrics/bleu.cpp:290:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
- #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
- ^
- 14 warnings generated.
- clang++ -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk build/temp.macosx-12-arm64-cpython-310/lpu/metrics/bleu.o -o build/lib.macosx-12-arm64-cpython-310/lpu/metrics/bleu.cpython-310-darwin.so
- ld: warning: -undefined dynamic_lookup may not work with chained fixups
- building 'lpu.metrics.ribes' extension
- clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/Users/novski/Life/code/python/tests/dnsmasq-webconf/.venv/lib/python3.10/site-packages/numpy/core/include -I/Users/novski/Life/code/python/tests/dnsmasq-webconf/.venv/include -I/opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c lpu/metrics/ribes.cpp -o build/temp.macosx-12-arm64-cpython-310/lpu/metrics/ribes.o
- lpu/metrics/ribes.cpp:3351:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/ribes.cpp:3351:22: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/ribes.cpp:3351:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/ribes.cpp:3351:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/ribes.cpp:3351:52: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/ribes.cpp:3351:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/ribes.cpp:3367:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/ribes.cpp:3367:26: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/ribes.cpp:3367:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/ribes.cpp:3367:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/ribes.cpp:3367:59: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/ribes.cpp:3367:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/metrics/ribes.cpp:3562:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
- CYTHON_FALLTHROUGH;
- ^
- lpu/metrics/ribes.cpp:290:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
- #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
- ^
- lpu/metrics/ribes.cpp:3573:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
- CYTHON_FALLTHROUGH;
- ^
- lpu/metrics/ribes.cpp:290:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
- #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
- ^
- lpu/metrics/ribes.cpp:4132:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
- CYTHON_FALLTHROUGH;
- ^
- lpu/metrics/ribes.cpp:290:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
- #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
- ^
- lpu/metrics/ribes.cpp:4143:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
- CYTHON_FALLTHROUGH;
- ^
- lpu/metrics/ribes.cpp:290:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
- #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
- ^
- 16 warnings generated.
- clang++ -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk build/temp.macosx-12-arm64-cpython-310/lpu/metrics/ribes.o -o build/lib.macosx-12-arm64-cpython-310/lpu/metrics/ribes.cpython-310-darwin.so
- ld: warning: -undefined dynamic_lookup may not work with chained fixups
- building 'lpu.smt.trans_models.triangulate' extension
- creating build/temp.macosx-12-arm64-cpython-310/lpu/smt
- creating build/temp.macosx-12-arm64-cpython-310/lpu/smt/trans_models
- clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/Users/novski/Life/code/python/tests/dnsmasq-webconf/.venv/lib/python3.10/site-packages/numpy/core/include -I/Users/novski/Life/code/python/tests/dnsmasq-webconf/.venv/include -I/opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c lpu/smt/trans_models/triangulate.c -o build/temp.macosx-12-arm64-cpython-310/lpu/smt/trans_models/triangulate.o
- lpu/smt/trans_models/triangulate.c:18135:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/triangulate.c:18135:22: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/triangulate.c:18135:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/triangulate.c:18135:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/triangulate.c:18135:52: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/triangulate.c:18135:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/triangulate.c:18151:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/triangulate.c:18151:26: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/triangulate.c:18151:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/triangulate.c:18151:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/triangulate.c:18151:59: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/triangulate.c:18151:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/triangulate.c:19092:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
- CYTHON_FALLTHROUGH;
- ^
- lpu/smt/trans_models/triangulate.c:289:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
- #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
- ^
- lpu/smt/trans_models/triangulate.c:19103:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
- CYTHON_FALLTHROUGH;
- ^
- lpu/smt/trans_models/triangulate.c:289:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
- #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
- ^
- lpu/smt/trans_models/triangulate.c:19818:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
- CYTHON_FALLTHROUGH;
- ^
- lpu/smt/trans_models/triangulate.c:289:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
- #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
- ^
- lpu/smt/trans_models/triangulate.c:19829:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
- CYTHON_FALLTHROUGH;
- ^
- lpu/smt/trans_models/triangulate.c:289:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
- #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
- ^
- lpu/smt/trans_models/triangulate.c:20067:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
- CYTHON_FALLTHROUGH;
- ^
- lpu/smt/trans_models/triangulate.c:289:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
- #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
- ^
- lpu/smt/trans_models/triangulate.c:20078:21: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
- CYTHON_FALLTHROUGH;
- ^
- lpu/smt/trans_models/triangulate.c:289:34: note: expanded from macro 'CYTHON_FALLTHROUGH'
- #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
- ^
- 18 warnings generated.
- clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk build/temp.macosx-12-arm64-cpython-310/lpu/smt/trans_models/triangulate.o -o build/lib.macosx-12-arm64-cpython-310/lpu/smt/trans_models/triangulate.cpython-310-darwin.so
- ld: warning: -undefined dynamic_lookup may not work with chained fixups
- building 'lpu.smt.trans_models.tables' extension
- clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -I/Users/novski/Life/code/python/tests/dnsmasq-webconf/.venv/lib/python3.10/site-packages/numpy/core/include -I/Users/novski/Life/code/python/tests/dnsmasq-webconf/.venv/include -I/opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c lpu/smt/trans_models/tables.cpp -o build/temp.macosx-12-arm64-cpython-310/lpu/smt/trans_models/tables.o
- lpu/smt/trans_models/tables.cpp:2813:46: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- __pyx_t_4 = (__pyx_v_field != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_field) != 0);
- ^
- lpu/smt/trans_models/tables.cpp:468:108: note: expanded from macro '__Pyx_PyUnicode_IS_TRUE'
- #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:2813:46: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- __pyx_t_4 = (__pyx_v_field != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_field) != 0);
- ^
- lpu/smt/trans_models/tables.cpp:468:108: note: expanded from macro '__Pyx_PyUnicode_IS_TRUE'
- #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:2813:46: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- __pyx_t_4 = (__pyx_v_field != Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_field) != 0);
- ^
- lpu/smt/trans_models/tables.cpp:468:108: note: expanded from macro '__Pyx_PyUnicode_IS_TRUE'
- #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10256:16: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations]
- return PyUnicode_FromUnicode(NULL, 0);
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:551:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10441:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10441:22: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10441:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10441:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10441:52: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10441:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10457:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10457:26: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10457:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10457:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op) : \
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10457:59: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
- ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:10457:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
- (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
- PyUnicode_WSTR_LENGTH(op)))
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
- #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
- Py_DEPRECATED(3.3)
- ^
- /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED'
- #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
- ^
- lpu/smt/trans_models/tables.cpp:13952:19: error: use of undeclared identifier '_PyGen_Send'
- ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
- ^
- lpu/smt/trans_models/tables.cpp:13957:19: error: use of undeclared identifier '_PyGen_Send'
- ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
- ^
- lpu/smt/trans_models/tables.cpp:14041:19: error: use of undeclared identifier '_PyGen_Send'
- ret = _PyGen_Send((PyGenObject*)yf, NULL);
- ^
- 16 warnings and 3 errors generated.
- error: command '/usr/bin/clang' failed with exit code 1
- [end of output]
- note: This error originates from a subprocess, and is likely not a problem with pip.
- error: legacy-install-failure
- × Encountered error while trying to install package.
- ╰─> lpu
- note: This is an issue with the package mentioned above, not pip.
- hint: See above for output from the failure.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement