Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false # Don't cancel other jobs if one lint version fails
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
strategy:
fail-fast: false # Don't cancel other jobs if one test version fails
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -116,7 +116,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", "3.13"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
fail-fast: true # If one deployment fails, stop others
matrix:
# Define ALL python versions for Docker images
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
# Designate ONE primary version for PyPI publish and Docker 'latest' tag
primary-py: ['3.11'] # Choose your primary Python version

Expand Down Expand Up @@ -286,7 +286,7 @@ jobs:
# Use the Git tag from the event ref as the base version
# Assumes tags are like '0.1.0' or 'v0.1.0' - metadata-action handles 'v' prefix
tags: |
# Generate tags like: 0.1.0-py3.8, 0.1-py3.8, 0-py3.8
# Generate tags like: 0.1.0-py3.9, 0.1-py3.9, 0-py3.9
type=semver,pattern={{version}}-py${{ matrix.python-version }}
type=semver,pattern={{major}}.{{minor}}-py${{ matrix.python-version }}
type=semver,pattern={{major}}-py${{ matrix.python-version }}
Expand Down Expand Up @@ -315,4 +315,4 @@ jobs:
PYTHON_VERSION=${{ matrix.python-version }}
VERSION=${{ steps.get_version_tag.outputs.VERSION }}
cache-from: type=gha,scope=deploy-${{ matrix.python-version }}
cache-to: type=gha,mode=max,scope=deploy-${{ matrix.python-version }}
cache-to: type=gha,mode=max,scope=deploy-${{ matrix.python-version }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ docker run --rm -v $(pwd):/app -w /app --entrypoint python python-gpt-po -m pyte

## 📋 Requirements

- Python 3.8+
- Python 3.9+
- Dependencies: `polib`, `openai`, `anthropic`, `requests`, `tenacity`

## 📖 Documentation
Expand All @@ -172,4 +172,4 @@ docker run --rm -v $(pwd):/app -w /app --entrypoint python python-gpt-po -m pyte

## 📄 License

MIT License - See [LICENSE](LICENSE) for details.
MIT License - See [LICENSE](LICENSE) for details.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ authors = [
]
description = "A CLI tool for translating .po files using GPT models."
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
license = {text = "MIT"}
dependencies = [
"polib==1.2.0",
Expand All @@ -41,11 +41,11 @@ classifiers = [
"Topic :: Text Processing :: Linguistic",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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 :: Only",
"Natural Language :: English",
"Natural Language :: Dutch",
Expand Down