From fa550cc30744f2ab5c2572335561e6b3f3992712 Mon Sep 17 00:00:00 2001 From: Amit Ray <51674969+amitray007@users.noreply.github.com> Date: Mon, 30 Mar 2026 18:50:17 +0530 Subject: [PATCH 1/2] fix: bump CI Python from 3.8 to 3.10 for requests 2.33.0 compatibility requests 2.33.0 dropped support for Python 3.9 and below. Update all CI workflows from Python 3.8 to 3.10 and add python_requires>=3.10 to setup.py. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/maintenance-check.yml | 2 +- .github/workflows/pr-coverage.yml | 2 +- .github/workflows/pr-tests.yml | 2 +- .github/workflows/python-publish.yml | 8 ++++---- setup.py | 5 +++++ 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/maintenance-check.yml b/.github/workflows/maintenance-check.yml index e882515..0be1b51 100644 --- a/.github/workflows/maintenance-check.yml +++ b/.github/workflows/maintenance-check.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.10' - name: Install dependencies run: | diff --git a/.github/workflows/pr-coverage.yml b/.github/workflows/pr-coverage.yml index b144997..293ce93 100644 --- a/.github/workflows/pr-coverage.yml +++ b/.github/workflows/pr-coverage.yml @@ -33,7 +33,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.10' - name: Install dependencies run: | diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 8be8afa..ecd692d 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.12'] + python-version: ['3.10', '3.12'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index ed454ad..54f35dd 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -64,7 +64,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.10' - name: Configure Git run: | @@ -218,10 +218,10 @@ jobs: run: | git pull origin master - - name: Set up Python 3.8 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.10' - name: Install dependencies run: | @@ -279,7 +279,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.10' - name: Download artifacts uses: actions/download-artifact@v4 diff --git a/setup.py b/setup.py index 2a4a076..ec492cd 100644 --- a/setup.py +++ b/setup.py @@ -31,11 +31,16 @@ def read_version(): long_description_content_type="text/markdown", long_description=long_description, packages=find_packages(exclude=["tests", "tests.*"]), + python_requires=">=3.10", install_requires=["requests", "requests-oauthlib"], keywords=["python", "etsy", "api"], classifiers=[ "Intended Audience :: Developers", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Operating System :: Unix", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", From 9cd75fad94f2b98ad210c723767763f5dd847884 Mon Sep 17 00:00:00 2001 From: Amit Ray <51674969+amitray007@users.noreply.github.com> Date: Mon, 30 Mar 2026 18:57:15 +0530 Subject: [PATCH 2/2] fix: update docs to reflect Python 3.10+ minimum Update README and maintenance plan doc to match the new python_requires>=3.10 constraint. Co-Authored-By: Claude Opus 4.6 (1M context) --- README.md | 2 +- docs/plans/2026-02-28-maintenance-workflow-plan.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 597ee56..71341f7 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ A comprehensive Python client library for the Etsy API v3, providing a modern, t ## Requirements -- Python 3.8 or higher +- Python 3.10 or higher - An Etsy App API Key (get one at [Etsy Developers](https://www.etsy.com/developers)) ## Installation diff --git a/docs/plans/2026-02-28-maintenance-workflow-plan.md b/docs/plans/2026-02-28-maintenance-workflow-plan.md index eb06ac1..ce3a36c 100644 --- a/docs/plans/2026-02-28-maintenance-workflow-plan.md +++ b/docs/plans/2026-02-28-maintenance-workflow-plan.md @@ -6,7 +6,7 @@ **Architecture:** Three Python scripts (`fetch_spec.py`, `diff_spec.py`, `audit_sdk.py`) provide the core logic. A pytest test suite covers live API integration. Three Claude Code skills (`/maintain:check`, `/maintain:audit`, `/maintain:test`) orchestrate these tools conversationally. `/maintain:audit` is a full pipeline — it runs the audit script, then Claude Code verifies findings against actual code, prepares a categorized change list, and asks the user whether to implement directly or adjust items first. A `specs/` directory stores baseline and latest OAS specs. -**Tech Stack:** Python 3.8+, requests (already a dependency), pytest, python-dotenv +**Tech Stack:** Python 3.10+, requests (already a dependency), pytest, python-dotenv **Design doc:** `docs/plans/2026-02-28-maintenance-workflow-design.md`