From fc3ec13a5ad5f635b6e09cde1a2677e0ac59019a Mon Sep 17 00:00:00 2001 From: comrumino Date: Wed, 3 Aug 2022 22:46:31 -0500 Subject: [PATCH] Adjust scripts to follow expand and contract pattern---better backwards compatibility by forcing string type in pyproject.toml --- CHANGELOG.rst | 4 ++-- pyproject.toml | 2 ++ rpyc/version.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8e9c6683..7e8a266c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,8 +1,8 @@ -5.2.2 +5.2.3 ===== Date: 2022-08-03 -- `#503`_ `rpyc_classic.py` can now be resolved as `rpyc_classic` (limitations on pyproject.toml syntax) +- `#503`_ `rpyc_classic.py` and `rpyc_registry.py` can now be resolved without the suffix as well. .. _#503: https://github.com/tomerfiliba-org/rpyc/issues/503 diff --git a/pyproject.toml b/pyproject.toml index cd77050d..32a1c931 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,8 @@ Source = "https://github.com/tomerfiliba-org/rpyc" [project.scripts] rpyc_classic = "rpyc.cli.rpyc_classic:main" rpyc_registry = "rpyc.cli.rpyc_registry:main" +"rpyc_classic.py" = "rpyc.cli.rpyc_classic:main" +"rpyc_registry.py" = "rpyc.cli.rpyc_registry:main" [tool.hatch.version] path = "rpyc/version.py" diff --git a/rpyc/version.py b/rpyc/version.py index 08d0f159..d9b925df 100644 --- a/rpyc/version.py +++ b/rpyc/version.py @@ -1,3 +1,3 @@ -__version__ = '5.2.2' +__version__ = '5.2.3' version = tuple(__version__.split('.')) release_date = "2022-08-03"