From f8ce8768f296717c72b3910eee7bd5ac5223cdb9 Mon Sep 17 00:00:00 2001 From: William Boman Date: Fri, 31 May 2024 07:37:09 +0200 Subject: fix(pypi): exclude python3.12 from candidate list (#1722) Support for python3.12 among pypi packages is pretty poor, this limits the upper bound to python3.11 instead. --- tests/mason-core/installer/managers/pypi_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/mason-core/installer/managers/pypi_spec.lua b/tests/mason-core/installer/managers/pypi_spec.lua index 4eff4092..df979fe9 100644 --- a/tests/mason-core/installer/managers/pypi_spec.lua +++ b/tests/mason-core/installer/managers/pypi_spec.lua @@ -20,7 +20,7 @@ end describe("pypi manager", function() before_each(function() stub(spawn, "python3", mockx.returns(Result.success())) - spawn.python3.on_call_with({ "--version" }).returns(Result.success { stdout = "Python 3.12.0" }) + spawn.python3.on_call_with({ "--version" }).returns(Result.success { stdout = "Python 3.11.0" }) end) it("should init venv without upgrading pip", function() -- cgit v1.2.3-70-g09d2