From ce3e0ace9fa3b01e56d275ccc8fb82401d2cd946 Mon Sep 17 00:00:00 2001 From: Jacob Tomlinson Date: Tue, 7 Jan 2025 10:49:30 +0000 Subject: [PATCH] Bump minimum version of Python to 3.9 and httpx-ws to 0.7.0 (#546) --- .github/workflows/test-kr8s.yaml | 8 ++++---- .github/workflows/test-kubectl-ng.yaml | 2 +- README.md | 2 +- docs/index.md | 2 +- pyproject.toml | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-kr8s.yaml b/.github/workflows/test-kr8s.yaml index 9d66b0a..8a9788d 100644 --- a/.github/workflows/test-kr8s.yaml +++ b/.github/workflows/test-kr8s.yaml @@ -4,12 +4,12 @@ on: paths: - ".github/workflows/test-kr8s.yaml" - "kr8s/**" - - "./pyproject.toml" + - "pyproject.toml" push: paths: - ".github/workflows/test-kr8s.yaml" - "kr8s/**" - - "./pyproject.toml" + - "pyproject.toml" concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] kubernetes-version: ["1.32.0"] include: - python-version: '3.10' @@ -60,7 +60,7 @@ jobs: fail-fast: false matrix: # Test the minimal and maximal Python versions only - python-version: ["3.8", "3.12"] + python-version: ["3.9", "3.12"] kubernetes-version: ["1.32.0"] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/test-kubectl-ng.yaml b/.github/workflows/test-kubectl-ng.yaml index 22d2d66..6eb426f 100644 --- a/.github/workflows/test-kubectl-ng.yaml +++ b/.github/workflows/test-kubectl-ng.yaml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] kubernetes-version: ["1.32.0"] include: - python-version: '3.10' diff --git a/README.md b/README.md index 62a5e99..16f80b9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![Read the Docs](https://img.shields.io/readthedocs/kr8s?logo=readthedocs&logoColor=white)](https://docs.kr8s.org/en/stable/) [![EffVer Versioning](https://img.shields.io/badge/version_scheme-EffVer-0097a7)](https://jacobtomlinson.dev/effver) [![PyPI](https://img.shields.io/pypi/v/kr8s)](https://pypi.org/project/kr8s/) -[![Python Version Support](https://img.shields.io/badge/Python%20support-3.8%7C3.9%7C3.10%7C3.11%7C3.12-blue)](https://pypi.org/project/kr8s/) +[![Python Version Support](https://img.shields.io/badge/Python%20support-3.9%7C3.10%7C3.11%7C3.12-blue)](https://pypi.org/project/kr8s/) [![Kubernetes Version Support](https://img.shields.io/badge/Kubernetes%20support-1.29%7C1.30%7C1.31%7C1.32-blue)](https://docs.kr8s.org/en/stable/installation.html#supported-kubernetes-versions) [![PyPI - Wheel](https://img.shields.io/pypi/wheel/kr8s)](https://pypi.org/project/kr8s/) [![PyPI - License](https://img.shields.io/pypi/l/kr8s)](https://pypi.org/project/kr8s/) diff --git a/docs/index.md b/docs/index.md index d28a50d..04bddb3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,7 +2,7 @@ [![EffVer Versioning](https://img.shields.io/badge/version_scheme-EffVer-0097a7)](https://jacobtomlinson.dev/effver) [![PyPI](https://img.shields.io/pypi/v/kr8s)](https://pypi.org/project/kr8s/) -[![Python Version Support](https://img.shields.io/badge/Python%20support-3.8%7C3.9%7C3.10%7C3.11%7C3.12-blue)](https://pypi.org/project/kr8s/) +[![Python Version Support](https://img.shields.io/badge/Python%20support-3.9%7C3.10%7C3.11%7C3.12-blue)](https://pypi.org/project/kr8s/) [![Kubernetes Version Support](https://img.shields.io/badge/Kubernetes%20support-1.29%7C1.30%7C1.31%7C1.32-blue)](https://docs.kr8s.org/en/stable/installation.html#supported-kubernetes-versions) [![PyPI - Wheel](https://img.shields.io/pypi/wheel/kr8s)](https://pypi.org/project/kr8s/) [![PyPI - License](https://img.shields.io/pypi/l/kr8s)](https://pypi.org/project/kr8s/) diff --git a/pyproject.toml b/pyproject.toml index 632d964..da46258 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ readme = "README.md" keywords = ["kubernetes", "kubectl"] license = { text = "BSD-3-Clause" } classifiers = ["Programming Language :: Python :: 3"] -requires-python = ">=3.8" +requires-python = ">=3.9" dynamic = ["version"] dependencies = [ "asyncache>=0.3.1", @@ -16,7 +16,7 @@ dependencies = [ "python-jsonpath>=0.7.1", "anyio>=3.7.0", "httpx>=0.24.1", - "httpx-ws>=0.5.2", + "httpx-ws>=0.7.0", "python-box>=7.0.1", "typing_extensions>=4.12.2", ]