Skip to content

Commit

Permalink
HARMONY-1645: Drop support for EOL Python 3.8 and test with 3.12 and …
Browse files Browse the repository at this point in the history
…3.13.
  • Loading branch information
chris-durbin committed Oct 21, 2024
1 parent d3c265a commit d58febf
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fetch-depth: '0'
- uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.13'
- shell: bash
env:
VERSION_TAG: ${{ github.event.release.tag_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, '3.10']
python-version: [3.9, 3.10, 3.11, 3.12, 3.13]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OPTIONAL -- Use with CAUTION:
## Development Setup

Prerequisites:
- Python 3.8+, ideally installed via a virtual environment
- Python 3.9+, ideally installed via a virtual environment
- A local copy of the code

Install dependencies:
Expand Down
2 changes: 0 additions & 2 deletions harmony_service_lib/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@
alive.
MAX_DOWNLOAD_RETRIES: Number of times to retry HTTP download calls that fail due to transient errors.
"""
# Remove this import when Python 3.8 is no longer supported
from __future__ import annotations

from base64 import b64decode
from collections import namedtuple
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dynamic = ["dependencies", "optional-dependencies", "version"]
license = { text = "License :: OSI Approved :: Apache Software License" }
name = "harmony-service-lib"
readme = "README.md"
requires-python = ">= 3.8"
requires-python = ">= 3.9"

[project.scripts]
harmony-service-lib = "harmony_service_lib.cli.__main__:main"
Expand Down

0 comments on commit d58febf

Please sign in to comment.