Package Details: python-plumbum 1.6.3-1

Git Clone URL: https://aur.archlinux.org/python-plumbum.git (read-only)
Package Base: python-plumbum
Description: Shell combinators library.
Upstream URL: https://pypi.python.org/pypi/plumbum
Licenses: GPL
Submitter: mmirate
Maintainer: FlorianJacob
Last Packager: FlorianJacob
Votes: 9
Popularity: 0.884483
First Submitted: 2012-07-15 20:53
Last Updated: 2017-01-06 23:56

Latest Comments

beoldhin commented on 2017-01-08 10:55

Thanks. Now it's working again.

FlorianJacob commented on 2017-01-06 23:59

Thanks!

(if somebody knows a sane way to get a permalink out of pypi that doesn't change the prefix on every release, please let me know. ;) )

evilgnome commented on 2017-01-06 17:23

5c5
< pkgver=1.6.2
---
> pkgver=1.6.3
21,22c21,22
< source=("https://pypi.python.org/packages/66/a2/eb943bf1efa2b403debe5b276b024222bd9cecb737f41dd06db6606a43f1/${_pkgname}-${pkgver}.tar.gz")
< md5sums=('fb124f7b70d00686831d8d0f74829e65')
---
> source=("https://github.com/tomerfiliba/${_pkgname}/archive/v${pkgver}.tar.gz")
> md5sums=('af377ef16341490d0a88a8606885c0ba')

beoldhin commented on 2017-01-06 09:12

This package just stopped working with update to Python 3.6:

This happens when calling "touch":

Traceback (most recent call last):
File "./createbasebashaliases.py", line 56, in <module>
basebashaliases.initialize()
File "./createbasebashaliases.py", line 43, in initialize
self.reset_file(destfilename)
File "./createbasebashaliases.py", line 30, in reset_file
touch(destfilename)
File "/usr/lib/python3.6/site-packages/plumbum/commands/base.py", line 90, in __call__
return self.run(args, **kwargs)[1]
File "/usr/lib/python3.6/site-packages/plumbum/commands/base.py", line 220, in run
return p.run()
File "/usr/lib/python3.6/site-packages/plumbum/commands/base.py", line 182, in runner
return run_proc(p, retcode, timeout)
File "/usr/lib/python3.6/site-packages/plumbum/commands/processes.py", line 196, in run_proc
stdout, stderr = proc.communicate()
File "/usr/lib/python3.6/subprocess.py", line 836, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/usr/lib/python3.6/subprocess.py", line 1532, in _communicate
self.stdout.encoding,
AttributeError: '_io.BufferedReader' object has no attribute 'encoding'

Also calling "cat" and append seems to trigger the same error:

File "./createbasebashrc.py", line 35, in append_one_definition
(cat[sourcefilename] >> destfilename)()
File "/usr/lib/python3.6/site-packages/plumbum/commands/base.py", line 90, in __call__
return self.run(args, **kwargs)[1]
File "/usr/lib/python3.6/site-packages/plumbum/commands/base.py", line 220, in run
return p.run()
File "/usr/lib/python3.6/site-packages/plumbum/commands/base.py", line 182, in runner
return run_proc(p, retcode, timeout)
File "/usr/lib/python3.6/site-packages/plumbum/commands/processes.py", line 196, in run_proc
stdout, stderr = proc.communicate()
File "/usr/lib/python3.6/subprocess.py", line 836, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/usr/lib/python3.6/subprocess.py", line 1536, in _communicate
self.stderr.encoding,
AttributeError: '_io.BufferedReader' object has no attribute 'encoding'

timdiels commented on 2015-10-13 21:18

Could you change `python setup.py` to `python3 setup.py` in the PKGBUILD? (I am a bit of a heretic and link my python to python2)

evilgnome commented on 2014-04-07 23:12

1.4.1
1c2f8ec8c6c04bdc38a19f7c52a28445

evilgnome commented on 2014-02-04 22:08

I'm just writing to affirm that this pkgbuild works just fine if you change the version and md5 to the latest values at the pypi page (in addition to working just fine in its current state).

Those numbers are 1.4.0 and 16d31529f150506c713f70053f383da6.

mmirate commented on 2013-03-17 19:38

The patch is now copy-pasted from `git diff` into the PKGBUILD.

Anonymous comment on 2013-03-16 22:05

https://github.com/tomerfiliba/plumbum/issues/56

There is an issue with plumbum and python 3.3 . It is fixed in the master branch, but until official release i suggest including this commit https://github.com/tomerfiliba/plumbum/commit/dc18cc9cfe9c701d7b5df689e0b353dcf8912e10#plumbum/__init__.py as a patch.

Can you do that, please?