From b05ca7e980ed4cfb21c42670295e36205651ab7d Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Thu, 26 May 2022 16:03:14 +0200 Subject: [PATCH] Set dev version --- src/cpl_query/cpl-query.json | 4 +--- tools/set_version/application.py | 2 +- unittests/unittests/unittests.json | 6 +++--- unittests/unittests_cli/unittests_cli.json | 9 +++++---- unittests/unittests_core/unittests_core.json | 6 +++--- unittests/unittests_query/unittests_query.json | 9 +++++---- unittests/unittests_shared/cli_commands.py | 1 - unittests/unittests_shared/unittests_shared.json | 6 +++--- 8 files changed, 21 insertions(+), 22 deletions(-) diff --git a/src/cpl_query/cpl-query.json b/src/cpl_query/cpl-query.json index e3d23065..ab3bf7f2 100644 --- a/src/cpl_query/cpl-query.json +++ b/src/cpl_query/cpl-query.json @@ -15,9 +15,7 @@ "CopyrightName": "sh-edraft.de", "LicenseName": "MIT", "LicenseDescription": "MIT, see LICENSE for more details.", - "Dependencies": [ - "cpl-core>=2022.6.17.dev4" - ], + "Dependencies": [], "PythonVersion": ">=3.10", "PythonPath": {}, "Classifiers": [] diff --git a/tools/set_version/application.py b/tools/set_version/application.py index 3ad1b23a..5acf6e50 100644 --- a/tools/set_version/application.py +++ b/tools/set_version/application.py @@ -57,7 +57,7 @@ class Application(ApplicationABC): for project in self._workspace.projects: Console.write_line(f'Set dependencies {self._version_pipe.transform(version)} for {project}') self._version_setter.set_dependencies(self._workspace.projects[project], version) - if not project.startswith('cpl'): + if not project.startswith('cpl') and not project.startswith('unittest'): continue Console.write_line(f'Set version {self._version_pipe.transform(version)} for {project}') diff --git a/unittests/unittests/unittests.json b/unittests/unittests/unittests.json index 3549aa94..2a05e376 100644 --- a/unittests/unittests/unittests.json +++ b/unittests/unittests/unittests.json @@ -2,9 +2,9 @@ "ProjectSettings": { "Name": "unittests", "Version": { - "Major": "0", - "Minor": "0", - "Micro": "0" + "Major": "2022", + "Minor": "6", + "Micro": "17.dev4" }, "Author": "", "AuthorEmail": "", diff --git a/unittests/unittests_cli/unittests_cli.json b/unittests/unittests_cli/unittests_cli.json index be9b35a9..156906ac 100644 --- a/unittests/unittests_cli/unittests_cli.json +++ b/unittests/unittests_cli/unittests_cli.json @@ -2,9 +2,9 @@ "ProjectSettings": { "Name": "unittest_cli", "Version": { - "Major": "0", - "Minor": "0", - "Micro": "0" + "Major": "2022", + "Minor": "6", + "Micro": "17.dev4" }, "Author": "", "AuthorEmail": "", @@ -16,7 +16,8 @@ "LicenseName": "", "LicenseDescription": "", "Dependencies": [ - "cpl-core>=2022.6.17.dev4" + "cpl-core>=2022.6.17.dev4", + "cpl-cli>=2022.6.17.dev4" ], "PythonVersion": ">=3.10.4", "PythonPath": { diff --git a/unittests/unittests_core/unittests_core.json b/unittests/unittests_core/unittests_core.json index 98e8b50d..d137cff1 100644 --- a/unittests/unittests_core/unittests_core.json +++ b/unittests/unittests_core/unittests_core.json @@ -2,9 +2,9 @@ "ProjectSettings": { "Name": "unittest_core", "Version": { - "Major": "0", - "Minor": "0", - "Micro": "0" + "Major": "2022", + "Minor": "6", + "Micro": "17.dev4" }, "Author": "", "AuthorEmail": "", diff --git a/unittests/unittests_query/unittests_query.json b/unittests/unittests_query/unittests_query.json index 0b6a6597..5a6ac20c 100644 --- a/unittests/unittests_query/unittests_query.json +++ b/unittests/unittests_query/unittests_query.json @@ -2,9 +2,9 @@ "ProjectSettings": { "Name": "unittest_query", "Version": { - "Major": "0", - "Minor": "0", - "Micro": "0" + "Major": "2022", + "Minor": "6", + "Micro": "17.dev4" }, "Author": "", "AuthorEmail": "", @@ -16,7 +16,8 @@ "LicenseName": "", "LicenseDescription": "", "Dependencies": [ - "cpl-core>=2022.6.17.dev4" + "cpl-core>=2022.6.17.dev4", + "cpl-query>=2022.6.17.dev4" ], "PythonVersion": ">=3.10.4", "PythonPath": { diff --git a/unittests/unittests_shared/cli_commands.py b/unittests/unittests_shared/cli_commands.py index fd4af8ce..4577e8e0 100644 --- a/unittests/unittests_shared/cli_commands.py +++ b/unittests/unittests_shared/cli_commands.py @@ -14,7 +14,6 @@ class CLICommands: for arg in args: command.append(arg) - print(f'Running {command}') subprocess.run(command, env=env_vars) @classmethod diff --git a/unittests/unittests_shared/unittests_shared.json b/unittests/unittests_shared/unittests_shared.json index babe5a4f..a7fe4bbb 100644 --- a/unittests/unittests_shared/unittests_shared.json +++ b/unittests/unittests_shared/unittests_shared.json @@ -2,9 +2,9 @@ "ProjectSettings": { "Name": "unittest_shared", "Version": { - "Major": "0", - "Minor": "0", - "Micro": "0" + "Major": "2022", + "Minor": "6", + "Micro": "17.dev4" }, "Author": "", "AuthorEmail": "",