From 42005850e4c4a5eb75d82625ce091d8495155cba Mon Sep 17 00:00:00 2001 From: Ivan Rener Date: Mon, 31 Aug 2026 21:10:31 +0200 Subject: [PATCH] fix: add PyPI classifiers so shields.io python-version badge resolves MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pypi/pyversions badge rendered a red 'missing' pill because the package published no trove classifiers — shields.io parses Python versions from 'Programming Language :: Python :: X.Y' entries. - Add classifiers to pyproject.toml (Python 3.12/3.13, MIT, Typed, etc.) - Swap the README badge to a static python>=3.12 shield so it renders correctly immediately, independent of the next PyPI release --- README.md | 2 +- pyproject.toml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c0178b..8e06c83 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # DataForge [![PyPI version](https://img.shields.io/pypi/v/dataforge-py.svg)](https://pypi.org/project/dataforge-py/) -[![Python versions](https://img.shields.io/pypi/pyversions/dataforge-py.svg)](https://pypi.org/project/dataforge-py/) +[![Python versions](https://img.shields.io/badge/python-%3E%3D3.12-blue.svg)](https://pypi.org/project/dataforge-py/) [![CI](https://github.com/Sanady/dataforge-py/actions/workflows/ci.yml/badge.svg)](https://github.com/Sanady/dataforge-py/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) diff --git a/pyproject.toml b/pyproject.toml index 35fcf84..07688b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,18 @@ authors = [ ] requires-python = ">=3.12" dependencies = [] +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Topic :: Software Development :: Testing", + "Topic :: Software Development :: Libraries :: Python Modules", + "Typing :: Typed", +] [project.optional-dependencies] kafka = ["confluent-kafka>=2.0"]