Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
python-sklearn-pandas
python-sklearn-pandas.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-sklearn-pandas.spec of Package python-sklearn-pandas
# # spec file for package python-sklearn-pandas # # 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/ # %define skip_python2 1 # SciPy 1.6.0 dropped support for Python 3.6 %define skip_python36 1 Name: python-sklearn-pandas Version: 2.2.0 Release: 0 Summary: Pandas integration with sklearn License: BSD-2-Clause AND Zlib Group: Development/Languages/Python URL: https://github.com/scikit-learn-contrib/sklearn-pandas Source: %{url}/archive/v%{version}.tar.gz#/sklearn-pandas-%{version}-gh.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-numpy >= 1.18.1 Requires: python-pandas >= 1.0.5 Requires: python-scikit-learn >= 0.23.0 Requires: python-scipy >= 1.4.1 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module numpy >= 1.18.1} BuildRequires: %{python_module pandas >= 1.0.5} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scikit-learn >= 0.23.0} BuildRequires: %{python_module scipy >= 1.4.1} # /SECTION %python_subpackages %description This module provides a bridge between Scikit-Learn's machine learning methods and pandas-style Data Frames. %prep %setup -q -n sklearn-pandas-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # Some tests are broken with the latest version of scikit-learn # gh#scikit-learn-contrib/sklearn-pandas#248 donttest="test_onehot_df or test_dict_vectorizer" %pytest -k "not (README.rst or $donttest)" %files %{python_files} %doc README.rst %license LICENSE %{python_sitelib}/sklearn_pandas* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor