Package Details: python-arch 6.2.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: 2023-11-17 18:43 (UTC)

Latest Comments

MarsSeed commented on 2023-07-20 00:38 (UTC) (edited on 2023-07-20 00:38 (UTC) by MarsSeed)

Repo's cython is now at version 3.0.0. Please make this package depend on that one instead of AUR's cython3, which was made redundant by the current repo release and is pending deletion.

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.

a.kudelin commented on 2021-03-14 16:25 (UTC)

Please have a look at a slightly modified PKGBUILD: https://pastebin.com/BEbaefyx