Skip to content

Commit 7c193ca

Browse files
authored
chore(dependencies): Downgrade matplotlib-inline for Python 3.10 (#26)
* chore(dependencies): Downgrade matplotlib-inline for Python 3.10 * fix: Ignore matplotlib-inline unknown license * chore: Bump Poetry to v2.2.1 (from v2.2.0) * test: Downgrade matplotlib-inline to 0.1 for all Python versions * test: Remove matplotlib-inline to see if CI works correctly * test: Downgrade to Poetry 2.1.4 * test: Pin importlib-metadata for Python 3.9 * fix: Revert failed importlib-metadata downgrade * fix: Revert changes after Poetry installation step now succeeds
1 parent 7d91cd6 commit 7c193ca

File tree

3 files changed

+25
-16
lines changed

3 files changed

+25
-16
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
140140
# Only allow licenses compatible with Apache 2.0 (allowlist approach)
141141
# Ignored packages either have UNKNOWN licenses or not distributed
142-
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
142+
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
143143
144144
echo "✅ All licenses are compatible with Apache 2.0"
145145

poetry.lock

Lines changed: 22 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ dependencies = [
124124
# so we keep vl-convert version pinned as well
125125
"vl-convert-python==1.7.0",
126126
"deepnote-vegafusion>=2.0.8,<3",
127+
"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
128+
"matplotlib-inline>=0.2.1,<0.3.0; python_version >= '3.11'",
127129

128130
# Security constraint updates for transitive dependencies
129131
# snowflake-connector-python 4.0.0+ supports urllib3 2.x for Python 3.10+
@@ -142,7 +144,6 @@ dependencies = [
142144
"pyyaml>=6,<7",
143145
"tomli>=2,<3; python_version < '3.11'",
144146
"toml>=0.10.0,<1.0.0",
145-
"toml>=0.10.0,<1.0.0",
146147

147148
# Compatibility constraints for transitive dependencies
148149
"grpcio>=1.66.2; python_version >= '3.13'",

0 commit comments

Comments
 (0)