Skip to content

Commit

Permalink
Prepare for v3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Nov 27, 2023
1 parent 9b0ee55 commit c14014a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion coconut/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ def get_path_env_var(env_var, default):
("pytest", "py36"): (7,),
("async_generator", "py35"): (1, 10),
("exceptiongroup", "py37;py<311"): (1,),
("ipython", "py>=39"): (8, 17),
("ipython", "py>=39"): (8, 18),
"py-spy": (0, 3),
}

Expand Down
4 changes: 2 additions & 2 deletions coconut/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
VERSION = "3.0.4"
VERSION_NAME = None
# False for release, int >= 1 for develop
DEVELOP = 4
ALPHA = True # for pre releases rather than post releases
DEVELOP = False
ALPHA = False # for pre releases rather than post releases

assert DEVELOP is False or DEVELOP >= 1, "DEVELOP must be False or an int >= 1"
assert DEVELOP or not ALPHA, "alpha releases are only for develop"
Expand Down
1 change: 1 addition & 0 deletions coconut/tests/src/extras.coco
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def f() =
assert_raises(-> parse("return = 1"), CoconutParseError, err_has='invalid use of the keyword "return"')
assert_raises(-> parse("if a = b: pass"), CoconutParseError, err_has="misplaced assignment")
assert_raises(-> parse("while a == b"), CoconutParseError, err_has="misplaced newline")
assert_raises(-> parse("0xfgf"), CoconutParseError, err_has=" \~~^")

try:
parse("""
Expand Down

0 comments on commit c14014a

Please sign in to comment.