From 1eb10b89f4292ccdab7fcb7e0ac3efbace254d78 Mon Sep 17 00:00:00 2001
From: Pantelis Sopasakis
Date: Tue, 5 Nov 2024 15:44:51 +0000
Subject: [PATCH] fix(362): remove unnecessary imports
Remove unnecessary imports (fileinput, warning, datetime)
and update CHANGELOG and VERSION (opengen)
---
open-codegen/CHANGELOG.md | 6 ++++++
open-codegen/VERSION | 2 +-
open-codegen/opengen/builder/optimizer_builder.py | 3 ---
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/open-codegen/CHANGELOG.md b/open-codegen/CHANGELOG.md
index 5f960b32..31aecf7e 100644
--- a/open-codegen/CHANGELOG.md
+++ b/open-codegen/CHANGELOG.md
@@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
Note: This is the Changelog file of `opengen` - the Python interface of OpEn
+## [0.9.2] - 2024-11-05
+
+### Fixed
+
+- In CasADi-generated C files some functions are made static to avoid clashes when creating multiple solvers
## [0.9.1] - 2024-10-14
@@ -214,6 +219,7 @@ Note: This is the Changelog file of `opengen` - the Python interface of OpEn
* Fixed `lbfgs` typo
+[0.9.2]: https://github.com/alphaville/optimization-engine/compare/opengen-0.9.1...opengen-0.9.2
[0.9.1]: https://github.com/alphaville/optimization-engine/compare/opengen-0.9.0...opengen-0.9.1
[0.9.0]: https://github.com/alphaville/optimization-engine/compare/opengen-0.8.1...opengen-0.9.0
[0.8.1]: https://github.com/alphaville/optimization-engine/compare/v0.9.0...opengen-0.8.1
diff --git a/open-codegen/VERSION b/open-codegen/VERSION
index f514a2f0..f76f9131 100644
--- a/open-codegen/VERSION
+++ b/open-codegen/VERSION
@@ -1 +1 @@
-0.9.1
\ No newline at end of file
+0.9.2
\ No newline at end of file
diff --git a/open-codegen/opengen/builder/optimizer_builder.py b/open-codegen/opengen/builder/optimizer_builder.py
index 5f7e8a3d..8a43c30d 100644
--- a/open-codegen/opengen/builder/optimizer_builder.py
+++ b/open-codegen/opengen/builder/optimizer_builder.py
@@ -1,8 +1,6 @@
import subprocess
import shutil
-import datetime
import yaml
-import warnings
import opengen.config as og_cfg
import opengen.definitions as og_dfn
@@ -13,7 +11,6 @@
import logging
import pkg_resources
import sys
-import fileinput
from .ros_builder import RosBuilder