From 9c6b88c5edae1f5269e08eced5e68b436c2fc8b1 Mon Sep 17 00:00:00 2001 From: Michal Baumgartner Date: Mon, 10 Nov 2025 15:22:46 +0100 Subject: [PATCH 1/9] chore(dependencies): Downgrade matplotlib-inline for Python 3.10 --- poetry.lock | 36 ++++++++++++++++++++++-------------- pyproject.toml | 3 ++- 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/poetry.lock b/poetry.lock index 639c71e..8d0cfbe 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.2.0 and should not be changed by hand. [[package]] name = "alembic" @@ -2182,8 +2182,6 @@ files = [ {file = "greenlet-3.2.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c2ca18a03a8cfb5b25bc1cbe20f3d9a4c80d8c3b13ba3df49ac3961af0b1018d"}, {file = "greenlet-3.2.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:9fe0a28a7b952a21e2c062cd5756d34354117796c6d9215a87f55e38d15402c5"}, {file = "greenlet-3.2.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8854167e06950ca75b898b104b63cc646573aa5fef1353d4508ecdd1ee76254f"}, - {file = "greenlet-3.2.4-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f47617f698838ba98f4ff4189aef02e7343952df3a615f847bb575c3feb177a7"}, - {file = "greenlet-3.2.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:af41be48a4f60429d5cad9d22175217805098a9ef7c40bfef44f7669fb9d74d8"}, {file = "greenlet-3.2.4-cp310-cp310-win_amd64.whl", hash = "sha256:73f49b5368b5359d04e18d15828eecc1806033db5233397748f4ca813ff1056c"}, {file = "greenlet-3.2.4-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:96378df1de302bc38e99c3a9aa311967b7dc80ced1dcc6f171e99842987882a2"}, {file = "greenlet-3.2.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:1ee8fae0519a337f2329cb78bd7a8e128ec0f881073d43f023c7b8d4831d5246"}, @@ -2193,8 +2191,6 @@ files = [ {file = "greenlet-3.2.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2523e5246274f54fdadbce8494458a2ebdcdbc7b802318466ac5606d3cded1f8"}, {file = "greenlet-3.2.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:1987de92fec508535687fb807a5cea1560f6196285a4cde35c100b8cd632cc52"}, {file = "greenlet-3.2.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:55e9c5affaa6775e2c6b67659f3a71684de4c549b3dd9afca3bc773533d284fa"}, - {file = "greenlet-3.2.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c9c6de1940a7d828635fbd254d69db79e54619f165ee7ce32fda763a9cb6a58c"}, - {file = "greenlet-3.2.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:03c5136e7be905045160b1b9fdca93dd6727b180feeafda6818e6496434ed8c5"}, {file = "greenlet-3.2.4-cp311-cp311-win_amd64.whl", hash = "sha256:9c40adce87eaa9ddb593ccb0fa6a07caf34015a29bf8d344811665b573138db9"}, {file = "greenlet-3.2.4-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:3b67ca49f54cede0186854a008109d6ee71f66bd57bb36abd6d0a0267b540cdd"}, {file = "greenlet-3.2.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ddf9164e7a5b08e9d22511526865780a576f19ddd00d62f8a665949327fde8bb"}, @@ -2204,8 +2200,6 @@ files = [ {file = "greenlet-3.2.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3b3812d8d0c9579967815af437d96623f45c0f2ae5f04e366de62a12d83a8fb0"}, {file = "greenlet-3.2.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:abbf57b5a870d30c4675928c37278493044d7c14378350b3aa5d484fa65575f0"}, {file = "greenlet-3.2.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:20fb936b4652b6e307b8f347665e2c615540d4b42b3b4c8a321d8286da7e520f"}, - {file = "greenlet-3.2.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ee7a6ec486883397d70eec05059353b8e83eca9168b9f3f9a361971e77e0bcd0"}, - {file = "greenlet-3.2.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:326d234cbf337c9c3def0676412eb7040a35a768efc92504b947b3e9cfc7543d"}, {file = "greenlet-3.2.4-cp312-cp312-win_amd64.whl", hash = "sha256:a7d4e128405eea3814a12cc2605e0e6aedb4035bf32697f72deca74de4105e02"}, {file = "greenlet-3.2.4-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:1a921e542453fe531144e91e1feedf12e07351b1cf6c9e8a3325ea600a715a31"}, {file = "greenlet-3.2.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:cd3c8e693bff0fff6ba55f140bf390fa92c994083f838fece0f63be121334945"}, @@ -2215,8 +2209,6 @@ files = [ {file = "greenlet-3.2.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:23768528f2911bcd7e475210822ffb5254ed10d71f4028387e5a99b4c6699671"}, {file = "greenlet-3.2.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:00fadb3fedccc447f517ee0d3fd8fe49eae949e1cd0f6a611818f4f6fb7dc83b"}, {file = "greenlet-3.2.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:d25c5091190f2dc0eaa3f950252122edbbadbb682aa7b1ef2f8af0f8c0afefae"}, - {file = "greenlet-3.2.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6e343822feb58ac4d0a1211bd9399de2b3a04963ddeec21530fc426cc121f19b"}, - {file = "greenlet-3.2.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ca7f6f1f2649b89ce02f6f229d7c19f680a6238af656f61e0115b24857917929"}, {file = "greenlet-3.2.4-cp313-cp313-win_amd64.whl", hash = "sha256:554b03b6e73aaabec3745364d6239e9e012d64c68ccd0b8430c64ccc14939a8b"}, {file = "greenlet-3.2.4-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:49a30d5fda2507ae77be16479bdb62a660fa51b1eb4928b524975b3bde77b3c0"}, {file = "greenlet-3.2.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:299fd615cd8fc86267b47597123e3f43ad79c9d8a22bebdce535e53550763e2f"}, @@ -2224,8 +2216,6 @@ files = [ {file = "greenlet-3.2.4-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:b4a1870c51720687af7fa3e7cda6d08d801dae660f75a76f3845b642b4da6ee1"}, {file = "greenlet-3.2.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:061dc4cf2c34852b052a8620d40f36324554bc192be474b9e9770e8c042fd735"}, {file = "greenlet-3.2.4-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:44358b9bf66c8576a9f57a590d5f5d6e72fa4228b763d0e43fee6d3b06d3a337"}, - {file = "greenlet-3.2.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:2917bdf657f5859fbf3386b12d68ede4cf1f04c90c3a6bc1f013dd68a22e2269"}, - {file = "greenlet-3.2.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:015d48959d4add5d6c9f6c5210ee3803a830dce46356e3bc326d6776bde54681"}, {file = "greenlet-3.2.4-cp314-cp314-win_amd64.whl", hash = "sha256:e37ab26028f12dbb0ff65f29a8d3d44a765c61e729647bf2ddfbbed621726f01"}, {file = "greenlet-3.2.4-cp39-cp39-macosx_11_0_universal2.whl", hash = "sha256:b6a7c19cf0d2742d0809a4c05975db036fdff50cd294a93632d6a310bf9ac02c"}, {file = "greenlet-3.2.4-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:27890167f55d2387576d1f41d9487ef171849ea0359ce1510ca6e06c8bece11d"}, @@ -2235,8 +2225,6 @@ files = [ {file = "greenlet-3.2.4-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c9913f1a30e4526f432991f89ae263459b1c64d1608c0d22a5c79c287b3c70df"}, {file = "greenlet-3.2.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:b90654e092f928f110e0007f572007c9727b5265f7632c2fa7415b4689351594"}, {file = "greenlet-3.2.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:81701fd84f26330f0d5f4944d4e92e61afe6319dcd9775e39396e39d7c3e5f98"}, - {file = "greenlet-3.2.4-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:28a3c6b7cd72a96f61b0e4b2a36f681025b60ae4779cc73c1535eb5f29560b10"}, - {file = "greenlet-3.2.4-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:52206cd642670b0b320a1fd1cbfd95bca0e043179c1d8a045f2c6109dfe973be"}, {file = "greenlet-3.2.4-cp39-cp39-win32.whl", hash = "sha256:65458b409c1ed459ea899e939f0e1cdb14f58dbc803f2f93c5eab5694d32671b"}, {file = "greenlet-3.2.4-cp39-cp39-win_amd64.whl", hash = "sha256:d2e685ade4dafd447ede19c31277a224a239a0a1a4eca4e6390efedf20260cfb"}, {file = "greenlet-3.2.4.tar.gz", hash = "sha256:0dca0d95ff849f9a364385f36ab49f50065d76964944638be9691e1832e9f86d"}, @@ -3124,6 +3112,7 @@ description = "Inline Matplotlib backend for Jupyter" optional = false python-versions = ">=3.8" groups = ["main"] +markers = "python_version < \"3.11\"" files = [ {file = "matplotlib_inline-0.1.7-py3-none-any.whl", hash = "sha256:df192d39a4ff8f21b1895d72e6a13f5fcc5099f00fa84384e0ea28c2cc0653ca"}, {file = "matplotlib_inline-0.1.7.tar.gz", hash = "sha256:8423b23ec666be3d16e16b60bdd8ac4e86e840ebd1dd11a30b9f117f2fa0ab90"}, @@ -3132,6 +3121,25 @@ files = [ [package.dependencies] traitlets = "*" +[[package]] +name = "matplotlib-inline" +version = "0.2.1" +description = "Inline Matplotlib backend for Jupyter" +optional = false +python-versions = ">=3.9" +groups = ["main"] +markers = "python_version >= \"3.11\" and python_version < \"3.13\" or python_version == \"3.13\"" +files = [ + {file = "matplotlib_inline-0.2.1-py3-none-any.whl", hash = "sha256:d56ce5156ba6085e00a9d54fead6ed29a9c47e215cd1bba2e976ef39f5710a76"}, + {file = "matplotlib_inline-0.2.1.tar.gz", hash = "sha256:e1ee949c340d771fc39e241ea75683deb94762c8fa5f2927ec57c83c4dffa9fe"}, +] + +[package.dependencies] +traitlets = "*" + +[package.extras] +test = ["flake8", "nbdime", "nbval", "notebook", "pytest"] + [[package]] name = "mccabe" version = "0.7.0" @@ -7383,4 +7391,4 @@ server = ["deepnote-python-lsp-server", "jupyter-resource-usage", "jupyter-serve [metadata] lock-version = "2.1" python-versions = ">=3.9.0,<3.14,!=3.9.7" -content-hash = "9cfe3892a9801c543458e56e0d3ce6eefe620f2f6c08357977611d13e1fd0762" +content-hash = "46d0f1d9d03635d0eb606587cac08b906cd7ce33bcc39aa453c990ba4dc43685" diff --git a/pyproject.toml b/pyproject.toml index e9b676f..78c60ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -124,6 +124,8 @@ dependencies = [ # so we keep vl-convert version pinned as well "vl-convert-python==1.7.0", "deepnote-vegafusion>=2.0.8,<3", + "matplotlib-inline>=0.1.6,<0.2.0; python_version <= '3.10'", # 0.2.0 is not compatible with matplotlib 3.6.3 + "matplotlib-inline>=0.2.1; python_version >= '3.11'", # Security constraint updates for transitive dependencies # snowflake-connector-python 4.0.0+ supports urllib3 2.x for Python 3.10+ @@ -142,7 +144,6 @@ dependencies = [ "pyyaml>=6,<7", "tomli>=2,<3; python_version < '3.11'", "toml>=0.10.0,<1.0.0", - "toml>=0.10.0,<1.0.0", # Compatibility constraints for transitive dependencies "grpcio>=1.66.2; python_version >= '3.13'", From b261633911aea127294b25226883ff8843c0351e Mon Sep 17 00:00:00 2001 From: Michal Baumgartner Date: Mon, 10 Nov 2025 15:39:57 +0100 Subject: [PATCH 2/9] fix: Ignore matplotlib-inline unknown license --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81e283f..db66666 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,7 +139,7 @@ jobs: # Only allow licenses compatible with Apache 2.0 (allowlist approach) # Ignored packages either have UNKNOWN licenses or not distributed - poetry run pip-licenses --allow-only "Apache;MIT;BSD;ISC;Unlicense;CC0;Public Domain;Python Software Foundation;Mozilla Public License 2.0;GNU Library or Lesser General Public License (LGPL)" --partial-match --ignore-packages arro3-core click dependency-groups Flask jeepney jupyter_core MarkupSafe more-itertools pymssql PyMySQL SecretStorage sqlalchemy-spanner typing-extensions typing-inspection urllib3 + poetry run pip-licenses --allow-only "Apache;MIT;BSD;ISC;Unlicense;CC0;Public Domain;Python Software Foundation;Mozilla Public License 2.0;GNU Library or Lesser General Public License (LGPL)" --partial-match --ignore-packages arro3-core click dependency-groups Flask jeepney jupyter_core matplotlib-inline MarkupSafe more-itertools pymssql PyMySQL SecretStorage sqlalchemy-spanner typing-extensions typing-inspection urllib3 echo "✅ All licenses are compatible with Apache 2.0" From 0621ecece967fa65a00f54c0b395ed4370cbd12b Mon Sep 17 00:00:00 2001 From: Michal Baumgartner Date: Mon, 10 Nov 2025 15:40:20 +0100 Subject: [PATCH 3/9] chore: Bump Poetry to v2.2.1 (from v2.2.0) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db66666..00a26c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: - POETRY_VERSION: "2.2.0" + POETRY_VERSION: "2.2.1" POETRY_VIRTUALENVS_CREATE: true POETRY_VIRTUALENVS_IN_PROJECT: true POETRY_INSTALLER_PARALLEL: true From 15390378d6023eb3776c1606c65ae6017cada980 Mon Sep 17 00:00:00 2001 From: Michal Baumgartner Date: Mon, 10 Nov 2025 16:03:37 +0100 Subject: [PATCH 4/9] test: Downgrade matplotlib-inline to 0.1 for all Python versions --- poetry.lock | 22 +--------------------- pyproject.toml | 3 +-- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/poetry.lock b/poetry.lock index 8d0cfbe..16fd3d8 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3112,7 +3112,6 @@ description = "Inline Matplotlib backend for Jupyter" optional = false python-versions = ">=3.8" groups = ["main"] -markers = "python_version < \"3.11\"" files = [ {file = "matplotlib_inline-0.1.7-py3-none-any.whl", hash = "sha256:df192d39a4ff8f21b1895d72e6a13f5fcc5099f00fa84384e0ea28c2cc0653ca"}, {file = "matplotlib_inline-0.1.7.tar.gz", hash = "sha256:8423b23ec666be3d16e16b60bdd8ac4e86e840ebd1dd11a30b9f117f2fa0ab90"}, @@ -3121,25 +3120,6 @@ files = [ [package.dependencies] traitlets = "*" -[[package]] -name = "matplotlib-inline" -version = "0.2.1" -description = "Inline Matplotlib backend for Jupyter" -optional = false -python-versions = ">=3.9" -groups = ["main"] -markers = "python_version >= \"3.11\" and python_version < \"3.13\" or python_version == \"3.13\"" -files = [ - {file = "matplotlib_inline-0.2.1-py3-none-any.whl", hash = "sha256:d56ce5156ba6085e00a9d54fead6ed29a9c47e215cd1bba2e976ef39f5710a76"}, - {file = "matplotlib_inline-0.2.1.tar.gz", hash = "sha256:e1ee949c340d771fc39e241ea75683deb94762c8fa5f2927ec57c83c4dffa9fe"}, -] - -[package.dependencies] -traitlets = "*" - -[package.extras] -test = ["flake8", "nbdime", "nbval", "notebook", "pytest"] - [[package]] name = "mccabe" version = "0.7.0" @@ -7391,4 +7371,4 @@ server = ["deepnote-python-lsp-server", "jupyter-resource-usage", "jupyter-serve [metadata] lock-version = "2.1" python-versions = ">=3.9.0,<3.14,!=3.9.7" -content-hash = "46d0f1d9d03635d0eb606587cac08b906cd7ce33bcc39aa453c990ba4dc43685" +content-hash = "96e41a399930fa03f34228c128dcd10d5729e8d644165fa43efb3fc2896315fb" diff --git a/pyproject.toml b/pyproject.toml index 78c60ee..92d3a22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -124,8 +124,7 @@ dependencies = [ # so we keep vl-convert version pinned as well "vl-convert-python==1.7.0", "deepnote-vegafusion>=2.0.8,<3", - "matplotlib-inline>=0.1.6,<0.2.0; python_version <= '3.10'", # 0.2.0 is not compatible with matplotlib 3.6.3 - "matplotlib-inline>=0.2.1; python_version >= '3.11'", + "matplotlib-inline>=0.1.7,<0.2.0", # 0.2.0 is not compatible with matplotlib 3.6.3 # Security constraint updates for transitive dependencies # snowflake-connector-python 4.0.0+ supports urllib3 2.x for Python 3.10+ From 253ddf9ba4caf19264963ab642e373c79a337e5f Mon Sep 17 00:00:00 2001 From: Michal Baumgartner Date: Mon, 10 Nov 2025 16:06:40 +0100 Subject: [PATCH 5/9] test: Remove matplotlib-inline to see if CI works correctly --- poetry.lock | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index 16fd3d8..dcb32c3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -7371,4 +7371,4 @@ server = ["deepnote-python-lsp-server", "jupyter-resource-usage", "jupyter-serve [metadata] lock-version = "2.1" python-versions = ">=3.9.0,<3.14,!=3.9.7" -content-hash = "96e41a399930fa03f34228c128dcd10d5729e8d644165fa43efb3fc2896315fb" +content-hash = "de7fbead2b46e80f2f0ff9f5bb32f10fd90f25fbfb8c824fa1296bd1d6d123ec" diff --git a/pyproject.toml b/pyproject.toml index 92d3a22..aade06d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -124,7 +124,7 @@ dependencies = [ # so we keep vl-convert version pinned as well "vl-convert-python==1.7.0", "deepnote-vegafusion>=2.0.8,<3", - "matplotlib-inline>=0.1.7,<0.2.0", # 0.2.0 is not compatible with matplotlib 3.6.3 + # "matplotlib-inline>=0.1.7,<0.2.0", # 0.2.0 is not compatible with matplotlib 3.6.3 # Security constraint updates for transitive dependencies # snowflake-connector-python 4.0.0+ supports urllib3 2.x for Python 3.10+ From 59388e5f5acf299dfd38b5d1fcc3771da19322c7 Mon Sep 17 00:00:00 2001 From: Michal Baumgartner Date: Mon, 10 Nov 2025 16:19:10 +0100 Subject: [PATCH 6/9] test: Downgrade to Poetry 2.1.4 --- .github/workflows/ci.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00a26c0..a4f4981 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: - POETRY_VERSION: "2.2.1" + POETRY_VERSION: "2.1.4" POETRY_VIRTUALENVS_CREATE: true POETRY_VIRTUALENVS_IN_PROJECT: true POETRY_INSTALLER_PARALLEL: true diff --git a/pyproject.toml b/pyproject.toml index aade06d..2786847 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -212,7 +212,7 @@ license-check = [ ] [tool.poetry] -requires-poetry = ">=2.2" +requires-poetry = ">=2.1" packages = [ {include = "deepnote_toolkit"}, {include = "deepnote_core"}, From 66b535569b86392854cc0b455737cc7f2f09075d Mon Sep 17 00:00:00 2001 From: Michal Baumgartner Date: Mon, 10 Nov 2025 17:31:42 +0100 Subject: [PATCH 7/9] test: Pin importlib-metadata for Python 3.9 --- .github/workflows/ci.yml | 6 +++++- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4f4981..2df077b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: - POETRY_VERSION: "2.1.4" + POETRY_VERSION: "2.2.1" POETRY_VIRTUALENVS_CREATE: true POETRY_VIRTUALENVS_IN_PROJECT: true POETRY_INSTALLER_PARALLEL: true @@ -171,6 +171,10 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Constrain importlib-metadata for Python 3.9 + if: matrix.python-version == '3.9' + run: pip install 'importlib-metadata<8.7' + - name: Install Poetry uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1 with: diff --git a/pyproject.toml b/pyproject.toml index 2786847..aade06d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -212,7 +212,7 @@ license-check = [ ] [tool.poetry] -requires-poetry = ">=2.1" +requires-poetry = ">=2.2" packages = [ {include = "deepnote_toolkit"}, {include = "deepnote_core"}, From 36af290ebc261015a561078b8b13cb3f7de656db Mon Sep 17 00:00:00 2001 From: Michal Baumgartner Date: Mon, 10 Nov 2025 18:08:28 +0100 Subject: [PATCH 8/9] fix: Revert failed importlib-metadata downgrade --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2df077b..db66666 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: - POETRY_VERSION: "2.2.1" + POETRY_VERSION: "2.2.0" POETRY_VIRTUALENVS_CREATE: true POETRY_VIRTUALENVS_IN_PROJECT: true POETRY_INSTALLER_PARALLEL: true @@ -171,10 +171,6 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Constrain importlib-metadata for Python 3.9 - if: matrix.python-version == '3.9' - run: pip install 'importlib-metadata<8.7' - - name: Install Poetry uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1 with: From 4e5b51a43466636602046455fc38fb0cbd4224e2 Mon Sep 17 00:00:00 2001 From: Michal Baumgartner Date: Tue, 11 Nov 2025 17:29:18 +0100 Subject: [PATCH 9/9] fix: Revert changes after Poetry installation step now succeeds --- poetry.lock | 22 +++++++++++++++++++++- pyproject.toml | 3 ++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index dcb32c3..93c3675 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3112,6 +3112,7 @@ description = "Inline Matplotlib backend for Jupyter" optional = false python-versions = ">=3.8" groups = ["main"] +markers = "python_version < \"3.11\"" files = [ {file = "matplotlib_inline-0.1.7-py3-none-any.whl", hash = "sha256:df192d39a4ff8f21b1895d72e6a13f5fcc5099f00fa84384e0ea28c2cc0653ca"}, {file = "matplotlib_inline-0.1.7.tar.gz", hash = "sha256:8423b23ec666be3d16e16b60bdd8ac4e86e840ebd1dd11a30b9f117f2fa0ab90"}, @@ -3120,6 +3121,25 @@ files = [ [package.dependencies] traitlets = "*" +[[package]] +name = "matplotlib-inline" +version = "0.2.1" +description = "Inline Matplotlib backend for Jupyter" +optional = false +python-versions = ">=3.9" +groups = ["main"] +markers = "python_version >= \"3.11\" and python_version < \"3.13\" or python_version == \"3.13\"" +files = [ + {file = "matplotlib_inline-0.2.1-py3-none-any.whl", hash = "sha256:d56ce5156ba6085e00a9d54fead6ed29a9c47e215cd1bba2e976ef39f5710a76"}, + {file = "matplotlib_inline-0.2.1.tar.gz", hash = "sha256:e1ee949c340d771fc39e241ea75683deb94762c8fa5f2927ec57c83c4dffa9fe"}, +] + +[package.dependencies] +traitlets = "*" + +[package.extras] +test = ["flake8", "nbdime", "nbval", "notebook", "pytest"] + [[package]] name = "mccabe" version = "0.7.0" @@ -7371,4 +7391,4 @@ server = ["deepnote-python-lsp-server", "jupyter-resource-usage", "jupyter-serve [metadata] lock-version = "2.1" python-versions = ">=3.9.0,<3.14,!=3.9.7" -content-hash = "de7fbead2b46e80f2f0ff9f5bb32f10fd90f25fbfb8c824fa1296bd1d6d123ec" +content-hash = "36c79326793c8e8fa75607272719f97ae01261a6911883c3c99c2255d5ea26dc" diff --git a/pyproject.toml b/pyproject.toml index aade06d..5cd5264 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -124,7 +124,8 @@ dependencies = [ # so we keep vl-convert version pinned as well "vl-convert-python==1.7.0", "deepnote-vegafusion>=2.0.8,<3", - # "matplotlib-inline>=0.1.7,<0.2.0", # 0.2.0 is not compatible with matplotlib 3.6.3 + "matplotlib-inline>=0.1.7,<0.2.0; python_version <= '3.10'", # 0.2.0 is not compatible with matplotlib 3.6.3 on Python <=3.10 + "matplotlib-inline>=0.2.1,<0.3.0; python_version >= '3.11'", # Security constraint updates for transitive dependencies # snowflake-connector-python 4.0.0+ supports urllib3 2.x for Python 3.10+