public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sci-physics/openmodelica/files/
@ 2024-07-31 22:45 Lucio Sauer
  2024-07-31 22:49 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
  0 siblings, 1 reply; 2+ messages in thread
From: Lucio Sauer @ 2024-07-31 22:45 UTC (permalink / raw
  To: gentoo-commits

commit:     e050ecc546754eca728e87b3477ede7b24f9881d
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed Jul 31 22:41:39 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jul 31 22:44:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e050ecc5

sci-physics/openmodelica: add patch description

https://github.com/gentoo/guru/commit/27eb38d18856f0e508b046fcb46db6737e557fb5#r144754597

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 .../openmodelica/files/openmodelica-1.23.1-raw_strings.patch      | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch b/sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch
index 73e169b36..d2762d9c7 100644
--- a/sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch
+++ b/sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch
@@ -1,5 +1,7 @@
-diff --git a/OMSens/analysis/indiv_sens.py b/analysis/indiv_sens.py
-index 676c0b6..e12f022 100644
+Regular expression strings are not explicitly defined as raw strings. This
+causes modern python versions (tested with 3.12) to trigger warnings/errors.
+
+See-also: https://github.com/OpenModelica/OpenModelica/issues/12757
 --- a/OMSens/analysis/indiv_sens.py
 +++ b/OMSens/analysis/indiv_sens.py
 @@ -323,8 +323,8 @@ def slugify(value):
@@ -13,8 +15,6 @@ index 676c0b6..e12f022 100644
      return value
  
  
-diff --git a/OMSens/modelica_interface/run_omc.py b/modelica_interface/run_omc.py
-index 583e0d6..1cd67e4 100644
 --- a/OMSens/modelica_interface/run_omc.py
 +++ b/OMSens/modelica_interface/run_omc.py
 @@ -36,7 +36,8 @@ def writeOMCLog(log_str, output_path):


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sci-physics/openmodelica/files/
  2024-07-31 22:45 [gentoo-commits] repo/proj/guru:dev commit in: sci-physics/openmodelica/files/ Lucio Sauer
@ 2024-07-31 22:49 ` Lucio Sauer
  0 siblings, 0 replies; 2+ messages in thread
From: Lucio Sauer @ 2024-07-31 22:49 UTC (permalink / raw
  To: gentoo-commits

commit:     e050ecc546754eca728e87b3477ede7b24f9881d
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed Jul 31 22:41:39 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Jul 31 22:44:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e050ecc5

sci-physics/openmodelica: add patch description

https://github.com/gentoo/guru/commit/27eb38d18856f0e508b046fcb46db6737e557fb5#r144754597

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 .../openmodelica/files/openmodelica-1.23.1-raw_strings.patch      | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch b/sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch
index 73e169b36..d2762d9c7 100644
--- a/sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch
+++ b/sci-physics/openmodelica/files/openmodelica-1.23.1-raw_strings.patch
@@ -1,5 +1,7 @@
-diff --git a/OMSens/analysis/indiv_sens.py b/analysis/indiv_sens.py
-index 676c0b6..e12f022 100644
+Regular expression strings are not explicitly defined as raw strings. This
+causes modern python versions (tested with 3.12) to trigger warnings/errors.
+
+See-also: https://github.com/OpenModelica/OpenModelica/issues/12757
 --- a/OMSens/analysis/indiv_sens.py
 +++ b/OMSens/analysis/indiv_sens.py
 @@ -323,8 +323,8 @@ def slugify(value):
@@ -13,8 +15,6 @@ index 676c0b6..e12f022 100644
      return value
  
  
-diff --git a/OMSens/modelica_interface/run_omc.py b/modelica_interface/run_omc.py
-index 583e0d6..1cd67e4 100644
 --- a/OMSens/modelica_interface/run_omc.py
 +++ b/OMSens/modelica_interface/run_omc.py
 @@ -36,7 +36,8 @@ def writeOMCLog(log_str, output_path):


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-31 22:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-31 22:45 [gentoo-commits] repo/proj/guru:dev commit in: sci-physics/openmodelica/files/ Lucio Sauer
2024-07-31 22:49 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox