From 31cebe4b906a5ee22990c26db518b9993215657feccae15cae308ef8585ef37c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 14 Nov 2024 09:35:57 +0000 Subject: [PATCH] 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 --- pysolr-3.10.0.tar.gz | 3 +++ pysolr-3.9.0.tar.gz | 3 --- python-pysolr.changes | 40 ++++++++++++++++++++++++++++++++++++++++ python-pysolr.spec | 14 +++++++++----- 4 files changed, 52 insertions(+), 8 deletions(-) create mode 100644 pysolr-3.10.0.tar.gz delete mode 100644 pysolr-3.9.0.tar.gz diff --git a/pysolr-3.10.0.tar.gz b/pysolr-3.10.0.tar.gz new file mode 100644 index 0000000..93a33d7 --- /dev/null +++ b/pysolr-3.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:127b4a2dd169234acb1586643a6cd1e3e94b917921e69bf569d7b2a2aa0ef409 +size 59110 diff --git a/pysolr-3.9.0.tar.gz b/pysolr-3.9.0.tar.gz deleted file mode 100644 index 7664f3c..0000000 --- a/pysolr-3.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6ef05feb87c614894243eddc62e9b0a6134a889c159ae868655cf6cd749545e6 -size 55817 diff --git a/python-pysolr.changes b/python-pysolr.changes index d9fb13b..aeff20b 100644 --- a/python-pysolr.changes +++ b/python-pysolr.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Thu Nov 14 09:22:38 UTC 2024 - John Paul Adrian Glaubitz + +- 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 diff --git a/python-pysolr.spec b/python-pysolr.spec index f3151ac..673b118 100644 --- a/python-pysolr.spec +++ b/python-pysolr.spec @@ -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