From 754ba0e6ad27d214a7eb44893f121f549bce7a0a Mon Sep 17 00:00:00 2001 From: Takos22 Date: Sat, 6 Nov 2021 23:35:42 +0100 Subject: [PATCH 1/6] Fix import error --- codingame/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/codingame/__init__.py b/codingame/__init__.py index 16af052..c2559df 100644 --- a/codingame/__init__.py +++ b/codingame/__init__.py @@ -11,12 +11,13 @@ "VersionInfo", major=int, minor=int, micro=int, releaselevel=str, serial=int ) -version_info = VersionInfo(major=1, minor=2, micro=0, releaselevel="", serial=0) +version_info = VersionInfo(major=1, minor=2, micro=1, releaselevel="", serial=0) __title__ = "codingame" __author__ = "takos22" -__version__ = "1.2.0" +__version__ = "1.2.1" +from . import types # needed for including codingame.types submodule in release from .clash_of_code import ClashOfCode, Player from .client import Client from .codingamer import CodinGamer From 93fe923c5dfcddda13da778af2b0b8bab9eb7163 Mon Sep 17 00:00:00 2001 From: Takos22 Date: Sat, 6 Nov 2021 23:35:50 +0100 Subject: [PATCH 2/6] Update setup script --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f9f6a29..845882d 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ def get_packages(package) -> typing.List[str]: """Return root package and all sub-packages.""" return [ - dirpath + dirpath.replace("\\", ".") for dirpath, *_ in os.walk(package) if os.path.exists(os.path.join(dirpath, "__init__.py")) ] From 530515d2f72b76e096fad2814c75c723828f3057 Mon Sep 17 00:00:00 2001 From: Takos22 Date: Sat, 6 Nov 2021 23:39:22 +0100 Subject: [PATCH 3/6] Update changelog --- docs/changelog.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index bc6294d..80153ca 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -31,6 +31,15 @@ Changed - Deprecated :attr:`Notification.creation_time` in favor of :attr:`Notification.date` +Version 1.2.1 (2021-11-06) +-------------------------- + +Fixed +***** + +- :exc:`ModuleNotFoundError` of ``codingame.types`` submodule when importint + ``codingame``. + Version 1.2.0 (2021-11-04) -------------------------- From f661d9680c4c3aa37023e2a5e9246dc2bcb46e40 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Nov 2021 22:40:28 +0000 Subject: [PATCH 4/6] Update CHANGELOG.rst --- CHANGELOG.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4494a11..e0c7441 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -29,6 +29,15 @@ Changed - Deprecated `Notification.creation_time `__ in favor of `Notification.date `__ +Version 1.2.1 (2021-11-06) +-------------------------- + +Fixed +***** + +- ``ModuleNotFoundError`` of ``codingame.types`` submodule when importint + ``codingame``. + Version 1.2.0 (2021-11-04) -------------------------- From 7fcbbfbd159c179a17c7912f51554e7f9df71dc7 Mon Sep 17 00:00:00 2001 From: Takos22 Date: Sat, 6 Nov 2021 23:42:19 +0100 Subject: [PATCH 5/6] Update changelog Fix typo --- docs/changelog.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 80153ca..ce497fa 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -37,7 +37,7 @@ Version 1.2.1 (2021-11-06) Fixed ***** -- :exc:`ModuleNotFoundError` of ``codingame.types`` submodule when importint +- :exc:`ModuleNotFoundError` of ``codingame.types`` submodule when importing ``codingame``. Version 1.2.0 (2021-11-04) From 3d76dc56fb32a708c53b22e160e525295c470cbb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 6 Nov 2021 22:43:34 +0000 Subject: [PATCH 6/6] Update CHANGELOG.rst --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e0c7441..62432ac 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -35,7 +35,7 @@ Version 1.2.1 (2021-11-06) Fixed ***** -- ``ModuleNotFoundError`` of ``codingame.types`` submodule when importint +- ``ModuleNotFoundError`` of ``codingame.types`` submodule when importing ``codingame``. Version 1.2.0 (2021-11-04)