From 21a7ac7dd92dd265ca026b60a17c7834db131df7 Mon Sep 17 00:00:00 2001 From: Saran Tunyasuvunakool Date: Wed, 6 Aug 2025 09:10:10 -0700 Subject: [PATCH] Change the license field in pyproject.toml to SPDX string. According to the deprecation warning, support for the old way of declaring the license will be removed from setuptools on 2026-Feb-18. PiperOrigin-RevId: 791716539 Change-Id: Iaf9ec55f9425380b017bd7ea370cd481ed01aa8f --- mjx/pyproject.toml | 3 +-- python/pyproject.toml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mjx/pyproject.toml b/mjx/pyproject.toml index 8bec695f..e5a51b9b 100644 --- a/mjx/pyproject.toml +++ b/mjx/pyproject.toml @@ -10,12 +10,11 @@ authors = [ ] description = "MuJoCo XLA (MJX)" readme = {file = "README.md", content-type = "text/markdown"} -license = {text = "Apache License 2.0"} +license = "Apache-2.0" classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Science/Research", - "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", diff --git a/python/pyproject.toml b/python/pyproject.toml index fbcf9842..ffeb261f 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -10,12 +10,11 @@ authors = [ ] description = "MuJoCo Physics Simulator" requires-python = ">=3.9" -license = {text = "Apache License 2.0"} +license = "Apache-2.0" classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Science/Research", - "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9",