Package Details: python-bcolz 1.2.1-2

Git Clone URL: https://aur.archlinux.org/python-bcolz.git (read-only, click to copy)
Package Base: python-bcolz
Description: columnar and compressed data containers.
Upstream URL: https://bcolz.readthedocs.org/
Licenses: BSD
Submitter: Francois_B
Maintainer: None
Last Packager: Xavier
Votes: 4
Popularity: 0.000000
First Submitted: 2015-06-15 01:56 (UTC)
Last Updated: 2018-04-17 00:14 (UTC)

Latest Comments

Xavier commented on 2024-05-19 23:22 (UTC)

Hi Carlos, I haven't used it for a long time, I just disowned if you want adopt it

carlosal1015 commented on 2024-05-19 19:52 (UTC)

Hi, I have the following message error

==> Starting build()...
patching file setup.py
Hunk #1 succeeded at 160 (offset 7 lines).
/build/python-bcolz/src/bcolz-1.2.1/setup.py:23: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import resource_filename
/build/python-bcolz/src/bcolz-1.2.1/cpuinfo.py:553: SyntaxWarning: invalid escape sequence '\d'
  if re.match('^i\d86$|^x86$|^x86_32$|^i86pc$|^ia32$|^ia-32$|^bepc$', raw_arch_string):
/usr/lib/python3.12/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
running build_ext
/usr/lib/python3.12/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: /build/python-bcolz/src/bcolz-1.2.1/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' (alias of 'int')
Compiling bcolz/carray_ext.pyx because it changed.
[1/1] Cythonizing bcolz/carray_ext.pyx
Traceback (most recent call last):
  File "/build/python-bcolz/src/bcolz-1.2.1/setup.py", line 161, in <module>
    setup(
  File "/usr/lib/python3.12/site-packages/setuptools/__init__.py", line 103, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
  File "/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
    self.build_extensions()
  File "/build/python-bcolz/src/bcolz-1.2.1/setup.py", line 77, in build_extensions
    cython_build_ext.build_extensions(self)
  File "/usr/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
    self._build_extensions_serial()
  File "/usr/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
    self.build_extension(ext)
  File "/usr/lib/python3.12/site-packages/Cython/Distutils/build_ext.py", line 130, in build_extension
    new_ext = cythonize(
              ^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
    cythonize_one(*args)
  File "/usr/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: bcolz/carray_ext.pyx
==> ERROR: A failure occurred in build().
    Aborting...

Francois_B commented on 2018-09-24 14:05 (UTC)

Yes, I have several packages to change like that.

kgizdov commented on 2018-09-24 13:38 (UTC)

I was wondering if you could make a split package for Python 2 as well. One of the packages I maintain needs it (python2-awkward-array)?

Xavier commented on 2018-04-17 00:19 (UTC)

Fixed, thanks.

thrasibule commented on 2018-04-15 15:32 (UTC)

The current PKGBUILD actually doesn't use the blosc package, and recompiles the internal blosc library. I think you need to trigger the build as so: BLOSC_DIR=/usr/lib python setup.py build as explained in the README.

jeanfrancisroy commented on 2016-02-08 20:16 (UTC)

This package fails to build using numpy >= 1.10 (due to a version check bug). This bug was fixed in new versions, bumping the package to version 0.12.1 solves the issue.