15
0
Files
python-slack-sdk/python-slack-sdk.spec
Dirk Mueller 63264242c3 - update to 3.33.2:
* Fix #1571 initial_value for RichTextInputElement should
    also accept type RichTextBlock
  * Switch canvases.* APIs to application/json format for
- update to 3.33.1:
  * Enable WebClient#assistant_threads_setSuggestedPrompts to
    skip title param - Thanks @seratch
- update to 3.33.0:
  * #1563 Add assistant.threads.* APIs
  * #1560 Fix RichTextElementParts.Date.timestamp to be an int -
- update to 3.32.0:
  * feat: add support for `conversations.requestShared`
    `approve`, `deny` & `list`
  * feat: add interactivity_pointer as trigger_id alias to
    views.* APIs
  * feat: support all possible fields for
    RichTextElementParts.Date

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-slack-sdk?expand=0&rev=28
2024-10-30 19:54:05 +00:00

80 lines
2.7 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#
# spec file for package python-slack-sdk
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-slack-sdk
Version: 3.33.2
Release: 0
Summary: Python SDKs for the Slack API
License: MIT
URL: https://github.com/slackapi/python-slack-sdk
Source: https://github.com/slackapi/python-slack-sdk/archive/v%{version}.tar.gz#/slack-sdk-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Obsoletes: python-slackclient < %{version}
Provides: python-slackclient = %{version}
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module Werkzeug}
BuildRequires: %{python_module boto3}
BuildRequires: %{python_module itsdangerous}
BuildRequires: %{python_module moto}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module sqlalchemy}
BuildRequires: %{python_module websockets}
# /SECTION
%python_subpackages
%description
The Slack platform offers several APIs to build apps. Each Slack API delivers
part of the capabilities from the platform, so that you can pick just those
that fit for your needs. This SDK offers a corresponding package for each of
Slacks APIs. They are small and powerful when used independently, and work
seamlessly when used together, too.
%prep
%autosetup -p1 -n python-slack-sdk-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Tests needs to be importable
export PYTHONPATH=$(pwd)
# No flask_sockets in Tumbleweed; TestRTMClient requires network
# test_issue_1441_mixing_user_and_bot_installations broken upstream
%pytest --ignore-glob '*/socket_mode/*' -k 'not (TestRTMClient or test_issue_1441_mixing_user_and_bot_installations)' tests
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/slack
%{python_sitelib}/slack_sdk
%{python_sitelib}/slack_sdk-%{version}.dist-info
%changelog