From bbf4294a0210ee7d305057727d0ab73e66c32a94 Mon Sep 17 00:00:00 2001 From: Gil Forsyth Date: Thu, 12 Sep 2024 11:37:56 -0400 Subject: [PATCH] chore(deps): bump rich lower bound for docs/dev work (#10105) We are making use of the `code_width` kwarg to make the (intentional) exception raise in https://ibis-project.org/concepts/datatypes#broadcasting-and-alignment look nice -- for anyone _building_ the docs, they need to be on 13.8.0. --- conda/environment-arm64-flink.yml | 2 +- conda/environment-arm64.yml | 2 +- conda/environment.yml | 2 +- poetry.lock | 23 ++++++++++++++++++++--- pyproject.toml | 1 + requirements-dev.txt | 2 +- 6 files changed, 25 insertions(+), 7 deletions(-) diff --git a/conda/environment-arm64-flink.yml b/conda/environment-arm64-flink.yml index 158e5478bec4..f47491af7a52 100644 --- a/conda/environment-arm64-flink.yml +++ b/conda/environment-arm64-flink.yml @@ -42,7 +42,7 @@ dependencies: - pytz >=2022.7 - regex >=2021.7.6 - requests >=2 - - rich >=12.4.4 + - rich >=13.8.0 - shapely>=2,<3 - snowflake-connector-python >=3.0.2 - sqlglot >=22.5,<23.1 diff --git a/conda/environment-arm64.yml b/conda/environment-arm64.yml index ef0b5a58e007..d5f068f23420 100644 --- a/conda/environment-arm64.yml +++ b/conda/environment-arm64.yml @@ -43,7 +43,7 @@ dependencies: - pytz >=2022.7 - regex >=2021.7.6 - requests >=2 - - rich >=12.4.4 + - rich >=13.8.0 - shapely>=2,<3 - snowflake-connector-python >=3.0.2 - sqlglot >=22.5,<23.1 diff --git a/conda/environment.yml b/conda/environment.yml index 9a2ddfe085c1..6fc85b82288f 100644 --- a/conda/environment.yml +++ b/conda/environment.yml @@ -44,7 +44,7 @@ dependencies: - pytz >=2022.7 - regex >=2021.7.6 - requests >=2 - - rich >=12.4.4 + - rich >=13.8.0 - shapely >=2,<3 - snowflake-connector-python >=3.0.2 - sqlglot >=22.5,<23.1 diff --git a/poetry.lock b/poetry.lock index 6a5713884077..be3a0f54b29a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3725,6 +3725,7 @@ files = [ {file = "msgpack-1.0.8-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5fbb160554e319f7b22ecf530a80a3ff496d38e8e07ae763b9e82fadfe96f273"}, {file = "msgpack-1.0.8-cp39-cp39-win32.whl", hash = "sha256:f9af38a89b6a5c04b7d18c492c8ccf2aee7048aff1ce8437c4683bb5a1df893d"}, {file = "msgpack-1.0.8-cp39-cp39-win_amd64.whl", hash = "sha256:ed59dd52075f8fc91da6053b12e8c89e37aa043f8986efd89e61fae69dc1b011"}, + {file = "msgpack-1.0.8-py3-none-any.whl", hash = "sha256:24f727df1e20b9876fa6e95f840a2a2651e34c0ad147676356f4bf5fbb0206ca"}, {file = "msgpack-1.0.8.tar.gz", hash = "sha256:95c02b0e27e706e48d0e5426d1710ca78e0f0628d6e89d5b5a5b91a5f12274f3"}, ] @@ -4794,8 +4795,6 @@ files = [ {file = "psycopg2-2.9.9-cp310-cp310-win_amd64.whl", hash = "sha256:426f9f29bde126913a20a96ff8ce7d73fd8a216cfb323b1f04da402d452853c3"}, {file = "psycopg2-2.9.9-cp311-cp311-win32.whl", hash = "sha256:ade01303ccf7ae12c356a5e10911c9e1c51136003a9a1d92f7aa9d010fb98372"}, {file = "psycopg2-2.9.9-cp311-cp311-win_amd64.whl", hash = "sha256:121081ea2e76729acfb0673ff33755e8703d45e926e416cb59bae3a86c6a4981"}, - {file = "psycopg2-2.9.9-cp312-cp312-win32.whl", hash = "sha256:d735786acc7dd25815e89cc4ad529a43af779db2e25aa7c626de864127e5a024"}, - {file = "psycopg2-2.9.9-cp312-cp312-win_amd64.whl", hash = "sha256:a7653d00b732afb6fc597e29c50ad28087dcb4fbfb28e86092277a559ae4e693"}, {file = "psycopg2-2.9.9-cp37-cp37m-win32.whl", hash = "sha256:5e0d98cade4f0e0304d7d6f25bbfbc5bd186e07b38eac65379309c4ca3193efa"}, {file = "psycopg2-2.9.9-cp37-cp37m-win_amd64.whl", hash = "sha256:7e2dacf8b009a1c1e843b5213a87f7c544b2b042476ed7755be813eaf4e8347a"}, {file = "psycopg2-2.9.9-cp38-cp38-win32.whl", hash = "sha256:ff432630e510709564c01dafdbe996cb552e0b9f3f065eb89bdce5bd31fabf4c"}, @@ -6307,6 +6306,24 @@ pygments = ">=2.13.0,<3.0.0" [package.extras] jupyter = ["ipywidgets (>=7.5.1,<9)"] +[[package]] +name = "rich" +version = "13.8.1" +description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" +optional = false +python-versions = ">=3.7.0" +files = [ + {file = "rich-13.8.1-py3-none-any.whl", hash = "sha256:1760a3c0848469b97b558fc61c85233e3dafb69c7a071b4d60c38099d3cd4c06"}, + {file = "rich-13.8.1.tar.gz", hash = "sha256:8260cda28e3db6bf04d2d1ef4dbc03ba80a824c88b0e7668a0f23126a424844a"}, +] + +[package.dependencies] +markdown-it-py = ">=2.2.0" +pygments = ">=2.13.0,<3.0.0" + +[package.extras] +jupyter = ["ipywidgets (>=7.5.1,<9)"] + [[package]] name = "rpds-py" version = "0.20.0" @@ -7912,4 +7929,4 @@ visualization = ["graphviz"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "0576b4d813c6d84051784638b1e4fc3548cfc92fcfacf3e44f0719c046a44c36" +content-hash = "1f64949c6cf6f2152ad01446e2c1e04a6f073fb85f490fbb1b77b21611793cdf" diff --git a/pyproject.toml b/pyproject.toml index 4b85123d9a4a..2822910af5e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -136,6 +136,7 @@ plotnine = { version = ">=0.12.2,<1", python = ">=3.10,<3.13" } py-cpuinfo = { version = ">=9,<10", python = ">=3.10,<3.13" } quartodoc = { version = ">=0.6.1,<1", python = ">=3.10,<3.13" } requests = { version = ">=2,<3", python = ">=3.10,<3.13" } +rich = { version = ">13.8.0,<14", python = ">=3.10,<3.13" } scikit-learn = { version = ">=1.3,<2", python = ">=3.10,<3.13" } seaborn = { version = ">=0.12.2,<1", python = ">=3.10,<3.13" } lonboard = { version = "0.9.3", python = ">=3.10,<3.13" } diff --git a/requirements-dev.txt b/requirements-dev.txt index 837627c87c11..e41cd80130b6 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -238,7 +238,7 @@ requests-toolbelt==1.0.0 ; python_version >= "3.10" and python_version < "4.0" requests==2.32.3 ; python_version >= "3.10" and python_version < "4.0" rfc3339-validator==0.1.4 ; python_version >= "3.10" and python_version < "3.13" rfc3986-validator==0.1.1 ; python_version >= "3.10" and python_version < "3.13" -rich==13.8.0 ; python_version >= "3.10" and python_version < "4.0" +rich==13.8.1 ; python_version >= "3.10" and python_version < "4.0" rpds-py==0.20.0 ; python_version >= "3.10" and python_version < "3.13" rsa==4.9 ; python_version >= "3.10" and python_version < "4" ruff==0.6.4 ; python_version >= "3.10" and python_version < "4.0"