14
0

- update to 2.4.10.post1:

* #309 ModuleNotFoundError: No module named 'looseversion'
- update to 2.4.10:
  * #298 Asyncio usage no longer supports Python 3.4
  * Support for Python 3.10-3.12, via
  * #296 Remove loop params that break in Python 3.10
  * #298 Replace asyncio.coroutine attributes with async def
  * #300 Update LooseVersion dependency
  * #303 Specify 'coverage' package version in requirements.txt
  * #267 and #304 Wait for wait_closed (on Python 3.7 and
    greater) in asyncio mode by @dpineiden
  * #308 Make 'restore' command's `-i db.table` option work again
  * #290 Fix bug in stringified query representation logic by
    @liranbg
  * #296 Also, fix warning or error when "is not" is used with an
    empty string
  * We have a new dependency on `looseversion==1.3.0`.
- version update to 2.4.9

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rethinkdb?expand=0&rev=12
This commit is contained in:
2024-01-02 21:55:16 +00:00
committed by Git OBS Bridge
parent e99a0f819e
commit 90c268506c
4 changed files with 36 additions and 10 deletions

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Jan 2 21:53:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.4.10.post1:
* #309 ModuleNotFoundError: No module named 'looseversion'
- update to 2.4.10:
* #298 Asyncio usage no longer supports Python 3.4
* Support for Python 3.10-3.12, via
* #296 Remove loop params that break in Python 3.10
* #298 Replace asyncio.coroutine attributes with async def
* #300 Update LooseVersion dependency
* #303 Specify 'coverage' package version in requirements.txt
* #267 and #304 Wait for wait_closed (on Python 3.7 and
greater) in asyncio mode by @dpineiden
* #308 Make 'restore' command's `-i db.table` option work again
* #290 Fix bug in stringified query representation logic by
@liranbg
* #296 Also, fix warning or error when "is not" is used with an
empty string
* We have a new dependency on `looseversion==1.3.0`.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 7 15:02:43 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Fri Oct 7 15:02:43 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-rethinkdb # spec file for package python-rethinkdb
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,9 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
Name: python-rethinkdb Name: python-rethinkdb
Version: 2.4.9 Version: 2.4.10.post1
Release: 0 Release: 0
Summary: Python driver library for the RethinkDB database server Summary: Python driver library for the RethinkDB database server
License: Apache-2.0 License: Apache-2.0
@@ -26,9 +26,13 @@ Group: Development/Languages/Python
URL: https://github.com/RethinkDB/rethinkdb-python URL: https://github.com/RethinkDB/rethinkdb-python
Source: https://github.com/rethinkdb/rethinkdb-python/archive/v%{version}.tar.gz#/rethinkdb-%{version}.tar.gz Source: https://github.com/rethinkdb/rethinkdb-python/archive/v%{version}.tar.gz#/rethinkdb-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/rethinkdb/rethinkdb/next/src/rdb_protocol/ql2.proto Source1: https://raw.githubusercontent.com/rethinkdb/rethinkdb/next/src/rdb_protocol/ql2.proto
BuildRequires: %{python_module looseversion >= 1.3.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-looseversion >= 1.3.0
Requires: python-six Requires: python-six
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun):update-alternatives
@@ -56,11 +60,11 @@ sed -i '1{/^#!/d}' rethinkdb/*.py
%build %build
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
%python_build %pyproject_wheel
%install %install
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/rethinkdb-repl %python_clone -a %{buildroot}%{_bindir}/rethinkdb-repl
%python_clone -a %{buildroot}%{_bindir}/rethinkdb-index-rebuild %python_clone -a %{buildroot}%{_bindir}/rethinkdb-index-rebuild
%python_clone -a %{buildroot}%{_bindir}/rethinkdb-restore %python_clone -a %{buildroot}%{_bindir}/rethinkdb-restore
@@ -99,6 +103,7 @@ sed -i 's:from mock:from unittest.mock:' tests/test_*.py
%python_alternative %{_bindir}/rethinkdb-restore %python_alternative %{_bindir}/rethinkdb-restore
%python_alternative %{_bindir}/rethinkdb-index-rebuild %python_alternative %{_bindir}/rethinkdb-index-rebuild
%python_alternative %{_bindir}/rethinkdb-repl %python_alternative %{_bindir}/rethinkdb-repl
%{python_sitelib}/* %{python_sitelib}/rethinkdb
%{python_sitelib}/rethinkdb-%{version}.dist-info
%changelog %changelog

View File

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

View File

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