From f556ba46d9dc6eab31ff27a9810c192df571309d Mon Sep 17 00:00:00 2001 From: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Date: Mon, 13 Jan 2025 10:14:26 -0800 Subject: [PATCH] bugfix/r: git property needs to be classproperty (#48228) --- lib/spack/spack/build_systems/r.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/spack/spack/build_systems/r.py b/lib/spack/spack/build_systems/r.py index b71a25e9fe6..1779acc1e05 100644 --- a/lib/spack/spack/build_systems/r.py +++ b/lib/spack/spack/build_systems/r.py @@ -94,7 +94,7 @@ def list_url(cls): if cls.cran: return f"https://cloud.r-project.org/src/contrib/Archive/{cls.cran}/" - @property - def git(self): - if self.bioc: - return f"https://git.bioconductor.org/packages/{self.bioc}" + @lang.classproperty + def git(cls): + if cls.bioc: + return f"https://git.bioconductor.org/packages/{cls.bioc}"