You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug is. Please explain:
There is a failure in the CI while installing the bcolz pip package
It's dismissed with this warning:
Dismissed failure installing some optional package. Resuming tests...
Expected behavior
A clear and concise description of intended behavior. Please explain:
Discover:
If it's a problem.
When it started happening.
If it's worthwhile to fix it.
Scenario for reprodution
Reproducible test case
Please provide a minimal, reproducible code sample, a copy-pastable example if possible:
Collecting numpy>=1.7 (from bcolz->-r requirements-optional.txt (line 14))
Using cached numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB)
Building wheels for collected packages: bcolz
Building wheel for bcolz (setup.py): started
Building wheel for bcolz (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [89 lines of output]
SSE2 detected
AVX2 detected
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/bcolz
copying bcolz/chunked_eval.py -> build/lib.linux-x86_64-3.7/bcolz
copying bcolz/py2help.py -> build/lib.linux-x86_64-3.7/bcolz
copying bcolz/ctable.py -> build/lib.linux-x86_64-3.7/bcolz
copying bcolz/toplevel.py -> build/lib.linux-x86_64-3.7/bcolz
copying bcolz/arrayprint.py -> build/lib.linux-x86_64-3.7/bcolz
copying bcolz/attrs.py -> build/lib.linux-x86_64-3.7/bcolz
copying bcolz/version.py -> build/lib.linux-x86_64-3.7/bcolz
copying bcolz/utils.py -> build/lib.linux-x86_64-3.7/bcolz
copying bcolz/defaults.py -> build/lib.linux-x86_64-3.7/bcolz
copying bcolz/py2help_tests.py -> build/lib.linux-x86_64-3.7/bcolz
copying bcolz/__init__.py -> build/lib.linux-x86_64-3.7/bcolz
creating build/lib.linux-x86_64-3.7/bcolz/tests
copying bcolz/tests/common.py -> build/lib.linux-x86_64-3.7/bcolz/tests
copying bcolz/tests/test_queries.py -> build/lib.linux-x86_64-3.7/bcolz/tests
copying bcolz/tests/all.py -> build/lib.linux-x86_64-3.7/bcolz/tests
copying bcolz/tests/test_carray_objects.py -> build/lib.linux-x86_64-3.7/bcolz/tests
copying bcolz/tests/test_carray.py -> build/lib.linux-x86_64-3.7/bcolz/tests
copying bcolz/tests/test_attrs.py -> build/lib.linux-x86_64-3.7/bcolz/tests
copying bcolz/tests/test_ndcarray.py -> build/lib.linux-x86_64-3.7/bcolz/tests
copying bcolz/tests/test_ctable.py -> build/lib.linux-x86_64-3.7/bcolz/tests
copying bcolz/tests/__init__.py -> build/lib.linux-x86_64-3.7/bcolz/tests
copying bcolz/carray_ext.pxd -> build/lib.linux-x86_64-3.7/bcolz
running build_ext
Compiling bcolz/carray_ext.pyx because it changed.
[1/1] Cythonizing bcolz/carray_ext.pyx
/tmp/pip-install-e6qfw5hr/bcolz_9ba2781eef6f491cae7bfb67fa2e4f0e/.eggs/Cython-3.0.0-py3.7-linux-x86_64.egg/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-e6qfw5hr/bcolz_9ba2781eef6f491cae7bfb67fa2e4f0e/bcolz/carray_ext.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
# Create the final container and fill it
out = carray([], dtype=newdtype, cparams=self.cparams,
expectedlen=newlen,
rootdir=rootdir, mode='w')
if newlen < ilen:
rsize = isize / newlen
^
------------------------------------------------------------
bcolz/carray_ext.pyx:1685:26: Cannot assign type 'double' to 'npy_intp'
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-e6qfw5hr/bcolz_9ba2781eef6f491cae7bfb67fa2e4f0e/setup.py", line 234, in <module>
cmdclass=LazyCommandClass(),
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 349, in run
self.run_command("build")
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/tmp/pip-install-e6qfw5hr/bcolz_9ba2781eef6f491cae7bfb67fa2e4f0e/setup.py", line 77, in build_extensions
cython_build_ext.build_extensions(self)
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/tmp/pip-install-e6qfw5hr/bcolz_9ba2781eef6f491cae7bfb67fa2e4f0e/.eggs/Cython-3.0.0-py3.7-linux-x86_64.egg/Cython/Distutils/build_ext.py", line 123, in build_extension
ext,force=self.force, quiet=self.verbose == 0, **options
File "/tmp/pip-install-e6qfw5hr/bcolz_9ba2781eef6f491cae7bfb67fa2e4f0e/.eggs/Cython-3.0.0-py3.7-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1134, in cythonize
cythonize_one(*args)
File "/tmp/pip-install-e6qfw5hr/bcolz_9ba2781eef6f491cae7bfb67fa2e4f0e/.eggs/Cython-3.0.0-py3.7-linux-x86_64.egg/Cython/Build/Dependencies.py", line 1301, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: bcolz/carray_ext.pyx
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for bcolz
Running setup.py clean for bcolz
Failed to build bcolz
ERROR: Could not build wheels for bcolz, which is required to install pyproject.toml-based projects
Version and installation information
Please provide the following:
Value of petl.__version__: 1.7.12
Version information for any third-party package dependencies that are relevant:
numpy>=1.7 ??
bcolz-1.2.1
Version of Python interpreter: 3.7 and possibly later
Problem description
What's happenning
A clear and concise description of what the bug is. Please explain:
Expected behavior
A clear and concise description of intended behavior. Please explain:
Scenario for reprodution
Reproducible test case
Please provide a minimal, reproducible code sample, a copy-pastable example if possible:
Version and installation information
Please provide the following:
petl.__version__
:1.7.12
numpy>=1.7
??bcolz-1.2.1
3.7
and possibly laterubuntu-latest
requirements-optional.txt
(line 14)The text was updated successfully, but these errors were encountered: