asyncactor 0.26.0__tar.gz → 0.26.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. {asyncactor-0.26.0 → asyncactor-0.26.2}/PKG-INFO +1 -1
  2. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/actor.py +1 -1
  3. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/messages.py +4 -4
  4. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor.egg-info/PKG-INFO +1 -1
  5. {asyncactor-0.26.0 → asyncactor-0.26.2}/.coveragerc +0 -0
  6. {asyncactor-0.26.0 → asyncactor-0.26.2}/.gitignore +0 -0
  7. {asyncactor-0.26.0 → asyncactor-0.26.2}/.pylintrc +0 -0
  8. {asyncactor-0.26.0 → asyncactor-0.26.2}/.readthedocs.yml +0 -0
  9. {asyncactor-0.26.0 → asyncactor-0.26.2}/.style.yapf +0 -0
  10. {asyncactor-0.26.0 → asyncactor-0.26.2}/.travis.yml +0 -0
  11. {asyncactor-0.26.0 → asyncactor-0.26.2}/CHANGELOG.rst +0 -0
  12. {asyncactor-0.26.0 → asyncactor-0.26.2}/LICENSE +0 -0
  13. {asyncactor-0.26.0 → asyncactor-0.26.2}/Makefile +0 -0
  14. {asyncactor-0.26.0 → asyncactor-0.26.2}/README.rst +0 -0
  15. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/__init__.py +0 -0
  16. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/abc.py +0 -0
  17. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/backend/__init__.py +0 -0
  18. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/backend/moat_kv.py +0 -0
  19. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/backend/moat_link.py +0 -0
  20. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/backend/mqtt.py +0 -0
  21. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/backend/mqttproto.py +0 -0
  22. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/backend/serf.py +0 -0
  23. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/events.py +0 -0
  24. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/exceptions.py +0 -0
  25. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor/nodelist.py +0 -0
  26. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor.egg-info/SOURCES.txt +0 -0
  27. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor.egg-info/dependency_links.txt +0 -0
  28. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor.egg-info/requires.txt +0 -0
  29. {asyncactor-0.26.0 → asyncactor-0.26.2}/asyncactor.egg-info/top_level.txt +0 -0
  30. {asyncactor-0.26.0 → asyncactor-0.26.2}/ci/rtd-requirements.txt +0 -0
  31. {asyncactor-0.26.0 → asyncactor-0.26.2}/ci/test-requirements.txt +0 -0
  32. {asyncactor-0.26.0 → asyncactor-0.26.2}/ci/travis.sh +0 -0
  33. {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/Makefile +0 -0
  34. {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/make.bat +0 -0
  35. {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/source/_static/.git_empty +0 -0
  36. {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/source/actor.rst +0 -0
  37. {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/source/conf.py +0 -0
  38. {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/source/history.rst +0 -0
  39. {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/source/index.rst +0 -0
  40. {asyncactor-0.26.0 → asyncactor-0.26.2}/docs/source/rationale.rst +0 -0
  41. {asyncactor-0.26.0 → asyncactor-0.26.2}/mktag +0 -0
  42. {asyncactor-0.26.0 → asyncactor-0.26.2}/pyproject.toml +0 -0
  43. {asyncactor-0.26.0 → asyncactor-0.26.2}/setup.cfg +0 -0
  44. {asyncactor-0.26.0 → asyncactor-0.26.2}/tests/__init__.py +0 -0
  45. {asyncactor-0.26.0 → asyncactor-0.26.2}/tests/mock_serf.py +0 -0
  46. {asyncactor-0.26.0 → asyncactor-0.26.2}/tests/test_actor.py +0 -0
  47. {asyncactor-0.26.0 → asyncactor-0.26.2}/tests/test_mosquitto.py +0 -0
  48. {asyncactor-0.26.0 → asyncactor-0.26.2}/tests/test_mqttproto.py +0 -0
  49. {asyncactor-0.26.0 → asyncactor-0.26.2}/tests/test_serf.py +0 -0
  50. {asyncactor-0.26.0 → asyncactor-0.26.2}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asyncactor
3
- Version: 0.26.0
3
+ Version: 0.26.2
4
4
  Summary: Async decentralized actor
5
5
  Author-email: Matthias Urlichs <matthias@urlichs.de>
6
6
  Project-URL: homepage, https://github.com/smurfix/asyncactor
@@ -714,7 +714,7 @@ class Actor(CtxObj):
714
714
  """
715
715
  # For pos=0 this is a no-op and times out immediately
716
716
  try:
717
- async with anyio.CancelScope() as xx:
717
+ with anyio.CancelScope() as xx:
718
718
  if self._version_job is not None:
719
719
  self._version_job.cancel()
720
720
  self._version_job = xx
@@ -113,10 +113,10 @@ class SetupMessage(_NodeMessage):
113
113
 
114
114
  def _verify(self):
115
115
  "check parameters"
116
- if self.cycle < 1:
117
- raise ValueError("cycle must be >= 1")
118
- if self.gap < 0.0:
119
- raise ValueError("gap must be >= 0.1")
116
+ if self.cycle < .1:
117
+ raise ValueError("cycle must be >= .1")
118
+ if self.gap < 0.01:
119
+ raise ValueError("gap must be >= 0.01")
120
120
  if self.cycle < self.gap * 3:
121
121
  raise ValueError("cycle must be >= 3*gap")
122
122
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asyncactor
3
- Version: 0.26.0
3
+ Version: 0.26.2
4
4
  Summary: Async decentralized actor
5
5
  Author-email: Matthias Urlichs <matthias@urlichs.de>
6
6
  Project-URL: homepage, https://github.com/smurfix/asyncactor
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes