14
0
forked from pool/python-rpyc
Commit Graph

15 Commits

Author SHA256 Message Date
73c6f35e2d Accepting request 1040730 from home:yarunachalam:branches:devel:languages:python
- Update to version 5.3.0 
  #515 Support for Python 3.11 is available after teleportation bug fix
  #507 Experimental support for threading is added (default is disabled for now)
  #516 Resolved server-side exceptions due to the logic for checking if a name is in ModuleNamespace
  #511 Improved documentation on the life-cycle of a netref/proxy-object

OBS-URL: https://build.opensuse.org/request/show/1040730
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=26
2022-12-06 18:00:11 +00:00
da27ff7055 - Remove some failing tests because they where failing for some deadlock
reason.
- Add gcc-c++ required dependency for tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=24
2022-09-26 08:19:11 +00:00
25ef4a4c88 - Fix multibuild with flavor global
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=23
2022-09-21 07:46:57 +00:00
cb0eb843bf - 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
2022-09-20 16:51:37 +00:00
01eb71fef8 - update to 5.0.1:
*  Fixed unexpected behavior when using inspect.isfunction
  *  Now prevents installation of RPyC on unsupported versions of python
  *  RPyC 5.0.0 cannot teleport functions to earlier versions
  *  Deprecated Python 2 support to coincide with it's EOL
  *  Server hostname default supports IPv4 and IPv6 by using the wildcard address
  *  Fixed pickle failure on windows for ``connect_multiprocess`` and ``connect_thread``
  *  Fixed teleport function behavior for keyword-only arguments with default
  *  Improved documentation on custom exception handling
  *  Fixed IPv6 support for server
  *  Added a simple asynchrounous service example

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=21
2021-11-08 20:26:26 +00:00
Tomáš Chvátal
205b5a1a64 Accepting request 811096 from home:mcalabkova:branches:devel:languages:python
- replace nose with pytest

OBS-URL: https://build.opensuse.org/request/show/811096
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=19
2020-06-03 12:53:49 +00:00
Tomáš Chvátal
e2b181ca8d - Update to 4.1.5:
* Fixed mutable object used as kwarg for Server ctor
  * Corrections to teleport example
  * Lowered GIL-lock acquires for <64kb within channel sends to address slowness
  - Fixed bsc#1152987 `CVE-2019-16328`_ which was caused by a missing protocol security check

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=17
2020-05-15 11:32:49 +00:00
Tomáš Chvátal
a95f824af0 Accepting request 786342 from home:pgajdos:python
- version update to 4.1.4
  - Merged 3.7 and 3.8 teleportatio compat enhancement `#371`_
  - Fixed connection hanging due to namepack cursor  `#369`_
  - Fixed test dependencies and is_py_* for 3.9
  - Performance improvements: `#366`_ and `#351`_
  - Merged fix for propagate_KeyboardInterrupt_locally `#364`_
  - Fixed handling of exceptions for request callbacks `#365`_
  - Partially fixed return value for netref.__class__ `#355`_
  - Fixed `CVE-2019-16328`_ which was caused by a missing protocol security check
  - Fixed RPyC over RPyC for mutable parameters and extended unit testing for `#346`_

OBS-URL: https://build.opensuse.org/request/show/786342
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=15
2020-03-19 08:48:42 +00:00
Tomáš Chvátal
1a2951f618 - Update to 4.1.1:
* Fixed netref.class_factory id_pack usage per #339 and added test cases
  * Name pack casted in _unbox to fix IronPython bug. Fixed #337
  * Increased chunk size to improve multi-client response time and throughput of large data #329
  * Added warning to _remote_tb when the major version of local and remote mismatch (#332)
  * OneShotServer termination was fixed by WilliamBruneau (#343)
  * Known issue with 3.8 for CodeType parameters (may drop Python2 support first)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=13
2019-09-10 10:37:55 +00:00
Tomáš Chvátal
52ffb8acf2 Accepting request 709403 from home:mcalabkova:branches:devel:languages:python
- update to 4.1.0
  * Added connection back-off and attempts for congested workloads
  * Cross-connection instance check for cached netref classes

OBS-URL: https://build.opensuse.org/request/show/709403
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=11
2019-06-12 11:36:07 +00:00
Tomáš Chvátal
dad3e5cefd - Fix test execution to make sure we run it under all interpreters
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=9
2019-06-05 07:26:23 +00:00
Tomáš Chvátal
f5b626f650 Accepting request 705221 from home:mcalabkova:branches:devel:languages:python
- update to 4.0.2
  * fix default hostname for ipv6 in rpyc_classic.py
  * fix ThreadPoolServer not working
  4.0.1
  * fix ValueError during install due to absolute PATH in SOURCES.txt 
  4.0.0 (see upstream Release Change Log for more)
  * classic.teleport_function now executes the function in the 
    connection’s namespace by default
  * Changed signature of Service.on_connect and on_disconnect, 
    adding the connection as argument.
  * Changed signature of Service.__init__, removing the connection 
    argument
  * no longer store connection as self._conn.
  * SlaveService is now split into two asymetric classes: 
    SlaveService and MasterService. If you want old SlaveService
    behaviour, use ClassicService
  * Removed modules rpyc.experimental.splitbrain and rpyc.experimental.retunnel.
  * bin/rpyc_classic.py will bind to 127.0.0.1 instead of 0.0.0.0 by default
  * Exposed attributes no longer hide plain attributes if one 
    otherwise has the required permissions to access the plain attribute. 
  * teleported functions will now be defined by default in the 
    globals dict
  * fix deadlock with connections talking to each other multithreadedly
  * handle timeouts cumulatively
  * fix __hash__ for netrefs
  * add gevent Server. For now, this requires using gevent.monkey.patch_all() 
    before importing for rpyc. Client connections can already be made
    without further changes to rpyc, just using gevent’s monkey patching.
  * fix problem with MongoDB, or more generally any remote objects 
    that have a catch-all __getattr__

OBS-URL: https://build.opensuse.org/request/show/705221
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=7
2019-05-24 11:56:01 +00:00
1c66010d39 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=5
2018-12-04 14:00:56 +00:00
f8e47ad3ed Accepting request 613562 from devel:languages:python
An RPC library for python

OBS-URL: https://build.opensuse.org/request/show/613562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-rpyc?expand=0&rev=1
2018-06-15 12:37:16 +00:00
Todd R
e831aa60f3 Accepting request 613561 from devel:languages:python:misc
An RPC library for python

OBS-URL: https://build.opensuse.org/request/show/613561
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=1
2018-06-02 03:46:00 +00:00