diff --git a/.github/workflows/ApplicationTesting.yml b/.github/workflows/ApplicationTesting.yml index b5eb6cc4..fc16440f 100644 --- a/.github/workflows/ApplicationTesting.yml +++ b/.github/workflows/ApplicationTesting.yml @@ -134,6 +134,7 @@ jobs: dependencies = [req.strip() for req in requirements.split(" ")] packages = { + "aiohttp": "python-aiohttp:p", "coverage": "python-coverage:p", "docstr_coverage": "python-pyyaml:p python-types-pyyaml:p", "igraph": "igraph:p", @@ -154,6 +155,7 @@ jobs: subPackages = { "pytooling": { "yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p", + "pypi": "python-aiohttp:p", } } diff --git a/.github/workflows/UnitTesting.yml b/.github/workflows/UnitTesting.yml index 88cbb54d..85d31167 100644 --- a/.github/workflows/UnitTesting.yml +++ b/.github/workflows/UnitTesting.yml @@ -224,7 +224,7 @@ jobs: requirementsFile = Path(requirements) if not requirementsFile.exists(): - print(f"::error title=FileNotFoundError::{ex}") + print(f"::error title=FileNotFoundError::{requirementsFile}") exit(1) print(f"requirements file: {requirementsFile.as_posix()}") @@ -273,6 +273,7 @@ jobs: dependencies = [req.strip() for req in requirements.split(" ")] packages = { + "aiohttp": "python-aiohttp:p", "coverage": "python-coverage:p", "docstr_coverage": "python-pyaml:p python-types-pyyaml:p", "igraph": "igraph:p", @@ -294,6 +295,7 @@ jobs: subPackages = { "pytooling": { "yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p", + "pypi": "python-aiohttp:p", }, } diff --git a/myPackage/__init__.py b/myPackage/__init__.py index a98025ca..232bb12d 100644 --- a/myPackage/__init__.py +++ b/myPackage/__init__.py @@ -36,7 +36,7 @@ __email__ = "Paebbels@gmail.com" __copyright__ = "2017-2025, Patrick Lehmann" __license__ = "Apache License, Version 2.0" -__version__ = "7.0.1" +__version__ = "7.2.0" __keywords__ = ["GitHub Actions"] __issue_tracker__ = "https://GitHub.com/pyTooling/Actions/issues" diff --git a/tests/platform/Specific.py b/tests/platform/Specific.py index b2676f84..4548bf35 100644 --- a/tests/platform/Specific.py +++ b/tests/platform/Specific.py @@ -44,55 +44,55 @@ class PlatformTesting(TestCase): @mark.skipif(not CurrentPlatform.IsNativeLinux, reason="Skipped, if current platform isn't native Linux.") - def test_ApplicationOnNativeLinux(self): + def test_ApplicationOnNativeLinux(self) -> None: app = Application() self.assertEqual(1, app.Value) @mark.skipif(not CurrentPlatform.IsNativeMacOS, reason="Skipped, if current platform isn't native macOS.") - def test_ApplicationOnNativeMacOS(self): + def test_ApplicationOnNativeMacOS(self) -> None: app = Application() self.assertEqual(2, app.Value) @mark.skipif(not CurrentPlatform.IsNativeWindows, reason="Skipped, if current platform isn't native Windows.") - def test_ApplicationOnNativeWindows(self): + def test_ApplicationOnNativeWindows(self) -> None: app = Application() self.assertEqual(3, app.Value) @mark.skipif(not CurrentPlatform.IsMSYSOnWindows, reason="Skipped, if current platform isn't MSYS on Windows.") - def test_ApplicationOnMSYS2OnWindows(self): + def test_ApplicationOnMSYS2OnWindows(self) -> None: app = Application() self.assertEqual(11, app.Value) @mark.skipif(not CurrentPlatform.IsMinGW32OnWindows, reason="Skipped, if current platform isn't MinGW32 on Windows.") - def test_ApplicationOnMinGW32OnWindows(self): + def test_ApplicationOnMinGW32OnWindows(self) -> None: app = Application() self.assertEqual(12, app.Value) @mark.skipif(not CurrentPlatform.IsMinGW64OnWindows, reason="Skipped, if current platform isn't MinGW64 on Windows.") - def test_ApplicationOnMinGW64OnWindows(self): + def test_ApplicationOnMinGW64OnWindows(self) -> None: app = Application() self.assertEqual(13, app.Value) @mark.skipif(not CurrentPlatform.IsUCRT64OnWindows, reason="Skipped, if current platform isn't UCRT64 on Windows.") - def test_ApplicationOnURTC64OnWindows(self): + def test_ApplicationOnURTC64OnWindows(self) -> None: app = Application() self.assertEqual(14, app.Value) @mark.skipif(not CurrentPlatform.IsClang32OnWindows, reason="Skipped, if current platform isn't Clang32 on Windows.") - def test_ApplicationOnClang32OnWindows(self): + def test_ApplicationOnClang32OnWindows(self) -> None: app = Application() self.assertEqual(15, app.Value) @mark.skipif(not CurrentPlatform.IsClang64OnWindows, reason="Skipped, if current platform isn't Clang64 on Windows.") - def test_ApplicationOnClang64OnWindows(self): + def test_ApplicationOnClang64OnWindows(self) -> None: app = Application() self.assertEqual(16, app.Value) diff --git a/tests/unit/AppInit.py b/tests/unit/AppInit.py index 13a52005..79ab9563 100644 --- a/tests/unit/AppInit.py +++ b/tests/unit/AppInit.py @@ -34,7 +34,7 @@ class Instantiation(TestCase): - def test_Application(self): + def test_Application(self) -> None: app = Application() self.assertGreater(app.Value, 0)