public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lfortran] rawhide: Update to version 0.66.0
@ 2026-09-15 12:25 Christoph Junghans
  0 siblings, 0 replies; only message in thread
From: Christoph Junghans @ 2026-09-15 12:25 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/lfortran
            Branch : rawhide
            Commit : ff46f1c2fdcd49e4d72def7c0a6de68e7546c5f8
            Author : Christoph Junghans <junghans@votca.org>
            Date   : 2026-09-15T06:24:48-06:00
            Stats  : +8/-160 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/lfortran/c/ff46f1c2fdcd49e4d72def7c0a6de68e7546c5f8?branch=rawhide

            Log:
            Update to version 0.66.0

Resolves: rhbz#2532852

---
diff --git a/.gitignore b/.gitignore
index eb62400..6ff46cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,3 +32,4 @@
 /lfortran-0.62.0.tar.gz
 /lfortran-0.63.0.tar.gz
 /lfortran-0.65.0.tar.gz
+/lfortran-0.66.0.tar.gz

diff --git a/12679.patch b/12679.patch
deleted file mode 100644
index 497f784..0000000
--- a/12679.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 076b7f3124bb93d0efc17daf2bc383f1fdfe5350 Mon Sep 17 00:00:00 2001
-From: Christoph Junghans <junghans@votca.org>
-Date: Wed, 2 Sep 2026 06:38:53 -0600
-Subject: [PATCH] Migrate py scripts from toml to tomli
-
----
- src/libasr/compiler_tester/tester.py | 5 +++--
- tests/asr/check_llvm_coverage.py     | 5 +++--
- tests/asr/fuzz.py                    | 4 ++--
- 3 files changed, 8 insertions(+), 6 deletions(-)
-
-diff --git a/src/libasr/compiler_tester/tester.py b/src/libasr/compiler_tester/tester.py
-index 16a077f9d6a..71041da3acd 100644
---- a/src/libasr/compiler_tester/tester.py
-+++ b/src/libasr/compiler_tester/tester.py
-@@ -12,7 +12,7 @@
- import shutil
- import subprocess
- import sys
--import toml
-+import tomli
- from typing import Any, Mapping, List, Union
- 
- level = logging.DEBUG
-@@ -582,7 +582,8 @@ def tester_main(compiler, single_test, is_lcompilers_executable_installed=False)
-     if not is_lcompilers_executable_installed:
-         os.environ["PATH"] = os.path.join(SRC_DIR, "bin") \
-             + os.pathsep + os.environ["PATH"]
--    test_data = toml.load(open(os.path.join(ROOT_DIR, "tests", "tests.toml")))
-+    with open(os.path.join(ROOT_DIR, "tests", "tests.toml"), "rb") as f:
-+         test_data = tomli.load(f)
-     test_for_duplicates(test_data)
-     filtered_tests = test_data["test"]
-     if specific_tests:
-diff --git a/tests/asr/check_llvm_coverage.py b/tests/asr/check_llvm_coverage.py
-index 5114fb1730f..dd78dfc3361 100755
---- a/tests/asr/check_llvm_coverage.py
-+++ b/tests/asr/check_llvm_coverage.py
-@@ -5,7 +5,7 @@
- import re
- import sys
- 
--import toml
-+import tomli
- 
- 
- def load_asdl(asdl_path):
-@@ -35,7 +35,8 @@ def main():
-     llvm_source = args.llvm.read_text(encoding="utf-8")
-     direct = set(re.findall(
-         r"\bvisit_([A-Za-z0-9_]+)\s*\(", llvm_source))
--    exceptions = toml.load(args.manifest.resolve())["constructors"]
-+    with open(args.manifest.resolve(), "rb") as f:
-+        exceptions = tomli.load(f)["constructors"]
- 
-     missing = []
-     for base, constructor in constructors:
-diff --git a/tests/asr/fuzz.py b/tests/asr/fuzz.py
-index 24ce62803fb..70736a5271c 100644
---- a/tests/asr/fuzz.py
-+++ b/tests/asr/fuzz.py
-@@ -11,7 +11,7 @@
- import sys
- import tempfile
- 
--import toml
-+import tomli
- import edn
- import asr_generator
- 
-@@ -408,7 +408,7 @@ def load_sources(manifest, explicit_sources):
-     manifest = manifest.resolve()
-     root = manifest.parent
-     sources = []
--    for item in toml.load(manifest)["seed"]:
-+    for item in tomli.load(manifest)["seed"]:
-         path = (root / item["filename"]).resolve()
-         # The seed manifest names integration tests, which a source tarball
-         # does not ship. Skip what is not there rather than failing the run.

