From 54542ea1221e40b01e8e3f22d6cdd38663def125 Mon Sep 17 00:00:00 2001 From: Martin Popel Date: Wed, 3 Dec 2025 15:16:46 +0100 Subject: [PATCH 1/3] pyproject.toml follows PEP639 and allows mecab-ko<2.0.0 follow https://peps.python.org/pep-0639/ see #284 --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fab61cd..7b2488f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,8 @@ authors = [{ name = "Matt Post", email = "post@cs.jhu.edu" }] maintainers = [{ name = "Matt Post", email = "post@cs.jhu.edu" }] description = "Hassle-free computation of shareable, comparable, and reproducible BLEU, chrF, and TER scores" readme = "README.md" -license = { file = "LICENSE.txt" } +license = "Apache-2.0" +license-files = ["LICENSE.txt"] classifiers = [ # How mature is this project? Common values are # 3 - Alpha @@ -62,7 +63,7 @@ dependencies = [ [project.optional-dependencies] dev = ["wheel", "pytest", "mypy", "types-tabulate", "lxml-stubs", "setuptools"] ja = ["mecab-python3>=1.0.9,<2.0.0", "ipadic>=1.0,<2.0"] -ko = ["mecab-ko>=1.0.0,<=1.0.2", "mecab-ko-dic>=1.0,<2.0"] +ko = ["mecab-ko>=1.0.0,<2.0.0", "mecab-ko-dic>=1.0,<2.0"] [project.scripts] sacrebleu = "sacrebleu.sacrebleu:main" From 73929251a8b93d701669d1433f7ee41ae6883a58 Mon Sep 17 00:00:00 2001 From: Martin Popel Date: Wed, 3 Dec 2025 15:20:33 +0100 Subject: [PATCH 2/3] PEP639 Removed Apache Software License from classifiers. --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7b2488f..e948702 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,9 +25,6 @@ classifiers = [ "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Text Processing", - # Pick your license as you wish (should match "license" above) - "License :: OSI Approved :: Apache Software License", - # List operating systems "Operating System :: POSIX", "Operating System :: MacOS :: MacOS X", From 5738d72a9c1abf6c98ad04f43fe7fe7039332b92 Mon Sep 17 00:00:00 2001 From: Martin Popel Date: Wed, 3 Dec 2025 15:31:14 +0100 Subject: [PATCH 3/3] Remove license-files entry from pyproject.toml --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e948702..341b2d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,6 @@ maintainers = [{ name = "Matt Post", email = "post@cs.jhu.edu" }] description = "Hassle-free computation of shareable, comparable, and reproducible BLEU, chrF, and TER scores" readme = "README.md" license = "Apache-2.0" -license-files = ["LICENSE.txt"] classifiers = [ # How mature is this project? Common values are # 3 - Alpha