From 72c26f547b347d19bb58892c1c30ade2723c553b Mon Sep 17 00:00:00 2001 From: Christ Beaubrun Date: Sun, 7 Jun 2026 21:38:36 -0700 Subject: [PATCH 1/2] chore: use SPDX license metadata Update setup.py to use the Apache-2.0 SPDX expression and remove the deprecated license classifier. --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 545259828..4eeda6661 100755 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ name='openfermion', version=__version__, url='https://quantumai.google/openfermion', - license='Apache 2', + license='Apache-2.0', author='The OpenFermion Developers', author_email='openfermion-dev@googlegroups.com', maintainer='Google Quantum AI open-source maintainers', @@ -65,7 +65,6 @@ 'Intended Audience :: Developers', 'Intended Audience :: Education', 'Intended Audience :: Science/Research', - 'License :: OSI Approved :: Apache Software License', 'Operating System :: MacOS', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX :: Linux', From 15388e5ce63068504445c05b3e9338e3d34992bc Mon Sep 17 00:00:00 2001 From: Christ Beaubrun Date: Mon, 8 Jun 2026 22:35:35 -0500 Subject: [PATCH 2/2] Restore license classifier with SPDX metadata --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 4eeda6661..27ff1aeac 100755 --- a/setup.py +++ b/setup.py @@ -65,6 +65,7 @@ 'Intended Audience :: Developers', 'Intended Audience :: Education', 'Intended Audience :: Science/Research', + 'License :: OSI Approved :: Apache Software License', 'Operating System :: MacOS', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX :: Linux',