Drop Python 3.8

Python 3.8 is dead, and the faulty license gives a warning in Python 3.14:

      /Users/neil/.cache/uv/builds-v0/.tmpssvJcI/lib/python3.14/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML
      table is deprecated
This commit is contained in:
Neil Girdhar 2025-09-24 09:39:16 -04:00 committed by GitHub
parent d9873dab04
commit f2b70c343b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,20 +6,17 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "msgpack" name = "msgpack"
dynamic = ["version"] dynamic = ["version"]
# `license = "Apache-2.0"` is preferred. But keep old syntax for Python 3.8 compatibility. license = "Apache-2.0"
# https://github.com/msgpack/msgpack-python/pull/637
license = {text="Apache 2.0"}
authors = [{name="Inada Naoki", email="songofacandy@gmail.com"}] authors = [{name="Inada Naoki", email="songofacandy@gmail.com"}]
description = "MessagePack serializer" description = "MessagePack serializer"
readme = "README.md" readme = "README.md"
keywords = ["msgpack", "messagepack", "serializer", "serialization", "binary"] keywords = ["msgpack", "messagepack", "serializer", "serialization", "binary"]
requires-python = ">=3.8" requires-python = ">=3.9"
classifiers = [ classifiers = [
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Topic :: File Formats", "Topic :: File Formats",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
@ -46,7 +43,7 @@ version = {attr = "msgpack.__version__"}
[tool.ruff] [tool.ruff]
line-length = 100 line-length = 100
target-version = "py38" target-version = "py39"
lint.select = [ lint.select = [
"E", # pycodestyle "E", # pycodestyle
"F", # Pyflakes "F", # Pyflakes