diff --git a/12688.patch b/12688.patch
deleted file mode 100644
index df9d30e..0000000
--- a/12688.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-From dcf373eae365bee96bcdd597b2efd86104b17b19 Mon Sep 17 00:00:00 2001
-From: Christoph Junghans <junghans@votca.org>
-Date: Thu, 3 Sep 2026 06:45:12 -0600
-Subject: [PATCH] Bring back support for xeus-5
-
----
- CMakeLists.txt                  |  4 ++--
- src/lfortran/config.h.cmakein   |  2 ++
- src/lfortran/fortran_kernel.cpp | 11 ++++++++++-
- 3 files changed, 14 insertions(+), 3 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 7660ef7fe5c..11375ccb24e 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -352,8 +352,8 @@ endfunction()
- # XEUS (Fortran kernel)
- set(WITH_XEUS no CACHE BOOL "Build with XEUS support")
- if (WITH_XEUS)
--    find_package(xeus 6.0.0 REQUIRED)
--    find_package(xeus-zmq 4.0.0 REQUIRED)
-+    find_package(xeus 5.0.0 REQUIRED)
-+    find_package(xeus-zmq 3.0.0 REQUIRED)
-     set(HAVE_LFORTRAN_XEUS yes)
- 
-     configure_lfortran_kernel()
-diff --git a/src/lfortran/config.h.cmakein b/src/lfortran/config.h.cmakein
-index da3a0e976e5..b4182aa5174 100644
---- a/src/lfortran/config.h.cmakein
-+++ b/src/lfortran/config.h.cmakein
-@@ -3,3 +3,5 @@
- 
- #cmakedefine KOKKOS_LIBDIR "@KOKKOS_LIBDIR@"
- #cmakedefine KOKKOS_INCLUDEDIR "@KOKKOS_INCLUDEDIR@"
-+
-+#cmakedefine XEUS_VERSION_MAJOR "@xeus_VERSION_MAJOR"
-diff --git a/src/lfortran/fortran_kernel.cpp b/src/lfortran/fortran_kernel.cpp
-index 73471c71463..eebc85e3410 100644
---- a/src/lfortran/fortran_kernel.cpp
-+++ b/src/lfortran/fortran_kernel.cpp
-@@ -146,9 +146,12 @@ namespace LCompilers::LFortran {
-         nl::json is_complete_request_impl(const std::string& code) override;
- 
-         nl::json kernel_info_request_impl() override;
--
-+#if XEUS_VERSION_MAJOR > 5
-         nl::json shutdown_request_impl(bool restart) override;
-         nl::json interrupt_request_impl() override;
-+#else
-+	void shutdown_request_impl() override;
-+#endif
-     };
- 
-     
-@@ -496,6 +499,7 @@ namespace LCompilers::LFortran {
-         );
-     }
- 
-+#if XEUS_VERSION_MAJOR > 5
-     nl::json custom_interpreter::shutdown_request_impl(bool restart) {
-         std::cout << "Bye!!" << std::endl;
-         return xeus::create_shutdown_reply(restart);
-@@ -504,6 +508,11 @@ namespace LCompilers::LFortran {
-     nl::json custom_interpreter::interrupt_request_impl() {
-         return xeus::create_interrupt_reply();
-     }
-+#else
-+    void custom_interpreter::shutdown_request_impl() {
-+        std::cout << "Bye!!" << std::endl;
-+    }
-+#endif
- 
-     int run_kernel(const std::string &connection_filename)
-     {

diff --git a/lfortran.spec b/lfortran.spec
index cb9f895..112ac3b 100644
--- a/lfortran.spec
+++ b/lfortran.spec
@@ -1,6 +1,6 @@
-Version:        0.65.0
+Version:        0.66.0
 Name:           lfortran
-Release:        2%{?dist}
+Release:        1%{?dist}
 Summary:        A modern Fortran compiler
 
 # Main code is BSD-3-Clause
@@ -9,10 +9,6 @@ Summary:        A modern Fortran compiler
 License:        BSD-3-Clause AND Apache-2.0 WITH LLVM-exception
 URL:            https://lfortran.org/
 Source0:        https://github.com/lfortran/lfortran/releases/download/v%{version}/lfortran-%{version}.tar.gz
-# toml -> tomli
-Patch0:         https://github.com/lfortran/lfortran/pull/12679.patch
-# support for xeus-5
-Patch1:         https://github.com/lfortran/lfortran/pull/12688.patch
 
 # https://github.com/lfortran/lfortran/issues/2981
 ExclusiveArch: x86_64
@@ -163,6 +159,10 @@ This package contains the jupyter kernel for %{name}.
 %endif
 
 %changelog
+* Tue Sep 15 2026 Christoph Junghans <junghans@votca.org> - 0.66.0-1
+- Update to version 0.66.0
+- Resolves: rhbz#2532852
+
 * Thu Sep 03 2026 Christoph Junghans <junghans@votca.org> - 0.65.0-2
 - Bring back jupyter package
 

diff --git a/sources b/sources
index 8a36cbe..f290480 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lfortran-0.65.0.tar.gz) = aac135b874a4a93f061f0958add6f4ef87fa6fc28af08c47f7ade9c72902a44070d6dd6ef97da2d9c27a620817525c42cfc6d5fd7561b566c1aeb8dbb6b719ba
+SHA512 (lfortran-0.66.0.tar.gz) = ba9c46c2cad247ddb05eccaf023a607182c48b099d81a59825351fe2b2d5a1a701f9992c22f88e3622798732b47c44f780ee3086d031823d1e8bee64d0b07c0b

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-15 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15 12:25 [rpms/lfortran] rawhide: Update to version 0.66.0 Christoph Junghans

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