Package Details: python-theano-pymc 1.1.2-3

Git Clone URL: https://aur.archlinux.org/python-theano-pymc.git (read-only, click to copy)
Package Base: python-theano-pymc
Description: Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs
Upstream URL: https://pypi.org/project/Theano-PyMC
Licenses: BSD-3-Clause
Provides: python-theano
Submitter: Universebenzene
Maintainer: Universebenzene
Last Packager: Universebenzene
Votes: 31
Popularity: 0.000000
First Submitted: 2022-08-04 13:32 (UTC)
Last Updated: 2024-05-09 17:31 (UTC)

Latest Comments

1 2 3 Next › Last »

petronny commented on 2024-05-09 14:51 (UTC)

==> Starting build()...
/build/python-theano-pymc/src/Theano-PyMC-1.1.2/versioneer.py:421: SyntaxWarning: invalid escape sequence '\s'
  LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
  File "/build/python-theano-pymc/src/Theano-PyMC-1.1.2/setup.py", line 49, in <module>
    version=versioneer.get_version(),
            ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/build/python-theano-pymc/src/Theano-PyMC-1.1.2/versioneer.py", line 1479, in get_version
    return get_versions()["version"]
           ^^^^^^^^^^^^^^
  File "/build/python-theano-pymc/src/Theano-PyMC-1.1.2/versioneer.py", line 1411, in get_versions
    cfg = get_config_from_root(root)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/build/python-theano-pymc/src/Theano-PyMC-1.1.2/versioneer.py", line 342, in get_config_from_root
    parser = configparser.SafeConfigParser()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
==> ERROR: A failure occurred in build().

https://github.com/arch4edu/cactus/actions/runs/9002271239/job/24730212577

Perfi commented on 2020-08-24 16:09 (UTC)

Here's a patch to update to 1.0.5:

diff --git a/PKGBUILD b/PKGBUILD
index b74845c..d0ebd1d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
 pkgbase="python-theano"
 pkgname=("python-theano" "python2-theano")
 _pkgname="Theano"
-pkgver="1.0.4"
-pkgrel="3"
+pkgver="1.0.5"
+pkgrel="1"
 pkgdesc='Definition and optimized evaluation of mathematical expressions on Numpy arrays.'
 arch=('any')
 url='http://www.deeplearning.net/software/theano/'
@@ -12,7 +12,7 @@ license=('BSD')
 makedepends=('python-distribute' 'python2-distribute')
 #checkdepends=('python-nose' 'python-parameterized' 'python2-nose' 'python2-parameterized')
 source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
-sha256sums=('35c9bbef56b61ffa299265a42a4e8f8cb5a07b2997dabaef0f8830b397086913')
+sha256sums=('6e9439dd53ba995fcae27bf20626074bfc2fff446899dc5c53cb28c1f9202e89')

 prepare() {
   cd "${_pkgname}-${pkgver}"

I can help co-maintain this if you'd like.

JohnRobson commented on 2020-02-22 16:31 (UTC)

import theano
ModuleNotFoundError: No module named 'theano'

Only worked after installing through PIP: $ sudo python -m pip install --upgrade theano

davidmcinnis commented on 2019-03-31 12:38 (UTC)

@xantares good suggestion about python2-parameterized. This package isn't necessary unless running check(), which takes over 4 hours to complete on my machine. Commented out python-parameterized and python2-parameterized from checkdepends().

xantares commented on 2019-03-31 12:30 (UTC)

please drop python2-parameterized

davidmcinnis commented on 2019-03-21 23:20 (UTC) (edited on 2019-03-30 13:26 (UTC) by davidmcinnis)

Thank you for the suggestion @xantares. Updated check-depends.

xantares commented on 2019-03-21 16:44 (UTC)

optdepends should moved to each package section else python-theano optionally requires python2-mpi4py:

checking dependencies...

:: python-theano optionally requires python2-mpi4py

davidmcinnis commented on 2018-07-15 08:14 (UTC)

Thanks for the helpful comments @xantares. I tried to move the numpy dependency like you said. I will keep working on it till I get things right.