Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ if [[ $(uname) != CYGWIN* ]]; then
# Pyroma uses non-isolated build and fails with old setuptools
if [[ $GHA_PYTHON_VERSION == 3.9 ]]; then
# To match pyproject.toml
python3 -m pip install "setuptools>=67.8"
python3 -m pip install "setuptools>=77"
fi

# webp
Expand Down
10 changes: 8 additions & 2 deletions Tests/test_pyroma.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,11 @@ def test_pyroma() -> None:
)

else:
# Should have a perfect score
assert rating == (10, [])
# Should have a perfect score, but pyroma does not support PEP 639 yet.
assert rating == (
9,
[
"Your package does neither have a license field "
"nor any license classifiers."
],
)
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
build-backend = "backend"
requires = [
"setuptools>=67.8",
"setuptools>=77",
]
backend-path = [
"_custom_build",
Expand All @@ -14,14 +14,14 @@ readme = "README.md"
keywords = [
"Imaging",
]
license = { text = "MIT-CMU" }
license = "MIT-CMU"
license-files = [ "LICENSE" ]
authors = [
{ name = "Jeffrey A. Clark", email = "[email protected]" },
]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 6 - Mature",
"License :: OSI Approved :: CMU License (MIT-CMU)",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
Loading