Skip to content

Commit

Permalink
Upgrades Python to 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpylog committed Dec 16, 2024
1 parent 1bf3544 commit 0f100ba
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 53 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ repos:
- javascript
- ts
- markdown
exclude: "(^Pipfile\\.lock$)"
# Python hooks
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.8.3'
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Dependency updates
- Updated astral-sh/setup-uv to v4
- Updated default Python to 3.12

## [0.9.0] - 2024-10-23

Expand Down
4 changes: 2 additions & 2 deletions ephemeral/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ runs:
uses: actions/setup-python@v5
id: setup-python
with:
python-version: '3.11'
python-version: '3.12'
-
name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4
with:
version: "0.4.x"
-
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@ name = "image-cleaner-action"
version = "0.9.0"
description = "Tools to cleanup old ghcr.io images when the source is removed"
readme = "README.md"
requires-python = ">=3.11"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"github-action-utils>=1.1",
"httpx[brotli,http2]>=0.27",
"httpx[brotli,http2]>=0.28",
]

[tool.ruff]
target-version = "py311"
target-version = "py312"
line-length = 110
respect-gitignore = true
# https://docs.astral.sh/ruff/settings/
Expand Down
4 changes: 2 additions & 2 deletions untagged/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ runs:
uses: actions/setup-python@v5
id: setup-python
with:
python-version: '3.11'
python-version: '3.12'
-
name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4
with:
version: "0.4.x"
-
Expand Down
46 changes: 2 additions & 44 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0f100ba

Please sign in to comment.