14
0
Files
python-slack-sdk/python-slack-sdk.spec

75 lines
2.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-slack-sdk
#
# Copyright (c) 2023 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
- update to 3.26.1: * #1441 #1442 Built-in InstallationStores fail to resolve a valid bot token when both bot and user-only installations co- exist in database tables - Thanks @kulmatitskiy @seratch * #1440 Fix a bug on the aiohttp-based Socket Mode client's exception handling - Thanks @ifmcnichols * #1438 Add new `force` argument to `conversations.invite` API method - Thanks @filmaj * #1435 Enable testing for Python 3.12 and PyPy 3.10 on CI - * #1432 Add functions.completeSuccess/Error APIs for remote functions - Thanks @seratch @WilliamBergamin * #1433 Add RichTextBlock to Block.parse() targets - Thanks @seratch * #1430 Fix #1427 Add apps.manifest.* & tooling.tokens.rotate API support - Thanks @seratch * #1431 Fix #1428 Add rich_text classes to slack_sdk.models module - Thanks @seratch @tj-smith47 * #1425 Fix #1424 Add file input block element support - Thanks @seratch * #1423 Fix #1421 Update SlackApiError exception handling for web client - Thanks @vinceta * #1418 Add new arguments to admin.users.list API method - Thanks @seratch * #1409 Make next_cursor extraction logic even more robust (ref #1407) - Thanks @seratch * #1406 Add `RichTextInputElement` to `slack_sdk.models` - * #1408 Update `files.upload` v2 method in correspondence with server-side changes - Thanks @seratch * Since this version, developers no longer need `files:read` permission for `files_upload_v2` method. To learn more about OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-slack-sdk?expand=0&rev=18
2023-12-08 13:44:18 +00:00
Version: 3.26.1
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
# No flask_sockets in Tumbleweed; TestRTMClient requires network
%pytest --ignore-glob '*/socket_mode/*' -k 'not TestRTMClient' tests
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%changelog