Skip to content

Commit 9cb70ab

Browse files
Fix client license check (#2642)
1 parent adea7a6 commit 9cb70ab

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

client/python/pyproject.toml

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -62,40 +62,15 @@ mypy = ">=1.18, <=1.18.2"
6262
pyiceberg = "==0.10.0"
6363
pre-commit = "==4.3.0"
6464
openapi-generator-cli = "==7.11.0.post0"
65-
pip-licenses = "==5.0.0"
65+
pip-licenses-cli = "==v2.0.0"
6666
# pin virtualenv version to prevent poetry from upgrading to an incompatible version
6767
# see https://github.com/python-poetry/poetry/issues/10504#issuecomment-3176923981
6868
# 20.33.0 is the oldest version supported by poetry 2.2.0
6969
virtualenv = ">=20.33.0,<20.35.0"
7070

7171
[tool.pip-licenses]
72-
from-classifier = true
73-
# Packages with "UNKNOWN" licenses in pip-licenses metadata.
74-
# These have been manually verified and are known to be compatible with ASF.
75-
ignore-packages = [
76-
"anyio", # MIT License (MIT)
77-
"build", # MIT License (MIT)
78-
"CacheControl", # Apache-2.0
79-
"cffi", # MIT License (MIT)
80-
"click", # BSD-3-Clause
81-
"cryptography", # Apache-2.0 or BSD-3-Clause
82-
"fsspec", # BSD-3-Clause
83-
"jaraco.functools", # MIT License (MIT)
84-
"jeepney", # MIT License (MIT)
85-
"more-itertools", # MIT License (MIT)
86-
"mypy_extensions", # MIT License (MIT)
87-
"pyparsing", # MIT License (MIT)
88-
"RapidFuzz", # MIT License (MIT)
89-
"SecretStorage", # BSD-3-Clause
90-
"types-python-dateutil", # Apache-2.0
91-
"typing-inspection", # MIT License (MIT)
92-
"typing_extensions", # PSF-2.0
93-
"urllib3", # MIT License (MIT)
94-
"zipp", # MIT License (MIT)
95-
"zstandard", # BSD-3-Clause
96-
]
9772
partial-match = true
98-
allow-only = "MIT;Apache;BSD License;PSF-2.0;ISC;The Unlicense;Python Software Foundation License;Mozilla Public License"
73+
allow-only = "Apache;BSD License;BSD-3-Clause;ISC;MIT;Mozilla Public License;PSF-2.0;Python Software Foundation License;The Unlicense"
9974

10075
[build-system]
10176
requires = ["poetry-core>=2.0.0,<3.0.0", "openapi-generator-cli==7.11.0.post0"]

0 commit comments

Comments
 (0)