[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1064291: marked as done (ITP: python-awkward -- manipulate JSON-like data with NumPy-like idioms)



Hi Sascha,

thanks a lot for your work on this.  Yesterday I wanted to take over
source-only upload (at least) but it does not build for me:

   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/python-awkward-2.6.1'
nox -s prepare
nox > Running session prepare
nox > Creating virtual environment (virtualenv) using python3 in .nox/prepare
nox > python -m pip install build numpy packaging PyYAML requests tomli
nox > Command python -m pip install build numpy packaging PyYAML requests tomli failed with exit code 1:
WARNING: The directory '/nonexistent/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa8150836d0>: Failed to   establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/build/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa815083e10>: Failed to   establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/build/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa8150d4810>: Failed to   establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/build/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa8150d5210>: Failed to   establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/build/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa8150d5c50>: Failed to   establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/build/
ERROR: Could not find a version that satisfies the requirement build (from versions: none)
ERROR: No matching distribution found for build 
nox > Session prepare failed.
make[1]: *** [debian/rules:18: override_dh_auto_build] Error 1


Even worse:  It requires pyarrow and thus the purpose we both were working
on this package is not really fulfilled since python-anndata fails with


==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_awkward.py ____________________
ImportError while importing test module '/tmp/autopkgtest.sD3d5G/autopkgtest_tmp/tests/test_awkward.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_awkward.py:205: in <module>
    ak.str.to_categorical(ak.Array([["a", "b", "c"], ["a", "b"]])),
/usr/lib/python3/dist-packages/awkward/_dispatch.py:62: in dispatch
    next(gen_or_result)
/usr/lib/python3/dist-packages/awkward/operations/str/akstr_to_categorical.py:53: in to_categorical
    return _impl(array, highlevel, behavior, attrs)
/usr/lib/python3/dist-packages/awkward/operations/str/akstr_to_categorical.py:60: in _impl
    pc = import_pyarrow_compute("ak.str.to_categorical")
/usr/lib/python3/dist-packages/awkward/_connect/pyarrow.py:60: in import_pyarrow_compute
    raise ImportError(error_message.format(name))
E   ImportError: to use ak.str.to_categorical, you must install pyarrow:
E   
E       pip install pyarrow
E   
E   or
E   
E       conda install -c conda-forge pyarrow 
E   
E   
E   This error occurred while calling
E   
E       ak.str.to_categorical(
E           <Array [['a', 'b', 'c'], ['a', 'b']] type='2 * var * string'>
E       )
=============================== warnings summary ===============================

Since python-anndata is the last package with Python3.12 issues there is some work
left on this front.

Kind regards
   Andreas.

Am Sat, Feb 24, 2024 at 01:09:05PM +0000 schrieb Debian Bug Tracking System:

> Date: Mon, 19 Feb 2024 20:16:36 +0100
> From: Sascha Steinbiss <satta@debian.org>
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Subject: ITP: python-awkward -- manipulate JSON-like data with NumPy-like
>  idioms
> 
> Package: wnpp
> Severity: wishlist
> Owner: debian-med@lists.debian.org
> X-Debbugs-Cc: debian-devel@lists.debian.org
> 
> * Package name    : python-awkward
>   Version         : 2.6.1
>   Upstream Contact: Jim Pivarski <pivarski@princeton.edu>
> * URL             : https://github.com/scikit-hep/awkward
> * License         : BSD-3-clause
>   Programming Lang: Python,  C++
>   Description     : manipulate JSON-like data with NumPy-like idioms
> 
> Awkward Array is a library for nested, variable-sized data, including
> arbitrary-length lists, records, mixed types, and missing data, using
> NumPy-like idioms. Arrays are dynamically typed, but operations on them
> are compiled and fast. Their behavior coincides with NumPy when array
> dimensions are regular and generalizes when they're not.
> 
> This is packaged as a dependency for another package under the umbrella
> of the Debian Med packaging team.

> Date: Sat, 24 Feb 2024 13:06:34 +0000
> From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
> To: 1064291-close@bugs.debian.org
> Subject: Bug#1064291: fixed in python-awkward 2.6.1-1
> 
> Source: python-awkward
> Source-Version: 2.6.1-1
> Done: Sascha Steinbiss <satta@debian.org>
> 
> We believe that the bug you reported is fixed in the latest version of
> python-awkward, which is due to be installed in the Debian FTP archive.
> 
> A summary of the changes between this version and the previous one is
> attached.
> 
> Thank you for reporting the bug, which will now be closed.  If you
> have further comments please address them to 1064291@bugs.debian.org,
> and the maintainer will reopen the bug report if appropriate.
> 
> Debian distribution maintenance software
> pp.
> Sascha Steinbiss <satta@debian.org> (supplier of updated python-awkward package)
> 
> (This message was generated automatically at their request; if you
> believe that there is a problem with it please contact the archive
> administrators by mailing ftpmaster@ftp-master.debian.org)
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Format: 1.8
> Date: Mon, 19 Feb 2024 18:28:57 +0100
> Source: python-awkward
> Binary: python3-awkward python3-awkward-dbgsym
> Architecture: source amd64
> Version: 2.6.1-1
> Distribution: unstable
> Urgency: medium
> Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
> Changed-By: Sascha Steinbiss <satta@debian.org>
> Description:
>  python3-awkward - manipulate JSON-like data with NumPy-like idioms
> Closes: 1064291
> Changes:
>  python-awkward (2.6.1-1) unstable; urgency=medium
>  .
>    [ Andreas Tille ]
>    * Initial release (Closes: #1064291)
> Checksums-Sha1:
>  e835fc60616da3330a380ca105e75bbec149cfa5 2366 python-awkward_2.6.1-1.dsc
>  a4ef295e085c7c58ec1f2a28290f13da42132bdc 6040868 python-awkward_2.6.1.orig.tar.gz
>  91af6573bfdd76139113e93f54143f79b7c3b654 3292 python-awkward_2.6.1-1.debian.tar.xz
>  277224034e7f5452fb4fc00191f8553dcc25ac75 9409 python-awkward_2.6.1-1_amd64.buildinfo
>  7f35255f4e0e28de704b43ef7020b035cac46c59 5174496 python3-awkward-dbgsym_2.6.1-1_amd64.deb
>  2b24ffdfc4f6030fcfaf86d4edc780cf4731fc5a 882204 python3-awkward_2.6.1-1_amd64.deb
> Checksums-Sha256:
>  d3ea8befdebc2a6e24965ee1fbd235669c7c558c97c1f359f342cb889729ef69 2366 python-awkward_2.6.1-1.dsc
>  4c17354edae1bf4a5701e2a5b949043b8f358895718712e0720ba1be9dabbce6 6040868 python-awkward_2.6.1.orig.tar.gz
>  5befc650dc06b79040802fd8da693894918a5162076ebad46fcc45f978a016dd 3292 python-awkward_2.6.1-1.debian.tar.xz
>  23f92d9578aa35ae164bc4cd72d81a9bb3e3f68ab27d792a7002772c8501f313 9409 python-awkward_2.6.1-1_amd64.buildinfo
>  557768ad12a871641aeef664829d6b476c2e6620ec51b1608cf553e7676d2db5 5174496 python3-awkward-dbgsym_2.6.1-1_amd64.deb
>  fea0101f0d78ff16ddb3a00d03f11ff493bbac5a24d70b98a87f6fd814fdeee8 882204 python3-awkward_2.6.1-1_amd64.deb
> Files:
>  a1714dda9f9e9fa20d0584e12e54107a 2366 python optional python-awkward_2.6.1-1.dsc
>  4985e5efc79105640d5718931eebab33 6040868 python optional python-awkward_2.6.1.orig.tar.gz
>  a1e6d04386e251fe0328470de85897b6 3292 python optional python-awkward_2.6.1-1.debian.tar.xz
>  d205149ace149bf2de2a3b844811d476 9409 python optional python-awkward_2.6.1-1_amd64.buildinfo
>  378ae2d1514d3afada7cd93760dafe1d 5174496 debug optional python3-awkward-dbgsym_2.6.1-1_amd64.deb
>  ad082dfeacaee9dd9b04bfa6683096dd 882204 python optional python3-awkward_2.6.1-1_amd64.deb
> 
> -----BEGIN PGP SIGNATURE-----
> 
> iQIzBAEBCAAdFiEEWzS6WqtVB+kDQm6F6NN64vCfSHIFAmXTt0MACgkQ6NN64vCf
> SHLdbxAAnX9oiBgUwB0NCbh6JPSo+JQr/shB6OLdwEp5rqpjkKJyJUzim4secHZ2
> 5dr2sIqIoUvVdayW6QyNcOt53ncL0CD1qt88A6Hl/bpabDaHLHBdk+ltr+Axqcek
> G2V9mrOoOddt+obakrdrM6g4Ts3TwuDvshqJs9EA351SZeEVCP3+Glq8pc0Cfmsl
> r7qX+vHI9su/k6PFpmH66qqZbzi9sIUnkxSLmsxFyVX+ZTaP85T2rxp4HdqrDagh
> dqSMA8lptt9uWbXua+2PLifmmh9wMRvJUsiMByCRNhRu5T/4h2WYMfEtrTGpVs0d
> JRvTMpe9bsdm2/+ffV2fXK6E6/9Wl6dbg8aoLmqIVFkdfyMlpsowSCgE+KlAKrxG
> rHmOkFYeaFtWDeASwa15vPut33KZlkf5HFtRV+jeCUgWa4IQJJq6NznmS7K3e1p9
> YZbIfCpMjO3qAaKaFcVtRuvA2CM9/HxROmO3BLsRVvkS5mZMOi8g+xOjX8xZttIC
> EOrslMcfQ3djAIebQ20ZeqJHohvKSRKRygYXDW9UR8jv390KvGfi/S9eTKyrlBQb
> lZFvnf8QoDKrFHsyefLiojsZgG948/fN7RsM4i32SxLWtGwIZ+qbfMaG6IQPIP2Q
> Rn5y2fjJ0G+VAbrCeypJ4zJVARXfhYQOKGMeUqUex/OsgXkX9Ig=
> =CdJG
> -----END PGP SIGNATURE-----
> 




-- 
http://fam-tille.de


Reply to: