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

            A new commit has been pushed.

            Repo   : rpms/lfortran
            Branch : rawhide
            Commit : 875f8b545b2798c83319d35cc634627b56dffef6
            Author : Christoph Junghans <junghans@votca.org>
            Date   : 2026-09-02T20:10:39-06:00
            Stats  : +92/-4 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/lfortran/c/875f8b545b2798c83319d35cc634627b56dffef6?branch=rawhide

            Log:
            Update to version 0.65.0

Resolves: rhbz#2501985

---
diff --git a/.gitignore b/.gitignore
index 905670b..eb62400 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,3 +31,4 @@
 /lfortran-0.61.0.tar.gz
 /lfortran-0.62.0.tar.gz
 /lfortran-0.63.0.tar.gz
+/lfortran-0.65.0.tar.gz

diff --git a/12679.patch b/12679.patch
new file mode 100644
index 0000000..497f784
--- /dev/null
+++ b/12679.patch
@@ -0,0 +1,79 @@
+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/lfortran.spec b/lfortran.spec
index 7e816da..49ec03d 100644
--- a/lfortran.spec
+++ b/lfortran.spec
@@ -1,6 +1,6 @@
-Version:        0.63.0
+Version:        0.65.0
 Name:           lfortran
-Release:        4%{?dist}
+Release:        1%{?dist}
 Summary:        A modern Fortran compiler
 
 # Main code is BSD-3-Clause
@@ -9,15 +9,18 @@ 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
+Patch0:         https://github.com/lfortran/lfortran/pull/12679.patch
 
 # https://github.com/lfortran/lfortran/issues/2981
 ExclusiveArch: x86_64
 
-%global with_jupyter 1
+# needs xeus-6
+%global with_jupyter 0
 
 BuildRequires: binutils-devel
 BuildRequires: bison
 BuildRequires: cmake
+BuildRequires: clang
 BuildRequires: fmt-devel
 BuildRequires: gcc-c++
 BuildRequires: json-devel
@@ -26,6 +29,7 @@ BuildRequires: libunwind-devel
 BuildRequires: libuuid-devel
 BuildRequires: llvm-devel
 BuildRequires: python3-devel
+BuildRequires: python3-tomli
 BuildRequires: rapidjson-devel
 BuildRequires: re2c
 BuildRequires: zlib-ng-compat-devel
@@ -157,6 +161,10 @@ This package contains the jupyter kernel for %{name}.
 %endif
 
 %changelog
+* Wed Sep 02 2026 Christoph Junghans <junghans@votca.org> - 0.65.0-1
+- Update to version 0.65.0
+- Resolves: rhbz#2501985
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.63.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index a3ea3e9..8a36cbe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lfortran-0.63.0.tar.gz) = 317cca18dcc98287b750095f8c2bee6150b85e5d792c48804f6da441c7a48fb0dfda61bbb48b61187234b995f574f2c1e5dcd9657d84e04ae3ad10dfaed88400
+SHA512 (lfortran-0.65.0.tar.gz) = aac135b874a4a93f061f0958add6f4ef87fa6fc28af08c47f7ade9c72902a44070d6dd6ef97da2d9c27a620817525c42cfc6d5fd7561b566c1aeb8dbb6b719ba

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

only message in thread, other threads:[~2026-09-03  2:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03  2:10 [rpms/lfortran] rawhide: Update to version 0.65.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