diff options
| author | William Boman <william@redwill.se> | 2024-05-31 07:37:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-31 07:37:09 +0200 |
| commit | f8ce8768f296717c72b3910eee7bd5ac5223cdb9 (patch) | |
| tree | d8a689050359daae07a0bf4286e2538e860ff364 /tests | |
| parent | fix(registry): exhaust streaming parser when loading "file:" registries (#1708) (diff) | |
| download | mason-f8ce8768f296717c72b3910eee7bd5ac5223cdb9.tar mason-f8ce8768f296717c72b3910eee7bd5ac5223cdb9.tar.gz mason-f8ce8768f296717c72b3910eee7bd5ac5223cdb9.tar.bz2 mason-f8ce8768f296717c72b3910eee7bd5ac5223cdb9.tar.lz mason-f8ce8768f296717c72b3910eee7bd5ac5223cdb9.tar.xz mason-f8ce8768f296717c72b3910eee7bd5ac5223cdb9.tar.zst mason-f8ce8768f296717c72b3910eee7bd5ac5223cdb9.zip | |
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.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/mason-core/installer/managers/pypi_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
