Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bug: deprecating python 3.8 support might resolve it #458

Closed
@SultanOrazbayev

Description

@SultanOrazbayev

Below is a traceback from a failing test on Python 3.8 (the 3.9 version appears to run fine, albeit there's the extra ubuntu-vs-macos dimension):

Runif [[source=="wheel" ]];thenCollecting suitesparse-graphblas  Downloading suitesparse-graphblas-7.4.4.0.tar.gz (132 kB)     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.5/132.5 kB 5.5 MB/s eta 0:00:00  Installing build dependencies: started  Installing build dependencies: finished with status'done'  Getting requirements to build wheel: started  Getting requirements to build wheel: finished with status'done'  Preparing metadata (pyproject.toml): started  Preparing metadata (pyproject.toml): finished with status'done'Building wheelsfor collected packages: suitesparse-graphblas  Building wheelfor suitesparse-graphblas (pyproject.toml): started  Building wheelfor suitesparse-graphblas (pyproject.toml): finished with status'error'  error: subprocess-exited-with-error    × Building wheelfor suitesparse-graphblas (pyproject.toml) did not run successfully.  │exit code: 1  ╰─> [140 lines of output]      running bdist_wheel      running build      running build_py      creating build      creating build/lib.macosx-10.9-x86_64-cpython-38      creating build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      copying suitesparse_graphblas/matrix.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      copying suitesparse_graphblas/vector.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      copying suitesparse_graphblas/scalar.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      copying suitesparse_graphblas/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      copying suitesparse_graphblas/exceptions.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      copying suitesparse_graphblas/create_headers.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      creating build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/tests      copying suitesparse_graphblas/tests/conftest.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/tests      copying suitesparse_graphblas/tests/test_package.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/tests      copying suitesparse_graphblas/tests/test_exceptions.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/tests      copying suitesparse_graphblas/tests/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/tests      copying suitesparse_graphblas/tests/test_io.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/tests      copying suitesparse_graphblas/tests/test_doctest.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/tests      copying suitesparse_graphblas/tests/test_scalar.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/tests      copying suitesparse_graphblas/tests/test_initialize.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/tests      creating build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/io      copying suitesparse_graphblas/io/serialize.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/io      copying suitesparse_graphblas/io/binary.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/io      copying suitesparse_graphblas/io/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/io      running egg_info      writing suitesparse_graphblas.egg-info/PKG-INFO      writing dependency_links to suitesparse_graphblas.egg-info/dependency_links.txt      writing requirements to suitesparse_graphblas.egg-info/requires.txt      writing top-level names to suitesparse_graphblas.egg-info/top_level.txt      reading manifest file'suitesparse_graphblas.egg-info/SOURCES.txt'      reading manifest template'MANIFEST.in'      adding license file'LICENSE'      writing manifest file'suitesparse_graphblas.egg-info/SOURCES.txt'      copying suitesparse_graphblas/source.c -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      copying suitesparse_graphblas/suitesparse_graphblas.h -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      copying suitesparse_graphblas/suitesparse_graphblas_arm64.h -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      copying suitesparse_graphblas/suitesparse_graphblas_no_complex.h -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      copying suitesparse_graphblas/utils.c -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      copying suitesparse_graphblas/utils.pxd -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      copying suitesparse_graphblas/utils.pyx -> build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      running build_ext      generating cffi module'build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c'      creating build/temp.macosx-10.9-x86_64-cpython-38      building'suitesparse_graphblas.utils' extension      creating build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/runner/miniconda3/envs/graphblas/include -fPIC -O2 -isystem /Users/runner/miniconda3/envs/graphblas/include -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-7a5vl165/overlay/lib/python3.8/site-packages/numpy/core/include -I/Users/runner/miniconda3/envs/graphblas/include -I/Users/runner/miniconda3/envs/graphblas/include/python3.8 -c suitesparse_graphblas/utils.c -o build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/utils.o      suitesparse_graphblas/utils.c:8356:5: warning:'tp_print' is deprecated [-Wdeprecated-declarations]          0,          ^      /Users/runner/miniconda3/envs/graphblas/include/python3.8/cpython/object.h:260:5: note:'tp_print' has been explicitly marked deprecated here          Py_DEPRECATED(3.8) int (*tp_print)(PyObject*, FILE*, int);          ^      /Users/runner/miniconda3/envs/graphblas/include/python3.8/pyport.h:515:54: note: expanded from macro'Py_DEPRECATED'#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))                                                           ^      1 warning generated.      clang -bundle -undefined dynamic_lookup -Wl,-rpath,/Users/runner/miniconda3/envs/graphblas/lib -L/Users/runner/miniconda3/envs/graphblas/lib -Wl,-rpath,/Users/runner/miniconda3/envs/graphblas/lib -L/Users/runner/miniconda3/envs/graphblas/lib build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/utils.o -o build/lib.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas/utils.cpython-38-darwin.so      building'suitesparse_graphblas._graphblas' extension      creating build/temp.macosx-10.9-x86_64-cpython-38/build      creating build/temp.macosx-10.9-x86_64-cpython-38/build/temp.macosx-10.9-x86_64-cpython-38      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/runner/miniconda3/envs/graphblas/include -fPIC -O2 -isystem /Users/runner/miniconda3/envs/graphblas/include -I/Users/runner/miniconda3/envs/graphblas/include -I/Users/runner/miniconda3/envs/graphblas/include/python3.8 -c build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c -o build/temp.macosx-10.9-x86_64-cpython-38/build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.o      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:4613:12: error: use of undeclared identifier'GxB_DESCRIPTOR_NTHREADS'        int n = (GxB_DESCRIPTOR_NTHREADS)<= 0;                 ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:4614:30: error: use of undeclared identifier'GxB_DESCRIPTOR_NTHREADS'*o = (unsigned long long)((GxB_DESCRIPTOR_NTHREADS)|0);/* check that GxB_DESCRIPTOR_NTHREADS is an integer*/                                   ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:4620:12: error: use of undeclared identifier 'GxB_DESCRIPTOR_CHUNK'        int n = (GxB_DESCRIPTOR_CHUNK) <=0;                 ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:4621:30: error: use of undeclared identifier 'GxB_DESCRIPTOR_CHUNK'        *o = (unsigned long long)((GxB_DESCRIPTOR_CHUNK) |0);  /* check that GxB_DESCRIPTOR_CHUNK is an integer */                                   ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:4627:12: error: use of undeclared identifier 'GxB_DESCRIPTOR_GPU_CONTROL'        int n = (GxB_DESCRIPTOR_GPU_CONTROL) <=0;                 ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:4628:30: error: use of undeclared identifier 'GxB_DESCRIPTOR_GPU_CONTROL'        *o = (unsigned long long)((GxB_DESCRIPTOR_GPU_CONTROL) |0);  /* check that GxB_DESCRIPTOR_GPU_CONTROL is an integer */                                   ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:4634:12: error: use of undeclared identifier 'GxB_DESCRIPTOR_GPU_CHUNK'        int n = (GxB_DESCRIPTOR_GPU_CHUNK) <=0;                 ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:4635:30: error: use of undeclared identifier 'GxB_DESCRIPTOR_GPU_CHUNK'        *o = (unsigned long long)((GxB_DESCRIPTOR_GPU_CHUNK) |0);  /* check that GxB_DESCRIPTOR_GPU_CHUNK is an integer */                                   ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:4704:12: error: use of undeclared identifier 'GxB_GPU_ALWAYS'        int n = (GxB_GPU_ALWAYS) <=0;                 ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:4705:30: error: use of undeclared identifier 'GxB_GPU_ALWAYS'        *o = (unsigned long long)((GxB_GPU_ALWAYS) |0);  /* check that GxB_GPU_ALWAYS is an integer */                                   ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:4711:12: error: use of undeclared identifier 'GxB_GPU_NEVER'        int n = (GxB_GPU_NEVER) <=0;                 ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:4712:30: error: use of undeclared identifier 'GxB_GPU_NEVER'        *o = (unsigned long long)((GxB_GPU_NEVER) |0);  /* check that GxB_GPU_NEVER is an integer */                                   ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:5152:12: error: use of undeclared identifier 'GxB_GLOBAL_GPU_CONTROL'; did you mean 'GxB_GLOBAL_GPU_ID'?        int n = (GxB_GLOBAL_GPU_CONTROL) <=0;                 ^~~~~~~~~~~~~~~~~~~~~~                 GxB_GLOBAL_GPU_ID      /Users/runner/miniconda3/envs/graphblas/include/GraphBLAS.h:3978:5: note: 'GxB_GLOBAL_GPU_ID' declared here          GxB_GLOBAL_GPU_ID = GxB_GPU_ID,      // which GPU to use (DRAFT)          ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:5153:30: error: use of undeclared identifier 'GxB_GLOBAL_GPU_CONTROL'; did you mean 'GxB_GLOBAL_GPU_ID'?        *o = (unsigned long long)((GxB_GLOBAL_GPU_CONTROL) |0);  /* check that GxB_GLOBAL_GPU_CONTROL is an integer */                                   ^~~~~~~~~~~~~~~~~~~~~~                                   GxB_GLOBAL_GPU_ID      /Users/runner/miniconda3/envs/graphblas/include/GraphBLAS.h:3978:5: note: 'GxB_GLOBAL_GPU_ID' declared here          GxB_GLOBAL_GPU_ID = GxB_GPU_ID,      // which GPU to use (DRAFT)          ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:5159:12: error: use of undeclared identifier 'GxB_GLOBAL_GPU_CHUNK'; did you mean 'GxB_GLOBAL_CHUNK'?        int n = (GxB_GLOBAL_GPU_CHUNK) <=0;                 ^~~~~~~~~~~~~~~~~~~~                 GxB_GLOBAL_CHUNK      /Users/runner/miniconda3/envs/graphblas/include/GraphBLAS.h:3977:5: note: 'GxB_GLOBAL_CHUNK' declared here          GxB_GLOBAL_CHUNK = GxB_CHUNK,        // chunk size for small problems.          ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:5160:30: error: use of undeclared identifier 'GxB_GLOBAL_GPU_CHUNK'; did you mean 'GxB_GLOBAL_CHUNK'?        *o = (unsigned long long)((GxB_GLOBAL_GPU_CHUNK) |0);  /* check that GxB_GLOBAL_GPU_CHUNK is an integer */                                   ^~~~~~~~~~~~~~~~~~~~                                   GxB_GLOBAL_CHUNK      /Users/runner/miniconda3/envs/graphblas/include/GraphBLAS.h:3977:5: note: 'GxB_GLOBAL_CHUNK' declared here          GxB_GLOBAL_CHUNK = GxB_CHUNK,        // chunk size for small problems.          ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:5228:10: error: implicit declaration of function 'GB_BinaryOp_new' is invalid in C99 [-Werror,-Wimplicit-function-declaration]        return GB_BinaryOp_new(x0, x1, x2, x3, x4, x5);               ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:5305:14: error: implicit declaration of function 'GB_BinaryOp_new' is invalid in C99 [-Werror,-Wimplicit-function-declaration]        { result = GB_BinaryOp_new(x0, x1, x2, x3, x4, x5); }                   ^      build/temp.macosx-10.9-x86_64-cpython-38/suitesparse_graphblas._graphblas.c:5481:10: error: implicit declaration of function 'GB_SelectOp_new' is invalid in C99 [-Werror,-Wimplicit-function-declaration]        return GB_SelectOp_new(x0, x1, x2, x3, x4);               ^      fatal error: too many errors emitted, stopping now [-ferror-limit=]20 errors generated.      /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-7a5vl165/overlay/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.        config = read_configuration(filepath, True, ignore_option_errors, dist)      error: command '/usr/bin/clang' failed with exit code1      [end of output]  note: This error originates from a subprocess, and is likely not a problem with pip.  ERROR: Failed building wheel for suitesparse-graphblasERROR: Could not build wheels for suitesparse-graphblas, which is required to install pyproject.toml-based projectsFailed to build suitesparse-graphblasError: Process completed with exit code1.

The full set of results is here:https://github.com/python-graphblas/python-graphblas/actions/runs/5152658998/jobs/9278993418?pr=457

Perhaps this will go away once the 3.8 version support is dropped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp