From 915b82a3cf9a23d7c1d3237f8e0d78db1f09f8bc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 09:12:11 +0000 Subject: [PATCH 1/4] Initial plan From 5a1c8b62f28d391d3a191b3d9680d04a3ee057a9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 09:14:17 +0000 Subject: [PATCH 2/4] Drop Python 3.6-3.9 support, add Python 3.10-3.14 Co-authored-by: suminb <136119+suminb@users.noreply.github.com> --- .github/workflows/ci.yml | 8 ++------ .gitignore | 2 ++ setup.py | 7 +++---- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d667741..3ae2735 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,14 +4,10 @@ on: [push] jobs: build: - runs-on: ${{ matrix.runs-on }} + runs-on: ubuntu-latest strategy: matrix: - runs-on: [ubuntu-latest] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] - include: - - runs-on: ubuntu-20.04 - python-version: "3.6" + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/.gitignore b/.gitignore index 6ee4a15..efca24c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ build dist +.coverage +.pytest_cache diff --git a/setup.py b/setup.py index d4c8ce6..99118d4 100644 --- a/setup.py +++ b/setup.py @@ -23,11 +23,10 @@ def readme(): url="http://github.com/suminb/base62", packages=[], classifiers=[ - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ], ) From 659608313f91bef3d722ca38f41ea46a353312a3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 09:16:03 +0000 Subject: [PATCH 3/4] Add explicit permissions to GitHub Actions workflow Co-authored-by: suminb <136119+suminb@users.noreply.github.com> --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ae2735..a1e5255 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,9 @@ name: base62 on: [push] +permissions: + contents: read + jobs: build: runs-on: ubuntu-latest From a9d04e3f6fac743b0bb2d6df8fb1037003f7046c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 09:20:02 +0000 Subject: [PATCH 4/4] Fix black formatting in test_basic.py Co-authored-by: suminb <136119+suminb@users.noreply.github.com> --- tests/test_basic.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_basic.py b/tests/test_basic.py index bade00f..6ad9cc8 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -2,7 +2,6 @@ import base62 - bytes_int_pairs = [ (b"\x01", 1), (b"\x01\x01", 0x0101),