Skip to content

Commit

Permalink
Fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Nov 17, 2023
1 parent cd7d9d8 commit 71c2659
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions coconut/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def get_path_env_var(env_var, default):
PY39 = sys.version_info >= (3, 9)
PY310 = sys.version_info >= (3, 10)
PY311 = sys.version_info >= (3, 11)
PY312 = sys.version_info >= (3, 12)
IPY = (
PY35
and (PY37 or not PYPY)
Expand All @@ -91,6 +92,8 @@ def get_path_env_var(env_var, default):
PY38
and not WINDOWS
and not PYPY
# disabled until MyPy supports PEP 695
and not PY312
)
XONSH = (
PY35
Expand Down Expand Up @@ -997,7 +1000,7 @@ def get_path_env_var(env_var, default):

# min versions are inclusive
unpinned_min_versions = {
"cPyparsing": (2, 4, 7, 2, 2, 8),
"cPyparsing": (2, 4, 7, 2, 2, 9),
("pre-commit", "py3"): (3,),
("psutil", "py>=27"): (5,),
"jupyter": (1, 0),
Expand All @@ -1014,7 +1017,7 @@ def get_path_env_var(env_var, default):
"pydata-sphinx-theme": (0, 14),
"myst-parser": (2,),
"sphinx": (7,),
"mypy[python2]": (1, 6),
"mypy[python2]": (1, 7),
("jupyter-console", "py37"): (6, 6),
("typing", "py<35"): (3, 10),
("typing_extensions", "py>=38"): (4, 8),
Expand All @@ -1025,9 +1028,8 @@ 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, 16),
("ipython", "py>=39"): (8, 17),
"py-spy": (0, 3),
("anyio", "py36"): (3,),
}

pinned_min_versions = {
Expand All @@ -1039,6 +1041,7 @@ def get_path_env_var(env_var, default):
("ipython", "py==37"): (7, 34),
("typing_extensions", "py==37"): (4, 7),
# don't upgrade these; they break on Python 3.6
("anyio", "py36"): (3,),
("xonsh", "py>=36;py<38"): (0, 11),
("pandas", "py36"): (1,),
("jupyter-client", "py36"): (7, 1, 2),
Expand Down Expand Up @@ -1088,7 +1091,7 @@ def get_path_env_var(env_var, default):
max_versions = {
("jupyter-client", "py==35"): _,
"pyparsing": _,
"cPyparsing": (_, _, _),
"cPyparsing": (_, _, _, _, _,),
("prompt_toolkit", "py<3"): _,
("jedi", "py<39"): _,
("pywinpty", "py<3;windows"): _,
Expand Down

0 comments on commit 71c2659

Please sign in to comment.