Package Details: python-arch 7.0.0-1

Git Clone URL: https://aur.archlinux.org/python-arch.git (read-only, click to copy)
Package Base: python-arch
Description: ARCH models in Python.
Upstream URL: https://pypi.python.org/pypi/arch
Keywords: econometrics python
Licenses: custom:University of Illinois/NCSA Open Source License
Submitter: thrasibule
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 2
Popularity: 0.000000
First Submitted: 2017-01-10 19:44 (UTC)
Last Updated: 2024-05-08 17:32 (UTC)

Latest Comments

1 2 Next › Last »

petronny commented on 2024-05-10 08:58 (UTC)

Getting this error:

gcc -fno-strict-overflow -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -fPIC -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/usr/lib/python3.12/site-packages/numpy/core/include -I/usr/include/python3.12 -c ./arch/univariate/recursions.c -o build/temp.linux-x86_64-cpython-312/./arch/univariate/recursions.o
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<command-line>: note: this is the location of the previous definition
./arch/univariate/recursions.c: In function ‘__pyx_f_5numpy_5dtype_8itemsize_itemsize’:
./arch/univariate/recursions.c:19396:13: error: implicit declaration of function ‘PyDataType_ELSIZE’; did you mean ‘PyDataType_ISUNSIZED’? [-Wimplicit-function-declaration]
19396 |   __pyx_r = PyDataType_ELSIZE(__pyx_v_self);
      |             ^~~~~~~~~~~~~~~~~
      |             PyDataType_ISUNSIZED

https://github.com/arch4edu/cactus/actions/runs/9028460669/job/24808978729

petronny commented on 2024-05-02 07:54 (UTC)

python-property-cached is gone.

petronny commented on 2023-05-19 06:53 (UTC)

==> Starting build()...
* Getting build dependencies for wheel...
running egg_info
writing arch.egg-info/PKG-INFO
writing dependency_links to arch.egg-info/dependency_links.txt
writing requirements to arch.egg-info/requires.txt
writing top-level names to arch.egg-info/top_level.txt
reading manifest file 'arch.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.md'
writing manifest file 'arch.egg-info/SOURCES.txt'

ERROR Missing dependencies:
    oldest-supported-numpy
    setuptools_scm[toml]<8,>=7
==> ERROR: A failure occurred in build().

https://github.com/arch4edu/cactus/actions/runs/5019957071/jobs/9000982235

thrasibule commented on 2023-05-16 13:29 (UTC)

@kudelin Can you tell me what was broken for you instead of rewriting the PKGBUILD. Your build is exactly the same as the original except you skip dependencies, so I don't see how this fixes anything.

a.kudelin commented on 2023-05-16 11:05 (UTC) (edited on 2023-05-16 11:06 (UTC) by a.kudelin)

build() and check() stages are broken. I installed with the use of the following PKGBUILD:

# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>

pkgname='python-arch'
_module='arch'
pkgver='5.5.0'
pkgrel=2
pkgdesc="ARCH models in Python."
url="https://bashtage.github.io/arch"
depends=('python-numpy'
         'python-pandas'
         'python-scipy'
         'python-statsmodels')
checkdepends=('python-pytest' 'python-seaborn')
makedepends=('cython' 'python-setuptools' 'python-build' 'python-installer' 'python-wheel')
license=('custom:University of Illinois/NCSA Open Source License')
arch=('x86_64' 'aarch64')
source=($pkgname-$pkgver.tar.gz::https://github.com/bashtage/$_module/archive/refs/tags/v$pkgver.tar.gz)
sha256sums=('00f64304c6fae83ce9e38e54b5cad273ee1171dc8347c793a7a66212c5205848')

build() {
  cd "$srcdir/$_module-$pkgver"
  python -m build \
    --wheel \
    --no-isolation \
    --skip-dependency-check
}

package() {
  cd "$srcdir/$_module-$pkgver"
  python -m installer \
    --destdir="$pkgdir" \
    --compile-bytecode=2 \
    dist/*.whl

  install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
}

thrasibule commented on 2022-05-27 01:58 (UTC)

or just paru --mflags --nocheck python-property-cached

a.kudelin commented on 2022-05-26 19:59 (UTC) (edited on 2022-05-26 20:00 (UTC) by a.kudelin)

@thrasibule, a user has to 1) clone repo, 2) fix dependencies, 3) build the package manually instead of just paru -S python-arch
Also please fix the number of version in the installed package:

/usr/lib/python3.10/site-packages/arch-0.0.0-py3.10.egg-info/PKG-INFO
                                       ^^^^^                 ^^^^^^^^

thrasibule commented on 2022-05-24 18:01 (UTC)

Only the tests fail for python-property-cached, works fine otherwise.

a.kudelin commented on 2022-05-24 17:54 (UTC)

python-property-cached is broken and not necessary.