This is an automated email from the ASF dual-hosted git repository.
yzheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new 9cb70ab32 Fix client license check (#2642)
9cb70ab32 is described below
commit 9cb70ab32629c7d6ba4b28668044f99b73c5fc2f
Author: Yong Zheng <[email protected]>
AuthorDate: Sat Sep 20 21:56:15 2025 -0500
Fix client license check (#2642)
---
client/python/pyproject.toml | 29 ++---------------------------
1 file changed, 2 insertions(+), 27 deletions(-)
diff --git a/client/python/pyproject.toml b/client/python/pyproject.toml
index 7a52373e6..41473e374 100644
--- a/client/python/pyproject.toml
+++ b/client/python/pyproject.toml
@@ -62,40 +62,15 @@ mypy = ">=1.18, <=1.18.2"
pyiceberg = "==0.10.0"
pre-commit = "==4.3.0"
openapi-generator-cli = "==7.11.0.post0"
-pip-licenses = "==5.0.0"
+pip-licenses-cli = "==v2.0.0"
# pin virtualenv version to prevent poetry from upgrading to an incompatible
version
# see
https://github.com/python-poetry/poetry/issues/10504#issuecomment-3176923981
# 20.33.0 is the oldest version supported by poetry 2.2.0
virtualenv = ">=20.33.0,<20.35.0"
[tool.pip-licenses]
-from-classifier = true
-# Packages with "UNKNOWN" licenses in pip-licenses metadata.
-# These have been manually verified and are known to be compatible with ASF.
-ignore-packages = [
- "anyio", # MIT License (MIT)
- "build", # MIT License (MIT)
- "CacheControl", # Apache-2.0
- "cffi", # MIT License (MIT)
- "click", # BSD-3-Clause
- "cryptography", # Apache-2.0 or BSD-3-Clause
- "fsspec", # BSD-3-Clause
- "jaraco.functools", # MIT License (MIT)
- "jeepney", # MIT License (MIT)
- "more-itertools", # MIT License (MIT)
- "mypy_extensions", # MIT License (MIT)
- "pyparsing", # MIT License (MIT)
- "RapidFuzz", # MIT License (MIT)
- "SecretStorage", # BSD-3-Clause
- "types-python-dateutil", # Apache-2.0
- "typing-inspection", # MIT License (MIT)
- "typing_extensions", # PSF-2.0
- "urllib3", # MIT License (MIT)
- "zipp", # MIT License (MIT)
- "zstandard", # BSD-3-Clause
-]
partial-match = true
-allow-only = "MIT;Apache;BSD License;PSF-2.0;ISC;The Unlicense;Python Software
Foundation License;Mozilla Public License"
+allow-only = "Apache;BSD License;BSD-3-Clause;ISC;MIT;Mozilla Public
License;PSF-2.0;Python Software Foundation License;The Unlicense"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0", "openapi-generator-cli==7.11.0.post0"]