From 6209916795ecf233560fb59018fa46fd78d3f0ac Mon Sep 17 00:00:00 2001 From: Nikhil Rao Date: Tue, 16 May 2023 17:07:18 -0700 Subject: [PATCH] Update max bun version (#1038) --- pynecone/constants.py | 2 +- tests/test_utils.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pynecone/constants.py b/pynecone/constants.py index 5fab3a8fb..04b9c701f 100644 --- a/pynecone/constants.py +++ b/pynecone/constants.py @@ -17,7 +17,7 @@ MIN_NODE_VERSION = "16.6.0" # Valid bun versions. MIN_BUN_VERSION = "0.5.9" -MAX_BUN_VERSION = "0.5.9" +MAX_BUN_VERSION = "0.6.1" # Files and directories used to init a new project. # The root directory of the pynecone library. diff --git a/tests/test_utils.py b/tests/test_utils.py index c22451ca0..181269028 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -14,7 +14,7 @@ from pynecone.vars import Var V055 = version.parse("0.5.5") V059 = version.parse("0.5.9") V056 = version.parse("0.5.6") -V0510 = version.parse("0.5.10") +V062 = version.parse("0.6.2") @pytest.mark.parametrize( @@ -246,7 +246,7 @@ def test_format_route(route: str, expected: bool): [ (V055, False, "yes"), (V059, True, None), - (V0510, False, "yes"), + (V062, False, "yes"), ], ) def test_bun_validate_and_install(mocker, bun_version, is_valid, prompt_input):