Package Details: python-rchitect 0.4.6-1

Git Clone URL: https://aur.archlinux.org/python-rchitect.git (read-only, click to copy)
Package Base: python-rchitect
Description: Minimal R API for Python
Upstream URL: https://github.com/randy3k/rchitect
Licenses: MIT
Submitter: mschu
Maintainer: mschu
Last Packager: mschu
Votes: 2
Popularity: 0.000182
First Submitted: 2018-12-31 20:25 (UTC)
Last Updated: 2024-01-18 14:47 (UTC)

Latest Comments

1 2 Next › Last »

ishanarora commented on 2024-01-10 08:31 (UTC)

Needs:

makedepends=('python-setuptools')

Thanks!

khughitt commented on 2023-11-11 11:17 (UTC)

Switching the source to github is indeed enough:

source=(https://github.com/randy3k/$_name/archive/refs/tags/v$pkgver.tar.gz)

alexanderp commented on 2023-11-10 17:23 (UTC)

package doesn't build. this is blocking radian update

bonob commented on 2023-11-03 18:48 (UTC) (edited on 2023-11-03 18:52 (UTC) by bonob)

0.4.4-1 doesn't build, from what I see $_name is not defined in the PKGBUILD.

I tried to find the format for the source url on files.pythonhosted.org, but I don't know if the used format ([...]/p/python-rchitect/python-rchitect-[version].tar.gz I was assuming) is still available there, from the PyPI package page only a link with a hash is available I think.

Considering RFC "Sources for Python packaging" https://rfc.archlinux.page/0020-sources-for-python-packaging/, maybe it would make sense to use the source from github instead? (so https://github.com/randy3k/rchitect/archive/refs/tags/v0.4.4.tar.gz for this version.)

bonob commented on 2021-12-13 16:08 (UTC)

The dependency on python-multipledispatch has been removed in 0.2.3.

madmonarchist commented on 2021-09-18 03:06 (UTC)

I had the same error as @carlosal1015 but installing python-pip fixes it. Maybe add it to the dependencies? Thanks!

carlosal1015 commented on 2021-09-06 23:36 (UTC) (edited on 2021-12-06 13:15 (UTC) by carlosal1015)

Hi, I have the following error:

==> Making package: python-rchitect 0.3.34-1 (Mon 06 Dec 2021 08:14:16 AM -05)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found rchitect-0.3.34.tar.gz
==> Validating source files with sha256sums...
    rchitect-0.3.34.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting rchitect-0.3.34.tar.gz with bsdtar
==> Sources are ready.
==> Making package: python-rchitect 0.3.34-1 (Mon 06 Dec 2021 08:14:18 AM -05)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
WARNING: The wheel package is not available.
/usr/sbin/python: No module named pip
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/setuptools/installer.py", line 75, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/sbin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpk270mpat', '--quiet', 'pytest-runner']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/tmp/makepkg/python-rchitect/src/rchitect-0.3.34/setup.py", line 32, in <module>
    setup(
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 152, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 147, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 785, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 766, in resolve
    dist = best[req.key] = env.best_match(
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1051, in best_match
    return self.obtain(req, installer)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1063, in obtain
    return installer(requirement)
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 844, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/usr/lib/python3.9/site-packages/setuptools/installer.py", line 77, in fetch_build_egg
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/sbin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpk270mpat', '--quiet', 'pytest-runner']' returned non-zero exit status 1.
==> ERROR: A failure occurred in build().
    Aborting...

mschu commented on 2021-01-05 20:24 (UTC)

I have removed python2 support. Please let me know if anyone needs it, then I can add another package

mvondomaros commented on 2020-11-10 21:44 (UTC)

@mschu Thanks for maintaining this actively!

Do you think you split this up into python3 (python-rchitect) and python2 (python2-rchitect) packages? This would comply with the AUR naming conventions for python packages and would not force users to install python2 if they don't want this. Thanks!

mschu commented on 2019-01-08 11:04 (UTC)

This works for me: platform linux -- Python 3.7.2, pytest-4.1.0, py-1.7.0, pluggy-0.8.0 (only a deprecation warning for "from collections import Callable")