File python-strands-agents-tools.spec of Package python-strands-agents-tools
#
# spec file for package python-strands-agents-tools
#
# Copyright (c) 2025 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-strands-agents-tools
Version: 0.2.2
Release: 0
Summary: A collection of specialized tools for Strands Agents
License: Apache-2.0
URL: https://github.com/strands-agents/tools
Source: https://files.pythonhosted.org/packages/source/s/strands-agents-tools/strands_agents_tools-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module hatch-vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
# SECTION test requirements
BuildRequires: %{python_module aws-requests-auth >= 0.4.3}
BuildRequires: %{python_module botocore >= 1.39}
BuildRequires: %{python_module dill >= 0.4.0}
BuildRequires: %{python_module feedparser}
BuildRequires: %{python_module html2text}
BuildRequires: %{python_module markdownify >= 1.0.0}
BuildRequires: %{python_module nest-asyncio}
BuildRequires: %{python_module Pillow >= 11.2.1}
BuildRequires: %{python_module prompt_toolkit >= 3.0.51}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module PyJWT >= 2.10.1}
BuildRequires: %{python_module readabilipy >= 0.2.0}
BuildRequires: %{python_module responses}
BuildRequires: %{python_module rich >= 14.0.0}
BuildRequires: %{python_module slack_bolt >= 1.23.0}
BuildRequires: %{python_module strands-agents >= 1.0.0}
BuildRequires: %{python_module sympy >= 1.12.0}
BuildRequires: %{python_module tenacity < 10.0.0}
BuildRequires: %{python_module tzdata}
BuildRequires: %{python_module watchdog >= 6.0.0}
# /SECTION
BuildRequires: fdupes
Requires: python-aws-requests-auth >= 0.4.3
Requires: python-botocore >= 1.39
Requires: python-dill >= 0.4.0
Requires: python-markdownify >= 1.0.0
Requires: python-Pillow >= 11.2.1
Requires: python-prompt_toolkit >= 3.0.51
Requires: python-PyJWT >= 2.10.1
Requires: python-readabilipy >= 0.2.0
Requires: python-rich >= 14.0.0
Requires: python-slack_bolt >= 1.23.0
Requires: python-strands-agents >= 1.0.0
Requires: python-sympy >= 1.12.0
Requires: python-tenacity < 10.0.0
Requires: python-watchdog >= 6.0.0
BuildArch: noarch
%python_subpackages
%description
Strands Agents Tools is a community-driven project that provides a powerful set of tools for your agents to use. It bridges the gap between large language models and practical applications by offering ready-to-use tools for file operations, system execution, API interactions, mathematical operations, and more.
%prep
%autosetup -p1 -n strands_agents_tools-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# some tests need optional deps we don't have
rm tests/browser/test_*browser.py tests/test_use_browser.py tests/browser/test_models.py tests/code_interpreter/test_*code_interpreter.py tests/test_a2a_client.py tests/test_mem0.py tests/test_diagram.py
%pytest
%files %{python_files}
%license LICENSE NOTICE
%{python_sitelib}/strands_tools
%{python_sitelib}/strands_agents_tools-%{version}.dist-info
%changelog