Skip to content

Commit 971b701

Browse files
committed
Update dependencies
1 parent 9fc2a46 commit 971b701

File tree

3 files changed

+24
-20
lines changed

3 files changed

+24
-20
lines changed

.claude/settings.local.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"Bash(make test:*)",
77
"Bash(python:*)",
88
"Bash(xonsh:*)",
9-
"WebFetch(domain:coconut.readthedocs.io)"
9+
"WebFetch(domain:coconut.readthedocs.io)",
10+
"WebFetch(domain:github.com)"
1011
]
1112
}
1213
}

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
44

55
## Project Overview
6-
Coconut is a functional programming language that compiles to Python. It adds features like pattern matching, algebraic data types, partial application, pipeline operators, and lazy evaluation on top of Python syntax. The compiler performs one-pass compilation using PyParsing.
6+
Coconut is a functional programming language that compiles to Python. It adds features like pattern matching, algebraic data types, partial application, pipeline operators, and lazy evaluation on top of Python syntax. The compiler performs one-pass compilation using PyParsing. If you are ever uncertain about what the intended behavior should be, refer to the documentation in DOCS.md.
77

88
## Common Commands
99

coconut/constants.py

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -983,19 +983,20 @@ def get_path_env_var(env_var, default):
983983
("ipython", "py>=310"),
984984
("ipykernel", "py<3"),
985985
("ipykernel", "py3;py<38"),
986-
("ipykernel", "py38"),
986+
("ipykernel", "py>=38;py<310"),
987+
("ipykernel", "py>=310"),
987988
("jupyter-client", "py<35"),
988989
("jupyter-client", "py==35"),
989-
("jupyter-client", "py36"),
990+
("jupyter-client", "py>=36"),
990991
("jedi", "py<39"),
991-
("jedi", "py39"),
992+
("jedi", "py>=39"),
992993
("pywinpty", "py<3;windows"),
993994
),
994995
"jupyter": (
995996
"jupyter",
996997
("jupyter-console", "py<35"),
997998
("jupyter-console", "py>=35;py<37"),
998-
("jupyter-console", "py37"),
999+
("jupyter-console", "py>=37"),
9991000
"papermill",
10001001
),
10011002
"jupyterlab": (
@@ -1041,14 +1042,14 @@ def get_path_env_var(env_var, default):
10411042
"numpy": (
10421043
("numpy", "py<3;cpy"),
10431044
("numpy", "py34;py<39"),
1044-
("numpy", "py39"),
1045+
("numpy", "py>=39"),
10451046
("pandas", "py36"),
10461047
("xarray", "py39"),
10471048
),
10481049
"tests": (
10491050
("pytest", "py<36"),
10501051
("pytest", "py>=36;py<38"),
1051-
("pytest", "py38"),
1052+
("pytest", "py>=38"),
10521053
"pexpect",
10531054
"pytest_remotedata", # fixes a pytest error
10541055
),
@@ -1068,36 +1069,38 @@ def get_path_env_var(env_var, default):
10681069
"requests": (2, 32),
10691070
("xarray", "py39"): (2025,),
10701071
("dataclasses", "py==36"): (0, 8),
1071-
("aenum", "py<34"): (3, 1, 15),
1072+
("aenum", "py<34"): (3, 1, 16),
10721073
"pydata-sphinx-theme": (0, 16),
10731074
"myst-parser": (4,),
1074-
"sphinx": (8,),
10751075
"sphinxcontrib_applehelp": (2,),
10761076
"sphinxcontrib_htmlhelp": (2,),
1077-
"mypy[python2]": (1, 15),
1077+
"mypy[python2]": (1, 19),
10781078
"pyright": (1, 1),
1079-
("jupyter-console", "py37"): (6, 6),
1079+
("jupyter-console", "py>=37"): (6, 6),
10801080
("typing", "py<35"): (3, 10),
1081-
("typing_extensions", "py>=38"): (4, 13),
1082-
("ipykernel", "py38"): (6,),
1083-
("jedi", "py39"): (0, 19),
1081+
("typing_extensions", "py>=38"): (4, 14),
1082+
("ipykernel", "py>=310"): (7,),
1083+
("jedi", "py>=39"): (0, 19),
10841084
("pygments", "py>=39"): (2, 19),
1085-
("xonsh", "py39"): (0, 19),
1085+
("xonsh", "py39"): (0, 22),
10861086
("async_generator", "py35"): (1, 10),
10871087
("exceptiongroup", "py37;py<311"): (1,),
10881088
("ipython", "py>=310"): (9,),
10891089
"py-spy": (0, 4),
10901090
}
10911091

10921092
pinned_min_versions = {
1093+
# don't upgrade this; it breaks myst-parser
1094+
"sphinx": (8,),
10931095
# don't upgrade this; some extensions implicitly require numpy<2
1094-
("numpy", "py39"): (1, 26),
1096+
("numpy", "py>=39"): (1, 26),
10951097
# don't upgrade this; it breaks xonsh
1096-
("pytest", "py38"): (8, 0),
1098+
("pytest", "py>=38"): (8, 0),
10971099
# don't upgrade these; they break on Python 3.9
10981100
("numpy", "py34;py<39"): (1, 18),
10991101
("ipython", "py==39"): (8, 18),
11001102
# don't upgrade these; they break on Python 3.8
1103+
("ipykernel", "py>=38;py<310"): (6,),
11011104
("ipython", "py==38"): (8, 12),
11021105
# don't upgrade these; they break on Python 3.7
11031106
("ipython", "py==37"): (7, 34),
@@ -1106,7 +1109,7 @@ def get_path_env_var(env_var, default):
11061109
("anyio", "py36"): (3,),
11071110
("xonsh", "py>=36;py<39"): (0, 11),
11081111
("pandas", "py36"): (1, 1),
1109-
("jupyter-client", "py36"): (7, 1, 2),
1112+
("jupyter-client", "py>=36"): (7, 1, 2),
11101113
("typing_extensions", "py==36"): (4, 1),
11111114
("pytest", "py>=36;py<38"): (7,),
11121115
# don't upgrade these; they break on Python 3.5
@@ -1161,7 +1164,7 @@ def get_path_env_var(env_var, default):
11611164
("jedi", "py<39"): _,
11621165
("pywinpty", "py<3;windows"): _,
11631166
("ipython", "py3;py<37"): _,
1164-
("pytest", "py38"): _,
1167+
("pytest", "py>=38"): _,
11651168
}
11661169

11671170
classifiers = (

0 commit comments

Comments
 (0)