From 4cb9abfa7bfe90a5c4bff3d8ba4329c8a9ac9cd8 Mon Sep 17 00:00:00 2001 From: Khaled Salhab Date: Tue, 31 Mar 2026 18:50:28 +0300 Subject: [PATCH] fix: pypi metadata and readme compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix relative links in README (CONTRIBUTING.md, LICENSE) to absolute GitHub URLs — relative links silently break on the PyPI project page - Add 'Requires Python 3.11+' note to Installation section to explain 'no matching distribution' errors users see on older Python - Explicit readme content-type (text/markdown) in pyproject.toml so PyPI renders description correctly regardless of tooling version - Expand keywords with sdk, python, pydantic, httpx for discoverability --- README.md | 6 ++++-- pyproject.toml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3de0a33..6b7a180 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ Python SDK for the [Hyperping](https://hyperping.io) uptime monitoring and incid ## Installation +Requires **Python 3.11+**. + ```bash pip install hyperping # or @@ -175,11 +177,11 @@ This package ships a `py.typed` marker (PEP 561) and is fully typed. Works out o ## Contributing -See [CONTRIBUTING.md](CONTRIBUTING.md). +See [CONTRIBUTING.md](https://github.com/develeap/hyperping-python/blob/main/CONTRIBUTING.md). ## License -MIT — see [LICENSE](LICENSE). +MIT — see [LICENSE](https://github.com/develeap/hyperping-python/blob/main/LICENSE). ## Maintained by diff --git a/pyproject.toml b/pyproject.toml index 2853ed8..f750eaf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,11 +6,11 @@ build-backend = "hatchling.build" name = "hyperping" version = "0.1.0" description = "Python SDK for the Hyperping uptime monitoring and incident management API" -readme = "README.md" +readme = {file = "README.md", content-type = "text/markdown"} license = {text = "MIT"} requires-python = ">=3.11" authors = [{ name = "Develeap", email = "dev@develeap.com" }] -keywords = ["hyperping", "monitoring", "uptime", "status-page", "incident", "api-client"] +keywords = ["hyperping", "monitoring", "uptime", "status-page", "incident", "api-client", "sdk", "python", "pydantic", "httpx"] classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers",