14
0
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:
2024-11-14 09:35:57 +00:00
committed by Git OBS Bridge
parent f1e52c66df
commit 31cebe4b90
4 changed files with 52 additions and 8 deletions

3
pysolr-3.10.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:127b4a2dd169234acb1586643a6cd1e3e94b917921e69bf569d7b2a2aa0ef409
size 59110

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ef05feb87c614894243eddc62e9b0a6134a889c159ae868655cf6cd749545e6
size 55817

View File

@@ -1,3 +1,43 @@
-------------------------------------------------------------------
Thu Nov 14 09:22:38 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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
* Fix DeprecationWarning from pkg_resources
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
- Limit Python files matched in %files section
-------------------------------------------------------------------
Sun Jun 25 08:07:29 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -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