29104, "eric-vo", "[Bug]: Mason attempts to use incorrect dependency version instead of throwing error", "2026-07-09T05:43:34Z"
Summary of Problem
Description:
When Mason finds an incorrect dependency version that doesn't match the project's specified version, it attempts to use the incorrect version instead of preemptively throwing an error, which results in version-specific code breaking.
Is this issue currently blocking your progress?
No.
Steps to Reproduce
- Clone GitHub - chapel-lang/Parquet: A WIP mason package for supporting Parquet format · GitHub and navigate to the Parquet/ directory.
- Execute
MASON_LOG_LEVEL=debug mason test. Note theGot error 'Unable to locate parquet: 19.0.1 Found 24.0.0', falling back to basic test runnermessage. - Execute
MASON_LOG_LEVEL=debug mason build. Note the breaking code due to a version mismatch.
Configuration Information
- Output of
chpl --version:
chpl version 2.9.0
built with LLVM version 22.1.7
available LLVM targets: xcore, x86-64, x86, wasm64, wasm32, ve, systemz, spirv, spirv64, spirv32, sparcel, sparcv9, sparc, riscv64be, riscv32be, riscv64, riscv32, ppc64le, ppc64, ppc32le, ppc32, nvptx64, nvptx, msp430, mips64el, mips64, mipsel, mips, loongarch64, loongarch32, lanai, hexagon, bpfeb, bpfel, bpf, avr, thumbeb, thumb, armeb, arm, amdgcn, r600, aarch64_32, aarch64_be, aarch64, arm64_32, arm64
Copyright 2020-2026 Hewlett Packard Enterprise Development LP
Copyright 2004-2019 Cray Inc.
(See LICENSE file for more details)
- Output of
$CHPL_HOME/util/printchplenv --anonymize:
CHPL_TARGET_PLATFORM: darwin
CHPL_TARGET_COMPILER: llvm
CHPL_TARGET_ARCH: arm64
CHPL_TARGET_CPU: native *
CHPL_LOCALE_MODEL: flat
CHPL_COMM: none *
CHPL_TASKS: qthreads
CHPL_LAUNCHER: none
CHPL_TIMERS: generic
CHPL_UNWIND: system
CHPL_TARGET_MEM: jemalloc
CHPL_ATOMICS: cstdlib
CHPL_GMP: system *
CHPL_HWLOC: bundled
CHPL_RE2: bundled *
CHPL_LLVM: system *
CHPL_AUX_FILESYS: none
- Back-end compiler and version, e.g.
gcc --versionorclang --version:
Apple clang version 21.0.0 (clang-2100.1.1.101)
Target: arm64-apple-darwin25.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin