From 266012096c8cf3492886cfd096256e3eee757503 Mon Sep 17 00:00:00 2001 From: cmoineau <cyril.moineau@cea.fr> Date: Thu, 8 May 2025 19:54:08 +0000 Subject: [PATCH 1/2] Fix documentation link. --- pyproject.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9c3a98a..d50fb7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,8 +14,6 @@ classifiers = [ "Programming Language :: C++", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -29,7 +27,7 @@ dynamic = ["version"] # defined in pbr [project.urls] Homepage = "https://www.deepgreen.ai/en/platform" -Documentation = "https://eclipse-aidge.readthedocs.io/en/latest/" +Documentation = "https://eclipse.dev/aidge/" Repository = "https://gitlab.eclipse.org/eclipse/aidge/aidge_learning" Issues = "https://gitlab.eclipse.org/eclipse/aidge/aidge_learning/-/issues/" Changelog = "https://gitlab.eclipse.org/eclipse/aidge/aidge_learning/-/releases" -- GitLab From ab7e7fd48b663f28c061e1966717fe9a2520d6c2 Mon Sep 17 00:00:00 2001 From: cmoineau <cyril.moineau@cea.fr> Date: Thu, 8 May 2025 19:56:01 +0000 Subject: [PATCH 2/2] showLearningVersion now use fmt print instead of Log::info. --- .../aidge/utils/sys_info/LearningVersionInfo.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/aidge/utils/sys_info/LearningVersionInfo.hpp b/include/aidge/utils/sys_info/LearningVersionInfo.hpp index 7572e24..9ec21d4 100644 --- a/include/aidge/utils/sys_info/LearningVersionInfo.hpp +++ b/include/aidge/utils/sys_info/LearningVersionInfo.hpp @@ -1,7 +1,7 @@ #ifndef AIDGE_UTILS_SYS_INFO_LEARNING_VERSION_INFO_H #define AIDGE_UTILS_SYS_INFO_LEARNING_VERSION_INFO_H -#include "aidge/utils/Log.hpp" +#include <fmt/core.h> #include "aidge/learning_version.h" namespace Aidge { @@ -15,22 +15,22 @@ constexpr inline const char * getLearningGitHash(){ } void showLearningVersion() { - Log::info("Aidge Learning: {} ({}), {} {}", getLearningProjectVersion(), getLearningGitHash(), __DATE__, __TIME__); + fmt::println("Aidge Learning: {} ({}), {} {}", getLearningProjectVersion(), getLearningGitHash(), __DATE__, __TIME__); // Compiler version #if defined(__clang__) /* Clang/LLVM. ---------------------------------------------- */ - Log::info("Clang/LLVM compiler version: {}.{}.{}\n", __clang_major__ , __clang_minor__, __clang_patchlevel__); + fmt::println("Clang/LLVM compiler version: {}.{}.{}", __clang_major__ , __clang_minor__, __clang_patchlevel__); #elif defined(__ICC) || defined(__INTEL_COMPILER) /* Intel ICC/ICPC. ------------------------------------------ */ - Log::info("Intel ICC/ICPC compiler version: {}\n", __INTEL_COMPILER); + fmt::println("Intel ICC/ICPC compiler version: {}", __INTEL_COMPILER); #elif defined(__GNUC__) || defined(__GNUG__) /* GNU GCC/G++. --------------------------------------------- */ - Log::info("GNU GCC/G++ compiler version: {}.{}.{}", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__); + fmt::println("GNU GCC/G++ compiler version: {}.{}.{}", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__); #elif defined(_MSC_VER) /* Microsoft Visual Studio. --------------------------------- */ - Log::info("Microsoft Visual Studio compiler version: {}\n", _MSC_VER); + fmt::println("Microsoft Visual Studio compiler version: {}", _MSC_VER); #else - Log::info("Unknown compiler\n"); + fmt::println("Unknown compiler"); #endif } } // namespace Aidge -- GitLab