14
0
forked from pool/python-rpyc

- update to 5.2.3:

* #503 rpyc_classic.py and rpyc_registry.py are tracked by pyproject.toml and
    should resolve now. Moreover, they can now be resolved without their file
    suffixes as well.
  * Release 5.2.0
    * Added support for using decorators to expose methods (see #292)
    * Allow BgServingThread serve and sleep intervals to be customized
    * Avoid redefining hasattr_static on every check_attr` call
    * Updated SSL context usage to avoid deprecated aspects and changes
    * Add a configurable timeout on the zero deploy close method
    * Fixed --mode CLI argument for rpyc_registry
    * Fixed propagation of AttributeErrors raised by exposed descriptors
    * Allow filtering by host on list_services
    * and #502 Improved documentation and fixed typos
    * Some work around race conditions but proper fix is rather involved (see #491)
  * Release 5.1.0
    * Added types.MappingProxyType to builtin_types #470
    * Updated documentation #469
    * Fixed spradic dealock issues from wait within AsyncResult #463 and #455
    * Fixed chained Classic RPyC connections #460
    * Added ability to list Registry services #452
    * Fixed bug that prevented RPyC from running on systems without SSL #451
    * Fixed unexpected behavior with respect to auto_register #445
    * Fixed propagation of chunk_size parameter for download_dir #433

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=22
This commit is contained in:
2022-09-20 16:51:37 +00:00
committed by Git OBS Bridge
parent 01eb71fef8
commit cb0eb843bf
4 changed files with 41 additions and 9 deletions

View File

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

3
5.2.3.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Tue Sep 20 16:44:42 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- update to 5.2.3:
* #503 rpyc_classic.py and rpyc_registry.py are tracked by pyproject.toml and
should resolve now. Moreover, they can now be resolved without their file
suffixes as well.
* Release 5.2.0
* Added support for using decorators to expose methods (see #292)
* Allow BgServingThread serve and sleep intervals to be customized
* Avoid redefining hasattr_static on every check_attr` call
* Updated SSL context usage to avoid deprecated aspects and changes
* Add a configurable timeout on the zero deploy close method
* Fixed --mode CLI argument for rpyc_registry
* Fixed propagation of AttributeErrors raised by exposed descriptors
* Allow filtering by host on list_services
* and #502 Improved documentation and fixed typos
* Some work around race conditions but proper fix is rather involved (see #491)
* Release 5.1.0
* Added types.MappingProxyType to builtin_types #470
* Updated documentation #469
* Fixed spradic dealock issues from wait within AsyncResult #463 and #455
* Fixed chained Classic RPyC connections #460
* Added ability to list Registry services #452
* Fixed bug that prevented RPyC from running on systems without SSL #451
* Fixed unexpected behavior with respect to auto_register #445
* Fixed propagation of chunk_size parameter for download_dir #433
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 8 20:22:29 UTC 2021 - Dirk Müller <dmueller@suse.com> Mon Nov 8 20:22:29 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file # spec file
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 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
@@ -17,7 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil} %global flavor %{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define psuffix -test %define psuffix -test
%bcond_without test %bcond_without test
@@ -27,14 +27,16 @@
%endif %endif
%global skip_python2 1 %global skip_python2 1
Name: python-rpyc%{psuffix} Name: python-rpyc%{psuffix}
Version: 5.0.1 Version: 5.2.3
Release: 0 Release: 0
Summary: Remote Python Call (RPyC), a RPC library Summary: Remote Python Call (RPyC), a RPC library
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/tomerfiliba/rpyc URL: https://github.com/tomerfiliba/rpyc
Source: https://github.com/tomerfiliba/rpyc/archive/%{version}.tar.gz Source: https://github.com/tomerfiliba/rpyc/archive/%{version}.tar.gz
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-plumbum >= 1.2 Requires: python-plumbum >= 1.2
@@ -59,13 +61,15 @@ that remote objects can be manipulated as if they were local.
%prep %prep
%setup -q -n rpyc-%{version} %setup -q -n rpyc-%{version}
# Replace hashbangs
sed -i -e "s|env python|python%{python_bin_suffix}|" rpyc/cli/rpyc_classic.py rpyc/cli/rpyc_registry.py
%build %build
%python_build %pyproject_wheel
%install %install
%if !%{with test} %if !%{with test}
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
mv %{buildroot}%{_bindir}/rpyc_classic.py %{buildroot}%{_bindir}/rpyc_classic mv %{buildroot}%{_bindir}/rpyc_classic.py %{buildroot}%{_bindir}/rpyc_classic