forked from pool/python-pysolr
Accepting request 1224127 from home:glaubitz:branches:devel:languages:python
- Update to 3.10.0 * Fixed: Different JSON and XML behaviour * Fix typo * Fix SolrCoreAdmin._get_url content-type * enable custom requests session * add min_rf feature in add method * New: Add parameter for a custom encoder * Add accepts empty values * Show an example of how to use cursor traversal * Escape xml in delete() using ElementTree * Update README.rst * Update README.rst * Perform adds with field updates using JSON * Use six.assertRegex instead of assertRegexpMatches for Python 3.11 compatibility. * GitHub Action to run tox * Bump certifi from 2021.10.8 to 2022.12.7 * Make _to_python recursive for lists and tuples * Replace flake8 and isort with ruff * Replace ''.join after char filtering with regex filter * GitHub Actions: Add Pypy v3.10 and remove EOL CPython 3.7 * Upgrade github/codeql-action * Configure GitHub actions to publish packages * fix commitWithin for JSON updates w/o boost * Declare a runtime dependency on setuptools * Enhance gitignore * Set wt=json in _select only if the user has not set it * Avoid running tests under PyPy on GitHub Actions * GitHub Actions: Add Python 3.12 to the testing * Keep GitHub Actions up to date with Dependabot OBS-URL: https://build.opensuse.org/request/show/1224127 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysolr?expand=0&rev=9
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pysolr
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# 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
|
||||
@@ -18,14 +18,16 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pysolr
|
||||
Version: 3.9.0
|
||||
Version: 3.10.0
|
||||
Release: 0
|
||||
Summary: Lightweight python wrapper for Apache Solr
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/django-haystack/pysolr/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pysolr/pysolr-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-requests >= 2.9.1
|
||||
@@ -44,10 +46,10 @@ Lightweight python wrapper for Apache Solr.
|
||||
%setup -q -n pysolr-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -56,6 +58,8 @@ Lightweight python wrapper for Apache Solr.
|
||||
%files %{python_files}
|
||||
%doc AUTHORS CHANGELOG.rst README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/__pycache__
|
||||
%{python_sitelib}/pysolr.py
|
||||
%{python_sitelib}/pysolr-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user