Skip to content

Failure to build wheel #3

@footballanalyticscffc

Description

@footballanalyticscffc

Hello,

We are having a bizarre issue (that seemingly started randomly) when attempting to build in a GitHub action.

Here's the error log:

Pip subprocess error:
  error: subprocess-exited-with-error
  
  × Building wheel for sparse-dot-topn-for-blocks (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [240 lines of output]
      /tmp/pip-build-env-7j76aogf/overlay/lib/python3.10/site-packages/setuptools/dist.py:509: InformationOnly: Normalizing '0.3.1-3' to '0.3.1.post3'
        self.metadata.version = self._normalize_version(
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-310
      creating build/lib.linux-x86_64-cpython-310/sparse_dot_topn_for_blocks
      copying sparse_dot_topn_for_blocks/awesome_cossim_topn.py -> build/lib.linux-x86_64-cpython-310/sparse_dot_topn_for_blocks
      copying sparse_dot_topn_for_blocks/__init__.py -> build/lib.linux-x86_64-cpython-310/sparse_dot_topn_for_blocks
      running egg_info
      writing sparse_dot_topn_for_blocks.egg-info/PKG-INFO
      writing dependency_links to sparse_dot_topn_for_blocks.egg-info/dependency_links.txt
      writing requirements to sparse_dot_topn_for_blocks.egg-info/requires.txt
      writing top-level names to sparse_dot_topn_for_blocks.egg-info/top_level.txt
      reading manifest file 'sparse_dot_topn_for_blocks.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE'
      writing manifest file 'sparse_dot_topn_for_blocks.egg-info/SOURCES.txt'
      copying sparse_dot_topn_for_blocks/array_wrappers.pxd -> build/lib.linux-x86_64-cpython-310/sparse_dot_topn_for_blocks
      copying sparse_dot_topn_for_blocks/array_wrappers.pyx -> build/lib.linux-x86_64-cpython-310/sparse_dot_topn_for_blocks
      copying sparse_dot_topn_for_blocks/sparse_dot_topn.pyx -> build/lib.linux-x86_64-cpython-310/sparse_dot_topn_for_blocks
      copying sparse_dot_topn_for_blocks/sparse_dot_topn_parallel.cpp -> build/lib.linux-x86_64-cpython-310/sparse_dot_topn_for_blocks
      copying sparse_dot_topn_for_blocks/sparse_dot_topn_parallel.h -> build/lib.linux-x86_64-cpython-310/sparse_dot_topn_for_blocks
      copying sparse_dot_topn_for_blocks/sparse_dot_topn_source.cpp -> build/lib.linux-x86_64-cpython-310/sparse_dot_topn_for_blocks
      copying sparse_dot_topn_for_blocks/sparse_dot_topn_source.h -> build/lib.linux-x86_64-cpython-310/sparse_dot_topn_for_blocks
      copying sparse_dot_topn_for_blocks/sparse_dot_topn_threaded.pyx -> build/lib.linux-x86_64-cpython-310/sparse_dot_topn_for_blocks
      running build_ext
      /tmp/pip-build-env-7j76aogf/normal/lib/python3.10/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-d4danfp3/sparse-dot-topn-for-blocks_6880d0792a4e4b88820f21f5f53b189e/sparse_dot_topn_for_blocks/array_wrappers.pxd
        tree = Parsing.p_module(s, pxd, full_module_name)
      Compiling ./sparse_dot_topn_for_blocks/array_wrappers.pyx because it changed.
      [1/1] Cythonizing ./sparse_dot_topn_for_blocks/array_wrappers.pyx
      building 'sparse_dot_topn_for_blocks.array_wrappers' extension
      creating build/temp.linux-x86_64-cpython-310
      creating build/temp.linux-x86_64-cpython-310/sparse_dot_topn_for_blocks
      gcc -pthread -B /usr/share/miniconda3/envs/cffc-api/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /usr/share/miniconda3/envs/cffc-api/include -fPIC -O2 -isystem /usr/share/miniconda3/envs/cffc-api/include -fPIC -I/usr/share/miniconda3/envs/cffc-api/include/python3.10 -I/tmp/pip-build-env-7j76aogf/normal/lib/python3.10/site-packages/numpy/core/include -c ./sparse_dot_topn_for_blocks/array_wrappers.cpp -o build/temp.linux-x86_64-cpython-310/./sparse_dot_topn_for_blocks/array_wrappers.o -std=c++0x -pthread -O3
      g++ -pthread -B /usr/share/miniconda3/envs/cffc-api/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/usr/share/miniconda3/envs/cffc-api/lib -Wl,-rpath-link,/usr/share/miniconda3/envs/cffc-api/lib -L/usr/share/miniconda

Any help appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions