Commit graph

3 commits

Author SHA1 Message Date
Maximilian Bosch cf50edf583
python3Packages.yowsup: 2.5.2 -> 2.5.7
The latest update of `yowsup` (https://github.com/tgalal/yowsup/releases/tag/v2.5.7)
contains the following fixes:

* Updated tokens
* Fixed tgalal/yowsup#1842: Bug in protocol_groups RemoveGroupsNotificationProtocolEntity
* Other minor bug fixes

The `argparse-dependency.patch` required a rebase onto the latest
version of `setup.py` and ensures that `argparse` won't be needed as
extra dependency as our `python3` package ships `argparse` by default.

A short note to Python 2 support:

the actual issue related to Python 2.x support has been resolved
(https://github.com/tgalal/yowsup/issues/2325#issuecomment-354533727),
however this relies on `six==1.10` which isn't support by `nixpkgs` as
`six` has been bumped to `1.11`. When trying to inject a patched version
of our `six` package based on `six==1.10` you'll run into issues with
duplicated libraries in your closure as further build dependencies
(`pytest` in this case) use the latest `six` version. As Python 2.7 will
die in 2020 (https://pythonclock.org/) and patching around in the
dependencies of `pytest` to get `yowsup` running isn't worth the effort
in my opinion I decided to keep the Python 2.x build disabled for now.
2018-05-04 09:09:59 +02:00
Maximilian Bosch 14c13ed390
pythonPackages.yowsup: disable python2 build
I'm not exactly sure why, but it seems as the python2 build
of yowsup is breaking.
see https://github.com/tgalal/yowsup/issues/2325

It seems to be recommended to use python3 for building and disable
the usage of python2 which fixed the build.
2017-11-11 09:46:11 +01:00
Maximilian Bosch eef496f01c pythonPackages.yowsup: init at v2.5.2 (#30406)
* pythonPackages.yowsup: init at v2.5.2

* python.pkgs.yowsup: fix tests
2017-10-14 10:54:59 +01:00