Skip to content

Commit

Permalink
Bump up to Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Dec 21, 2024
1 parent 2457e19 commit 2fa6fe7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Python dependencies
uses: HassanAbouelela/actions/setup-python@setup-python_v1.6.0
with:
python_version: "3.12"
python_version: "3.13"

- name: Run pre-commit hooks
run: SKIP=ruff-lint pre-commit run --all-files
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG python_version=3.12-slim
ARG python_version=3.13-slim

FROM --platform=linux/amd64 ghcr.io/owl-corp/python-poetry-base:$python_version AS wheel-builder

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-deploy / Build & push

FROM --platform flag should not use a constant value

FromPlatformFlagConstDisallowed: FROM --platform flag should not use constant value "linux/amd64" More info: https://docs.docker.com/go/dockerfile/rule/from-platform-flag-const-disallowed/

Expand Down
5 changes: 2 additions & 3 deletions poetry.lock

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

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
package-mode = false

[tool.poetry.dependencies]
python = "3.12.*"
python = "3.13.*"

# See https://bot-core.pythondiscord.com/ for docs.
pydis-core = "11.5.1"
Expand Down Expand Up @@ -46,7 +46,7 @@ requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.ruff]
target-version = "py312"
target-version = "py313"
extend-exclude = [".cache"]
line-length = 100
unsafe-fixes = true
Expand Down

0 comments on commit 2fa6fe7

Please sign in to comment.