Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Installing pyearth with docker image python:3.10.8-slim fails #222

Open
akanarik opened this issue Oct 27, 2022 · 0 comments
Open

Installing pyearth with docker image python:3.10.8-slim fails #222

akanarik opened this issue Oct 27, 2022 · 0 comments

Comments

@akanarik
Copy link

akanarik commented Oct 27, 2022

Docker file:
FROM python:3.10.8-slim

ARG requirements=/rainbow3/requirements.txt
COPY requirements.production.txt $requirements

RUN apt-get update -qq && apt-get install -qq git pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl build-essential gcc

RUN pip install --upgrade pip && pip install -r $requirements

RUN git clone -b issue191 https://github.com/scikit-learn-contrib/py-earth
WORKDIR py-earth
RUN python setup.py -q install --cythonize

Log:

=> [5/7] RUN git clone -b issue191 https://github.com/scikit-learn-contrib/py-earth.git 38.9s

=> [6/7] WORKDIR /py-earth 0.0s
=> ERROR [7/7] RUN python setup.py install -qq --cythonize 13.6s

[7/7] RUN python setup.py install -qq --cythonize:
#11 0.862 /usr/local/lib/python3.10/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: /py-earth/pyearth/_basis.pxd
#11 0.862 tree = Parsing.p_module(s, pxd, full_module_name)
#11 1.522 /usr/local/lib/python3.10/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: /py-earth/pyearth/_forward.px
d
#11 1.522 tree = Parsing.p_module(s, pxd, full_module_name)
#11 2.053 warning: pyearth/_knot_search.pxd:91:28: Declarations should not be declared inline.
#11 2.605 /usr/local/lib/python3.10/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: /py-earth/pyearth/_knot_searc
h.pxd
#11 2.605 tree = Parsing.p_module(s, pxd, full_module_name)
#11 3.132 warning: pyearth/_knot_search.pxd:91:28: Declarations should not be declared inline.
#11 3.865 /usr/local/lib/python3.10/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: /py-earth/pyearth/_pruning.px
d
#11 3.865 tree = Parsing.p_module(s, pxd, full_module_name)
#11 4.284 Compiling pyearth/_basis.pyx because it depends on ./pyearth/_util.pxd.
#11 4.284 Compiling pyearth/_pruning.pyx because it depends on ./pyearth/_util.pxd.
#11 4.284 Compiling pyearth/_forward.pyx because it depends on ./pyearth/_util.pxd.
#11 4.284 Compiling pyearth/_knot_search.pyx because it depends on ./pyearth/_util.pxd.
#11 4.284 [1/4] Cythonizing pyearth/_basis.pyx
#11 4.284 [2/4] Cythonizing pyearth/_forward.pyx
#11 4.284 [3/4] Cythonizing pyearth/_knot_search.pyx
#11 4.284 [4/4] Cythonizing pyearth/_pruning.pyx
#11 4.294 /usr/local/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
#11 4.294 warnings.warn(
#11 4.295 /usr/local/lib/python3.10/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
#11 4.295 warnings.warn(msg, warning_class)
#11 4.320 running install
#11 4.320 /usr/local/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.
#11 4.320 warnings.warn(
#11 4.345 /usr/local/lib/python3.10/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
#11 4.345 warnings.warn(
#11 4.484 running bdist_egg
#11 4.498 running egg_info
#11 4.498 creating sklearn_contrib_py_earth.egg-info
#11 4.502 writing sklearn_contrib_py_earth.egg-info/PKG-INFO
#11 4.502 writing dependency_links to sklearn_contrib_py_earth.egg-info/dependency_links.txt
#11 4.502 writing requirements to sklearn_contrib_py_earth.egg-info/requires.txt
#11 4.502 writing top-level names to sklearn_contrib_py_earth.egg-info/top_level.txt
#11 4.503 writing manifest file 'sklearn_contrib_py_earth.egg-info/SOURCES.txt'
#11 4.508 reading manifest file 'sklearn_contrib_py_earth.egg-info/SOURCES.txt'
#11 4.508 reading manifest template 'MANIFEST.in'
#11 4.509 warning: no files found matching 'pyearth/test/pathological_data'
#11 4.509 adding license file 'LICENSE.txt'
#11 4.510 writing manifest file 'sklearn_contrib_py_earth.egg-info/SOURCES.txt'
#11 4.510 installing library code to build/bdist.linux-x86_64/egg
#11 4.510 running install_lib
#11 4.510 running build_py
#11 4.517 creating build
#11 4.518 creating build/lib.linux-x86_64-cpython-310
#11 4.518 creating build/lib.linux-x86_64-cpython-310/pyearth
#11 4.518 copying pyearth/export.py -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.518 copying pyearth/earth.py -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.518 copying pyearth/_version.py -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.518 copying pyearth/init.py -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.519 creating build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.519 copying pyearth/test/test_forward.py -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.519 copying pyearth/test/test_export.py -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.519 copying pyearth/test/test_earth.py -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.520 copying pyearth/test/test_qr.py -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.520 copying pyearth/test/test_knot_search.py -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.520 copying pyearth/test/test_pruning.py -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.520 copying pyearth/test/init.py -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.520 copying pyearth/test/test_util.py -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.520 copying pyearth/test/testing_utils.py -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.521 creating build/lib.linux-x86_64-cpython-310/pyearth/test/basis
#11 4.521 copying pyearth/test/basis/test_hinge.py -> build/lib.linux-x86_64-cpython-310/pyearth/test/basis
#11 4.521 copying pyearth/test/basis/test_basis.py -> build/lib.linux-x86_64-cpython-310/pyearth/test/basis
#11 4.521 copying pyearth/test/basis/test_linear.py -> build/lib.linux-x86_64-cpython-310/pyearth/test/basis
#11 4.521 copying pyearth/test/basis/base.py -> build/lib.linux-x86_64-cpython-310/pyearth/test/basis
#11 4.522 copying pyearth/test/basis/test_missingness.py -> build/lib.linux-x86_64-cpython-310/pyearth/test/basis
#11 4.522 copying pyearth/test/basis/test_constant.py -> build/lib.linux-x86_64-cpython-310/pyearth/test/basis
#11 4.522 copying pyearth/test/basis/init.py -> build/lib.linux-x86_64-cpython-310/pyearth/test/basis
#11 4.522 copying pyearth/test/basis/test_smoothed_hinge.py -> build/lib.linux-x86_64-cpython-310/pyearth/test/basis
#11 4.522 creating build/lib.linux-x86_64-cpython-310/pyearth/test/record
#11 4.522 copying pyearth/test/record/test_pruning_pass.py -> build/lib.linux-x86_64-cpython-310/pyearth/test/record
#11 4.523 copying pyearth/test/record/test_forward_pass.py -> build/lib.linux-x86_64-cpython-310/pyearth/test/record
#11 4.523 copying pyearth/test/record/init.py -> build/lib.linux-x86_64-cpython-310/pyearth/test/record
#11 4.524 copying pyearth/_basis.c -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.525 copying pyearth/_basis.pxd -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.525 copying pyearth/_forward.c -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.526 copying pyearth/_forward.pxd -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.526 copying pyearth/_knot_search.c -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.527 copying pyearth/_knot_search.pxd -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.527 copying pyearth/_pruning.c -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.528 copying pyearth/_pruning.pxd -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.528 copying pyearth/_qr.c -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.529 copying pyearth/_qr.pxd -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.529 copying pyearth/_record.c -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.530 copying pyearth/_record.pxd -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.530 copying pyearth/_types.c -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.531 copying pyearth/_types.pxd -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.531 copying pyearth/_util.c -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.531 copying pyearth/_util.pxd -> build/lib.linux-x86_64-cpython-310/pyearth
#11 4.531 copying pyearth/test/earth_linvars_regress.txt -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.531 copying pyearth/test/earth_regress.txt -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.532 copying pyearth/test/earth_regress_missing_data.txt -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.532 copying pyearth/test/earth_regress_smooth.txt -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.532 copying pyearth/test/forward_regress.txt -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.532 copying pyearth/test/test_data.csv -> build/lib.linux-x86_64-cpython-310/pyearth/test
#11 4.533 UPDATING build/lib.linux-x86_64-cpython-310/pyearth/_version.py
#11 4.533 set build/lib.linux-x86_64-cpython-310/pyearth/_version.py to '0.1.0+1.gdde5f89.dirty'
#11 4.533 running build_ext
#11 4.536 building 'pyearth._util' extension
#11 4.536 creating build/temp.linux-x86_64-cpython-310
#11 4.536 creating build/temp.linux-x86_64-cpython-310/pyearth
#11 4.536 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/lib/python3.10/site-packages/numpy/core/include -I/usr/local/include/python3.10 -c pyearth/_util.c -o build/temp.linux-x86_64-
cpython-310/pyearth/_util.o
#11 4.581 In file included from /usr/local/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948,
#11 4.581 from /usr/local/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
#11 4.581 from /usr/local/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5,
#11 4.581 from pyearth/_util.c:625:
#11 4.581 /usr/local/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#11 4.581 #warning "Using deprecated NumPy API, disable it with "
#11 4.581 ^~~~~~~
#11 4.606 pyearth/_util.c: In function ‘__Pyx_ParseOptionalKeywords’:
#11 4.606 pyearth/_util.c:7935:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 4.606 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 4.606 ^
#11 4.606 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 4.606 from /usr/local/include/python3.10/Python.h:83,
#11 4.606 from pyearth/_util.c:24:
#11 4.606 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 4.606 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 4.606 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 4.606 pyearth/_util.c:7935:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#11 4.606 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 4.606 ^
#11 4.606 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 4.606 from /usr/local/include/python3.10/Python.h:83,
#11 4.606 from pyearth/_util.c:24:
#11 4.606 /usr/local/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#11 4.606 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#11 4.606 ^~~~~~~~~~~~~~~~~~~
#11 4.607 pyearth/_util.c:7935:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 4.607 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 4.607 ^
#11 4.607 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 4.607 from /usr/local/include/python3.10/Python.h:83,
#11 4.607 from pyearth/_util.c:24:
#11 4.607 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 4.607 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 4.607 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 4.607 pyearth/_util.c:7935:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 4.607 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 4.607 ^
#11 4.607 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 4.607 from /usr/local/include/python3.10/Python.h:83,
#11 4.607 from pyearth/_util.c:24:
#11 4.607 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 4.607 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 4.607 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 4.607 pyearth/_util.c:7935:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#11 4.607 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 4.607 ^
#11 4.607 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 4.607 from /usr/local/include/python3.10/Python.h:83,
#11 4.607 from pyearth/_util.c:24:
#11 4.607 /usr/local/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#11 4.607 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#11 4.607 ^~~~~~~~~~~~~~~~~~~
#11 4.608 pyearth/_util.c:7935:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 4.608 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 4.608 ^
#11 4.608 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 4.608 from /usr/local/include/python3.10/Python.h:83,
#11 4.608 from pyearth/_util.c:24:
#11 4.608 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 4.608 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 4.608 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 4.608 pyearth/_util.c:7951:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 4.608 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 4.608 ^
#11 4.608 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 4.608 from /usr/local/include/python3.10/Python.h:83,
#11 4.608 from pyearth/_util.c:24:
#11 4.608 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 4.608 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 4.608 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 4.609 pyearth/_util.c:7951:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#11 4.609 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 4.609 ^
#11 4.609 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 4.609 from /usr/local/include/python3.10/Python.h:83,
#11 4.609 from pyearth/_util.c:24:
#11 4.609 /usr/local/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#11 4.609 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#11 4.609 ^~~~~~~~~~~~~~~~~~~
#11 4.609 pyearth/_util.c:7951:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 4.609 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 4.609 ^
#11 4.609 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 4.609 from /usr/local/include/python3.10/Python.h:83,
#11 4.609 from pyearth/_util.c:24:
#11 4.609 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 4.609 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 4.609 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 4.609 pyearth/_util.c:7951:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 4.609 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 4.609 ^
#11 4.609 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 4.609 from /usr/local/include/python3.10/Python.h:83,
#11 4.609 from pyearth/_util.c:24:
#11 4.609 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 4.609 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 4.609 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 4.610 pyearth/_util.c:7951:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#11 4.610 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 4.610 ^
#11 4.610 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 4.610 from /usr/local/include/python3.10/Python.h:83,
#11 4.610 from pyearth/_util.c:24:
#11 4.610 /usr/local/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#11 4.610 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#11 4.610 ^~~~~~~~~~~~~~~~~~~
#11 4.610 pyearth/_util.c:7951:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 4.610 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 4.610 ^
#11 4.610 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 4.610 from /usr/local/include/python3.10/Python.h:83,
#11 4.610 from pyearth/_util.c:24:
#11 4.610 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 4.610 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 4.610 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 6.069 gcc -pthread -shared build/temp.linux-x86_64-cpython-310/pyearth/_util.o -L/usr/local/lib -o build/lib.linux-x86_64-cpython-310/pyearth/_util.cpython-310-x86_64-linux-gnu.so
#11 6.085 building 'pyearth._basis' extension
#11 6.085 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/lib/python3.10/site-packages/numpy/core/include -I/usr/local/include/python3.10 -c pyearth/_basis.c -o build/temp.linux-x86_64
-cpython-310/pyearth/_basis.o
#11 6.126 In file included from /usr/local/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948,
#11 6.126 from /usr/local/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
#11 6.126 from /usr/local/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5,
#11 6.126 from pyearth/_basis.c:770:
#11 6.126 /usr/local/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#11 6.126 #warning "Using deprecated NumPy API, disable it with "
#11 6.126 ^~~~~~~
#11 13.06 gcc -pthread -shared build/temp.linux-x86_64-cpython-310/pyearth/_basis.o -L/usr/local/lib -o build/lib.linux-x86_64-cpython-310/pyearth/_basis.cpython-310-x86_64-linux-gnu.so
#11 13.09 building 'pyearth._record' extension
#11 13.09 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/lib/python3.10/site-packages/numpy/core/include -I/usr/local/include/python3.10 -c pyearth/_record.c -o build/temp.linux-x86_6
4-cpython-310/pyearth/_record.o
#11 13.13 In file included from /usr/local/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948,
#11 13.13 from /usr/local/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
#11 13.13 from /usr/local/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5,
#11 13.13 from pyearth/_record.c:625:
#11 13.13 /usr/local/lib/python3.10/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#11 13.13 #warning "Using deprecated NumPy API, disable it with "
#11 13.13 ^~~~~~~
#11 13.17 pyearth/_record.c: In function ‘__Pyx_modinit_type_init_code’:
#11 13.18 pyearth/_record.c:15613:39: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’; did you mean ‘tp_dict’?
#11 13.18 __pyx_type_7pyearth_7_record_Record.tp_print = 0;
#11 13.18 ^~~~~~~~
#11 13.18 tp_dict
#11 13.18 pyearth/_record.c:15628:50: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’; did you mean ‘tp_dict’?
#11 13.18 __pyx_type_7pyearth_7_record_PruningPassRecord.tp_print = 0;
#11 13.18 ^~~~~~~~
#11 13.18 tp_dict
#11 13.18 pyearth/_record.c:15640:50: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’; did you mean ‘tp_dict’?
#11 13.18 __pyx_type_7pyearth_7_record_ForwardPassRecord.tp_print = 0;
#11 13.18 ^~~~~~~~
#11 13.18 tp_dict
#11 13.18 pyearth/_record.c:15651:42: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’; did you mean ‘tp_dict’?
#11 13.18 __pyx_type_7pyearth_7_record_Iteration.tp_print = 0;
#11 13.18 ^~~~~~~~
#11 13.18 tp_dict
#11 13.18 pyearth/_record.c:15664:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’; did you mean ‘tp_dict’?
#11 13.18 __pyx_type_7pyearth_7_record_PruningPassIteration.tp_print = 0;
#11 13.18 ^~~~~~~~
#11 13.18 tp_dict
#11 13.18 pyearth/_record.c:15675:58: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’; did you mean ‘tp_dict’?
#11 13.18 __pyx_type_7pyearth_7_record_FirstPruningPassIteration.tp_print = 0;
#11 13.18 ^~~~~~~~
#11 13.18 tp_dict
#11 13.18 pyearth/_record.c:15688:53: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’; did you mean ‘tp_dict’?
#11 13.18 __pyx_type_7pyearth_7_record_ForwardPassIteration.tp_print = 0;
#11 13.18 ^~~~~~~~
#11 13.18 tp_dict
#11 13.18 pyearth/_record.c:15700:58: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’; did you mean ‘tp_dict’?
#11 13.18 __pyx_type_7pyearth_7_record_FirstForwardPassIteration.tp_print = 0;
#11 13.18 ^~~~~~~~
#11 13.18 tp_dict
#11 13.20 pyearth/_record.c: In function ‘__Pyx_ParseOptionalKeywords’:
#11 13.20 pyearth/_record.c:16858:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 13.20 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 13.20 ^
#11 13.20 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 13.20 from /usr/local/include/python3.10/Python.h:83,
#11 13.20 from pyearth/_record.c:24:
#11 13.20 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 13.20 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 13.20 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 13.20 pyearth/_record.c:16858:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#11 13.20 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 13.20 ^
#11 13.20 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 13.20 from /usr/local/include/python3.10/Python.h:83,
#11 13.20 from pyearth/_record.c:24:
#11 13.20 /usr/local/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#11 13.20 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#11 13.20 ^~~~~~~~~~~~~~~~~~~
#11 13.20 pyearth/_record.c:16858:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 13.20 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 13.20 ^
#11 13.20 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 13.20 from /usr/local/include/python3.10/Python.h:83,
#11 13.20 from pyearth/_record.c:24:
#11 13.20 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 13.20 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 13.20 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 13.20 pyearth/_record.c:16858:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 13.20 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 13.20 ^
#11 13.20 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 13.20 from /usr/local/include/python3.10/Python.h:83,
#11 13.20 from pyearth/_record.c:24:
#11 13.20 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 13.20 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 13.20 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 13.20 pyearth/_record.c:16858:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#11 13.20 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 13.20 ^
#11 13.20 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 13.20 from /usr/local/include/python3.10/Python.h:83,
#11 13.20 from pyearth/_record.c:24:
#11 13.20 /usr/local/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#11 13.20 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#11 13.20 ^~~~~~~~~~~~~~~~~~~
#11 13.20 pyearth/_record.c:16858:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 13.20 (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 13.20 ^
#11 13.20 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 13.20 from /usr/local/include/python3.10/Python.h:83,
#11 13.20 from pyearth/_record.c:24:
#11 13.20 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 13.20 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 13.20 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 13.20 pyearth/_record.c:16874:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 13.20 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 13.20 ^
#11 13.20 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 13.20 from /usr/local/include/python3.10/Python.h:83,
#11 13.20 from pyearth/_record.c:24:
#11 13.20 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 13.20 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 13.20 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 13.20 pyearth/_record.c:16874:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#11 13.20 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 13.20 ^
#11 13.20 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 13.20 from /usr/local/include/python3.10/Python.h:83,
#11 13.20 from pyearth/_record.c:24:
#11 13.20 /usr/local/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#11 13.20 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#11 13.20 ^~~~~~~~~~~~~~~~~~~
#11 13.20 pyearth/_record.c:16874:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 13.20 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 13.20 ^
#11 13.20 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 13.20 from /usr/local/include/python3.10/Python.h:83,
#11 13.20 from pyearth/_record.c:24:
#11 13.20 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 13.20 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 13.20 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 13.20 pyearth/_record.c:16874:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 13.20 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 13.20 ^
#11 13.20 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 13.20 from /usr/local/include/python3.10/Python.h:83,
#11 13.20 from pyearth/_record.c:24:
#11 13.20 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 13.20 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 13.20 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 13.20 pyearth/_record.c:16874:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
#11 13.20 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 13.20 ^
#11 13.20 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 13.20 from /usr/local/include/python3.10/Python.h:83,
#11 13.20 from pyearth/_record.c:24:
#11 13.20 /usr/local/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
#11 13.20 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
#11 13.20 ^~~~~~~~~~~~~~~~~~~
#11 13.20 pyearth/_record.c:16874:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
#11 13.20 (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
#11 13.20 ^
#11 13.20 In file included from /usr/local/include/python3.10/unicodeobject.h:1046,
#11 13.20 from /usr/local/include/python3.10/Python.h:83,
#11 13.20 from pyearth/_record.c:24:
#11 13.20 /usr/local/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
#11 13.20 static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
#11 13.20 ^~~~~~~~~~~~~~~~~~~~~~~~~~
#11 13.27 error: command '/usr/bin/gcc' failed with exit code 1


executor failed running [/bin/sh -c python setup.py install -qq --cythonize]: exit code: 1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant