Package Details: python-slack-sdk 3.31.0-1

Git Clone URL: https://aur.archlinux.org/python-slack-sdk.git (read-only, click to copy)
Package Base: python-slack-sdk
Description: Slack Python SDK
Upstream URL: https://slack.dev/python-slack-sdk
Licenses: MIT
Conflicts: python-slackclient
Replaces: python-slackclient
Submitter: a.kudelin
Maintainer: a.kudelin
Last Packager: a.kudelin
Votes: 1
Popularity: 0.000000
First Submitted: 2020-11-13 18:20 (UTC)
Last Updated: 2024-07-18 12:29 (UTC)

Latest Comments

1 2 Next › Last »

iago-lito commented on 2024-05-21 11:43 (UTC) (edited on 2024-05-21 11:43 (UTC) by iago-lito)

Okay, it just needed rebuild after upgrade to python3.12:

$ paru -S --rebuild python-slack-sdk

Could this not happen automatically whenever python version is bumped?

iago-lito commented on 2024-05-21 07:51 (UTC)

The package seems broken today?

$ paru -S --needed python-slack-sdk
:: Resolving dependencies...
:: python-slack-sdk-3.21.3-1 is up to date -- skipping
 there is nothing to do
$ python -m slack_sdk
/usr/bin/python: No module named slack_sdk

wallacoloo commented on 2019-08-19 22:59 (UTC) (edited on 2019-08-19 23:00 (UTC) by wallacoloo)

Updated to 2.1.0, but no more support for python2:

diff --git a/PKGBUILD b/PKGBUILD
index 881f659..9fc2165 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,17 @@

 _name=slackclient
 pkgbase='python-slackclient'
-pkgname=('python-slackclient' 'python2-slackclient')
-pkgver=1.2.1
+pkgname='python-slackclient'
+pkgver=2.1.0
 pkgrel=1
 pkgdesc="Python Slack API clients for Web API and RTM API"
 arch=('any')
 url="https://pypi.python.org/pypi/slackclient"
 license=('MIT')
-makedepends=(
-  'python' 'python-setuptools'
-  'python2' 'python2-setuptools')
+makedepends=('python' 'python-setuptools')
 options=(!emptydirs)
 source=("${pkgname}"-"${pkgver}".tar.gz::https://pypi.io/packages/source/"${_name:0:1}"/"${_name}"/"${_name}"-"${pkgver}".tar.gz)
-sha256sums=('e9de0c893e8c5473107f5927ae1e543d35246f0c834f5e86470b22b762211577')
+sha256sums=('eeb0dad774f6661f7504d80d8a22deadadb941b840e7a0719b5b92d4d84f9015')

 prepare() {
   cp -a "${_name}"-"${pkgver}"{,-py2}
@@ -23,27 +21,12 @@ prepare() {
 build(){
   cd "${srcdir}"/"${_name}"-"${pkgver}"
   python setup.py build
-
-  cd "${srcdir}"/"${_name}"-"${pkgver}"-py2
-  python2 setup.py build
-}
-
-package_python2-slackclient() {
-  depends=(
-    'python2'
-    'python2-websocket-client'
-    'python2-requests'
-    'python2-six'
-  )
-
-  cd "${_name}"-"${pkgver}"-py2
-  python2 setup.py install --root="${pkgdir}"/ --optimize=1 --skip-build
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
 }

 package_python-slackclient() {
   depends=(
     'python'
+    'python-aiohttp'
     'python-websocket-client'
     'python-requests'
     'python-six'

clintval commented on 2018-03-16 00:54 (UTC) (edited on 2018-04-20 05:36 (UTC) by clintval)

Hi @viq, try now! We are on v1.1.3.

EDIT: Now on v1.2.1, curious to know if problem is fixed.

viq commented on 2018-02-09 21:17 (UTC)

Sorry clintval, I can't figure out from that comment whether you're expecting anything more from me at this moment.

As for me looking deep into the python or packaging bits, I don't know them enough to even know where to start looking right now, sorry.

clintval commented on 2018-02-09 00:30 (UTC)

Hi viq, my first guess is that pip (installer of a virtualenv) is building and installing the upstream wheels instead of sdists and there is a difference.

Let me test building from a wheel. If that does not work, then it does appear to be an unspecified bug or conflict with upstream libraries. Please keep me updated if you think the solution can be found with AUR packaging of python-slackclient.

viq commented on 2018-02-08 22:40 (UTC)

Sorry, something seems not right. I've created https://github.com/slackapi/python-slackclient/issues/289 with description, but this happens only with the system package, installed into a virtualenv it works fine...

viq commented on 2018-02-03 11:30 (UTC)

Wow, that was quick, thank you!

clintval commented on 2018-02-02 21:53 (UTC) (edited on 2018-02-03 02:23 (UTC) by clintval)

Done!