From 1ba698d12a6aff274c3f53e24be2189b165547c3 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 13 Mar 2021 15:59:08 +0100 Subject: [PATCH] Bugfixes --- docs/pip.txt | 6 +++++ src/cpl/__init__.py | 4 +-- src/cpl/application/__init__.py | 4 +-- src/cpl/configuration/__init__.py | 4 +-- src/cpl/console/__init__.py | 4 +-- src/cpl/database/__init__.py | 4 +-- src/cpl/database/connection/__init__.py | 4 +-- src/cpl/database/context/__init__.py | 4 +-- src/cpl/dependency_injection/__init__.py | 4 +-- src/cpl/environment/__init__.py | 4 +-- src/cpl/logging/__init__.py | 4 +-- src/cpl/mailing/__init__.py | 4 +-- src/cpl/time/__init__.py | 4 +-- src/cpl/utils/__init__.py | 4 +-- src/cpl_cli/__init__.py | 4 +-- src/cpl_cli/command/__init__.py | 4 +-- src/cpl_cli/configuration/__init__.py | 4 +-- src/cpl_cli/live_server/__init__.py | 25 +++++++++++++++++++ src/cpl_cli/publish/__init__.py | 4 +-- src/cpl_cli/templates/__init__.py | 4 +-- src/cpl_cli/templates/build/__init__.py | 4 +-- src/cpl_cli/templates/build/init_template.py | 2 +- src/cpl_cli/templates/generate/__init__.py | 4 +-- src/cpl_cli/templates/new/__init__.py | 4 +-- src/cpl_cli/templates/new/console/__init__.py | 4 +-- .../templates/new/console/src/__init__.py | 4 +-- .../new/console/src/tests/__init__.py | 4 +-- src/cpl_cli/templates/publish/__init__.py | 4 +-- 28 files changed, 82 insertions(+), 51 deletions(-) create mode 100644 docs/pip.txt diff --git a/docs/pip.txt b/docs/pip.txt new file mode 100644 index 00000000..6dd3d1fa --- /dev/null +++ b/docs/pip.txt @@ -0,0 +1,6 @@ +upload: + twine upload --repository-url https://pip.sh-edraft.de dist/publish/setup/* + twine upload -r pip.sh-edraft.de dist/publish/setup/* + +install: + pip install --extra-index-url https://pip.sh-edraft.de/ sh_cpl diff --git a/src/cpl/__init__.py b/src/cpl/__init__.py index 7e712607..b8c4d510 100644 --- a/src/cpl/__init__.py +++ b/src/cpl/__init__.py @@ -15,11 +15,11 @@ __title__ = 'sh_cpl.cpl' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple # imports: VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl/application/__init__.py b/src/cpl/application/__init__.py index 8a3cec67..7c0f3b11 100644 --- a/src/cpl/application/__init__.py +++ b/src/cpl/application/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl.application' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -28,4 +28,4 @@ from .application_runtime_abc import ApplicationRuntimeABC from .startup_abc import StartupABC VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl/configuration/__init__.py b/src/cpl/configuration/__init__.py index 362ba3c4..9487946b 100644 --- a/src/cpl/configuration/__init__.py +++ b/src/cpl/configuration/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl.configuration' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -27,4 +27,4 @@ from .configuration_variable_name_enum import ConfigurationVariableNameEnum from .console_argument import ConsoleArgument VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl/console/__init__.py b/src/cpl/console/__init__.py index 902b7a37..47bd5470 100644 --- a/src/cpl/console/__init__.py +++ b/src/cpl/console/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl.console' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -27,4 +27,4 @@ from .foreground_color_enum import ForegroundColorEnum from .spinner_thread import SpinnerThread VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl/database/__init__.py b/src/cpl/database/__init__.py index 20b4e9cb..0ec92537 100644 --- a/src/cpl/database/__init__.py +++ b/src/cpl/database/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl.database' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -25,4 +25,4 @@ from .database_settings import DatabaseSettings from .database_settings_name_enum import DatabaseSettingsNameEnum VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl/database/connection/__init__.py b/src/cpl/database/connection/__init__.py index 0bba989e..54c07240 100644 --- a/src/cpl/database/connection/__init__.py +++ b/src/cpl/database/connection/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl.database.connection' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -24,4 +24,4 @@ from .database_connection import DatabaseConnection from .database_connection_abc import DatabaseConnectionABC VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl/database/context/__init__.py b/src/cpl/database/context/__init__.py index fecfe45d..ca3ba079 100644 --- a/src/cpl/database/context/__init__.py +++ b/src/cpl/database/context/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl.database.context' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -24,4 +24,4 @@ from .database_context import DatabaseContext from .database_context_abc import DatabaseContextABC VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl/dependency_injection/__init__.py b/src/cpl/dependency_injection/__init__.py index 636df4c4..3b075210 100644 --- a/src/cpl/dependency_injection/__init__.py +++ b/src/cpl/dependency_injection/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl.dependency_injection' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -25,4 +25,4 @@ from .service_provider import ServiceProvider from .service_provider_abc import ServiceProviderABC VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl/environment/__init__.py b/src/cpl/environment/__init__.py index b17c2365..3c475949 100644 --- a/src/cpl/environment/__init__.py +++ b/src/cpl/environment/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl.environment' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -25,4 +25,4 @@ from .environment_name_enum import EnvironmentNameEnum from .application_environment import ApplicationEnvironment VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl/logging/__init__.py b/src/cpl/logging/__init__.py index 3d1b152e..a7b2c0c8 100644 --- a/src/cpl/logging/__init__.py +++ b/src/cpl/logging/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl.logging' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -27,4 +27,4 @@ from .logging_settings import LoggingSettings from .logging_settings_name_enum import LoggingSettingsNameEnum VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl/mailing/__init__.py b/src/cpl/mailing/__init__.py index 8878a02b..7cbbc605 100644 --- a/src/cpl/mailing/__init__.py +++ b/src/cpl/mailing/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl.mailing' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -27,4 +27,4 @@ from .email_client_settings import EMailClientSettings from .email_client_settings_name_enum import EMailClientSettingsNameEnum VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl/time/__init__.py b/src/cpl/time/__init__.py index caa84910..a65531ce 100644 --- a/src/cpl/time/__init__.py +++ b/src/cpl/time/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl.time' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -24,4 +24,4 @@ from .time_format_settings import TimeFormatSettings from .time_format_settings_names_enum import TimeFormatSettingsNamesEnum VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl/utils/__init__.py b/src/cpl/utils/__init__.py index 86e7cc32..8a679a73 100644 --- a/src/cpl/utils/__init__.py +++ b/src/cpl/utils/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl.utils' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -24,4 +24,4 @@ from .credential_manager import CredentialManager from .string import String VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/__init__.py b/src/cpl_cli/__init__.py index 318d39c3..c149c868 100644 --- a/src/cpl_cli/__init__.py +++ b/src/cpl_cli/__init__.py @@ -15,7 +15,7 @@ __title__ = 'sh_cpl.cpl_cli' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -29,4 +29,4 @@ from .main import main from .startup import Startup VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/command/__init__.py b/src/cpl_cli/command/__init__.py index 5598e309..4a90e859 100644 --- a/src/cpl_cli/command/__init__.py +++ b/src/cpl_cli/command/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl_cli.command' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -28,4 +28,4 @@ from .publish_service import PublishService from .version_service import VersionService VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/configuration/__init__.py b/src/cpl_cli/configuration/__init__.py index f2fbe4d9..419a1758 100644 --- a/src/cpl_cli/configuration/__init__.py +++ b/src/cpl_cli/configuration/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl_cli.configuration' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -28,4 +28,4 @@ from .version_settings import VersionSettings from .version_settings_name_enum import VersionSettingsNameEnum VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/live_server/__init__.py b/src/cpl_cli/live_server/__init__.py index e69de29b..86f650a0 100644 --- a/src/cpl_cli/live_server/__init__.py +++ b/src/cpl_cli/live_server/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- + +""" +sh_cpl sh-edraft Common Python library +~~~~~~~~~~~~~~~~~~~ + +sh-edraft Common Python library + +:copyright: (c) 2020 - 2021 sh-edraft.de +:license: MIT, see LICENSE for more details. + +""" + +__title__ = 'cpl_cli.live_server' +__author__ = 'Sven Heidemann' +__license__ = 'MIT' +__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' +__version__ = '2021.04.01' + +from collections import namedtuple + +# imports: + +VersionInfo = namedtuple('VersionInfo', 'major minor micro') +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/publish/__init__.py b/src/cpl_cli/publish/__init__.py index ec0e2155..bbe10172 100644 --- a/src/cpl_cli/publish/__init__.py +++ b/src/cpl_cli/publish/__init__.py @@ -15,7 +15,7 @@ __title__ = 'cpl_cli.publish' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple @@ -24,4 +24,4 @@ from .publisher_abc import PublisherABC from .publisher_service import PublisherService VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/templates/__init__.py b/src/cpl_cli/templates/__init__.py index 3bdf0291..d0d9b15e 100644 --- a/src/cpl_cli/templates/__init__.py +++ b/src/cpl_cli/templates/__init__.py @@ -15,11 +15,11 @@ __title__ = 'cpl_cli.templates' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple # imports: VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/templates/build/__init__.py b/src/cpl_cli/templates/build/__init__.py index da9f2c97..2d5e70cf 100644 --- a/src/cpl_cli/templates/build/__init__.py +++ b/src/cpl_cli/templates/build/__init__.py @@ -15,11 +15,11 @@ __title__ = 'cpl_cli.templates.build' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple # imports: VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/templates/build/init_template.py b/src/cpl_cli/templates/build/init_template.py index e249d74f..b6947e22 100644 --- a/src/cpl_cli/templates/build/init_template.py +++ b/src/cpl_cli/templates/build/init_template.py @@ -30,7 +30,7 @@ class InitTemplate: $Imports VersionInfo = namedtuple('VersionInfo', 'major minor micro') - version_info = VersionInfo(major=$Major, minor=$Minor, micro=$Micro) + version_info = VersionInfo(major='$Major', minor='$Minor', micro='$Micro') """) return string diff --git a/src/cpl_cli/templates/generate/__init__.py b/src/cpl_cli/templates/generate/__init__.py index 2be4ae3c..9a5b765e 100644 --- a/src/cpl_cli/templates/generate/__init__.py +++ b/src/cpl_cli/templates/generate/__init__.py @@ -15,11 +15,11 @@ __title__ = 'cpl_cli.templates.generate' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple # imports: VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/templates/new/__init__.py b/src/cpl_cli/templates/new/__init__.py index 4591916e..974185cc 100644 --- a/src/cpl_cli/templates/new/__init__.py +++ b/src/cpl_cli/templates/new/__init__.py @@ -15,11 +15,11 @@ __title__ = 'cpl_cli.templates.new' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple # imports: VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/templates/new/console/__init__.py b/src/cpl_cli/templates/new/console/__init__.py index ed985dc9..7dc696d0 100644 --- a/src/cpl_cli/templates/new/console/__init__.py +++ b/src/cpl_cli/templates/new/console/__init__.py @@ -15,11 +15,11 @@ __title__ = 'cpl_cli.templates.new.console' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple # imports: VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/templates/new/console/src/__init__.py b/src/cpl_cli/templates/new/console/src/__init__.py index 7244fc75..b67e2633 100644 --- a/src/cpl_cli/templates/new/console/src/__init__.py +++ b/src/cpl_cli/templates/new/console/src/__init__.py @@ -15,11 +15,11 @@ __title__ = 'cpl_cli.templates.new.console.src' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple # imports: VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/templates/new/console/src/tests/__init__.py b/src/cpl_cli/templates/new/console/src/tests/__init__.py index 0d1131c8..aaa0a0d1 100644 --- a/src/cpl_cli/templates/new/console/src/tests/__init__.py +++ b/src/cpl_cli/templates/new/console/src/tests/__init__.py @@ -15,11 +15,11 @@ __title__ = 'cpl_cli.templates.new.console.src.tests' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple # imports: VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01') diff --git a/src/cpl_cli/templates/publish/__init__.py b/src/cpl_cli/templates/publish/__init__.py index 260f196c..b4657468 100644 --- a/src/cpl_cli/templates/publish/__init__.py +++ b/src/cpl_cli/templates/publish/__init__.py @@ -15,11 +15,11 @@ __title__ = 'cpl_cli.templates.publish' __author__ = 'Sven Heidemann' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de' -__version__ = '2021.4.1' +__version__ = '2021.04.01' from collections import namedtuple # imports: VersionInfo = namedtuple('VersionInfo', 'major minor micro') -version_info = VersionInfo(major=2021, minor=4, micro=1) +version_info = VersionInfo(major='2021', minor='04', micro='01')