Skip to content

Commit

Permalink
Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLovering committed Jun 27, 2024
1 parent 1f9a403 commit a486e46
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Install Python Dependencies
uses: HassanAbouelela/actions/setup-python@setup-python_v1.4.2
with:
python_version: '3.11'
python_version: '3.12'
install_args: "--only main --only lint --only test"

# Attempt to run the bot. Setting `IN_CI` to true, so bot.run() is never called.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 ghcr.io/owl-corp/python-poetry-base:3.11-slim
FROM --platform=linux/amd64 ghcr.io/owl-corp/python-poetry-base:3.12-slim

# Install dependencies
WORKDIR /bot
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ name = "sir-robin"
version = "0.1.0"
description = ""
authors = ["Python Discord <[email protected]>"]
package-mode = false

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

pydis-core = { version = "10.7.0", extras = ["async-rediscache"]}
arrow = "1.3.0"
Expand Down Expand Up @@ -35,7 +36,7 @@ requires = ["poetry-core>=1.2.0"]
build-backend = "poetry.core.masonry.api"

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

0 comments on commit a486e46

Please sign in to comment.