From d815b4a4fc54b6b2f578c2c3440e3c88aa0344e5 Mon Sep 17 00:00:00 2001 From: Benjamin Demaille Date: Tue, 7 Jul 2026 05:13:00 +0200 Subject: [PATCH 1/2] quast 5.3.0 Co-authored-by: Claude Opus 4.8 (1M context) --- Formula/quast.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/quast.rb b/Formula/quast.rb index 95be876d8..5d8b0d269 100644 --- a/Formula/quast.rb +++ b/Formula/quast.rb @@ -7,8 +7,8 @@ class Quast < Formula desc "Quality Assessment Tool for Genome Assemblies" homepage "https://quast.sourceforge.io/" - url "https://github.com/ablab/quast/archive/refs/tags/quast_5.2.0.tar.gz" - sha256 "db903a6e4dd81384687f1c38d47cbe0f51bdf7f6d5e5c0bd30c13796391f4f04" + url "https://github.com/ablab/quast/archive/refs/tags/quast_5.3.0.tar.gz" + sha256 "b9caa839d9f072dc257b3b1f28288b3ec36bd061bc92fa7079b517ffbd0c2de3" head "https://github.com/ablab/quast.git", branch: "master" bottle do From 075a96bc71bc1daaaa6421ad01c6cbe493f72126 Mon Sep 17 00:00:00 2001 From: Benjamin Demaille Date: Wed, 8 Jul 2026 23:32:33 +0200 Subject: [PATCH 2/2] quast: fix CI (align python to 3.14 for matplotlib ABI) python-matplotlib now builds against python@3.14 and exposes itself via a .pth in python3.14 site-packages, so quast's python@3.12 venv could not import it ('Can't draw plots: python-matplotlib is missing or corrupted') and never produced report.pdf. Pin quast to python@3.14 to match. Co-Authored-By: Claude Opus 4.8 (1M context) --- Formula/quast.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/quast.rb b/Formula/quast.rb index 5d8b0d269..d21508619 100644 --- a/Formula/quast.rb +++ b/Formula/quast.rb @@ -25,7 +25,7 @@ class Quast < Formula depends_on "minimap2" depends_on "openjdk@11" depends_on "python-matplotlib" - depends_on "python@3.12" + depends_on "python@3.14" depends_on "sambamba" uses_from_macos "perl" @@ -47,7 +47,7 @@ class Quast < Formula end def python3 - which("python3.12") + which("python3.14") end def install @@ -61,7 +61,7 @@ def install "return get_path_to_program(fname, sambamba_dirpath)" s.gsub! "from distutils.dir_util import copy_tree", "from setuptools import copy_tree" end - # To be compatible with python 3.12 + # To be compatible with python 3.12+ (distutils removed) inreplace "quast_libs/qconfig.py", "from distutils.version import LooseVersion", "from packaging.version import Version as LooseVersion" # Use Homebrew's barrnap