aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/lint-test.yaml2
-rw-r--r--Dockerfile2
-rw-r--r--poetry.lock18
-rw-r--r--pyproject.toml8
4 files changed, 15 insertions, 15 deletions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml
index a12fb650..7dffeee5 100644
--- a/.github/workflows/lint-test.yaml
+++ b/.github/workflows/lint-test.yaml
@@ -14,7 +14,7 @@ jobs:
- name: Install Python Dependencies
uses: HassanAbouelela/actions/setup-python@setup-python_v1.4.0
with:
- python_version: '3.10'
+ python_version: '3.11'
# Start the database early to give it a chance to get ready before
# we start running tests.
diff --git a/Dockerfile b/Dockerfile
index 438f33bb..dda20173 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM ghcr.io/chrislovering/python-poetry-base:3.10-slim
+FROM ghcr.io/chrislovering/python-poetry-base:3.11-slim
# Allow service to handle stops gracefully
STOPSIGNAL SIGQUIT
diff --git a/poetry.lock b/poetry.lock
index b302c489..eeed2904 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -641,14 +641,14 @@ files = [
[[package]]
name = "nodeenv"
-version = "1.7.0"
+version = "1.8.0"
description = "Node.js virtual environment builder"
category = "dev"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*"
files = [
- {file = "nodeenv-1.7.0-py2.py3-none-any.whl", hash = "sha256:27083a7b96a25f2f5e1d8cb4b6317ee8aeda3bdd121394e5ac54e498028a042e"},
- {file = "nodeenv-1.7.0.tar.gz", hash = "sha256:e0e7f7dfb85fc5394c6fe1e8fa98131a2473e04311a45afb6508f7cf1836fa2b"},
+ {file = "nodeenv-1.8.0-py2.py3-none-any.whl", hash = "sha256:df865724bb3c3adc86b3876fa209771517b0cfe596beff01a92700e0e8be4cec"},
+ {file = "nodeenv-1.8.0.tar.gz", hash = "sha256:d51e0c37e64fbf47d017feac3145cdbb58836d7eee8c6f6d3b6880c5456227d2"},
]
[package.dependencies]
@@ -656,18 +656,18 @@ setuptools = "*"
[[package]]
name = "platformdirs"
-version = "3.5.0"
+version = "3.5.1"
description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."
category = "dev"
optional = false
python-versions = ">=3.7"
files = [
- {file = "platformdirs-3.5.0-py3-none-any.whl", hash = "sha256:47692bc24c1958e8b0f13dd727307cff1db103fca36399f457da8e05f222fdc4"},
- {file = "platformdirs-3.5.0.tar.gz", hash = "sha256:7954a68d0ba23558d753f73437c55f89027cf8f5108c19844d4b82e5af396335"},
+ {file = "platformdirs-3.5.1-py3-none-any.whl", hash = "sha256:e2378146f1964972c03c085bb5662ae80b2b8c06226c54b2ff4aa9483e8a13a5"},
+ {file = "platformdirs-3.5.1.tar.gz", hash = "sha256:412dae91f52a6f84830f39a8078cecd0e866cb72294a5c66808e74d5e88d251f"},
]
[package.extras]
-docs = ["furo (>=2023.3.27)", "proselint (>=0.13)", "sphinx (>=6.1.3)", "sphinx-autodoc-typehints (>=1.23,!=1.23.4)"]
+docs = ["furo (>=2023.3.27)", "proselint (>=0.13)", "sphinx (>=6.2.1)", "sphinx-autodoc-typehints (>=1.23,!=1.23.4)"]
test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.3.1)", "pytest-cov (>=4)", "pytest-mock (>=3.10)"]
[[package]]
@@ -1211,5 +1211,5 @@ brotli = ["Brotli"]
[metadata]
lock-version = "2.0"
-python-versions = "3.10.*"
-content-hash = "dad8222b03904d3d26ff78b060b25974b0cd70a9a4d75171094e8c6b2d523e7e"
+python-versions = "3.11.*"
+content-hash = "7a36b961e667588a7295f4e1a16c47c736937b2e60aa71b4bb1315e6f5a8ef56"
diff --git a/pyproject.toml b/pyproject.toml
index 0e7c2834..3aad7053 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,7 +6,7 @@ authors = ["Python Discord <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
-python = "3.10.*"
+python = "3.11.*"
django = "4.2.1"
django-distill = "3.1.3"
@@ -24,12 +24,12 @@ python-frontmatter = "1.0.0"
pyyaml = "6.0"
sentry-sdk = "1.22.2"
whitenoise = "6.4.0"
-psycopg = {extras = ["binary"], version = "^3.1.9"}
+psycopg = {extras = ["binary"], version = "3.1.9"}
[tool.poetry.group.dev.dependencies]
python-dotenv = "1.0.0"
taskipy = "1.10.4"
-ruff = "^0.0.265"
+ruff = "0.0.265"
[tool.poetry.group.lint.dependencies]
pre-commit = "3.3.1"
@@ -42,7 +42,7 @@ requires = ["poetry-core>=1.2.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
-target-version = "py310"
+target-version = "py311"
extend-exclude = [".cache"]
ignore = [
"ANN002", "ANN003", "ANN101", "ANN102", "ANN204", "ANN206", "ANN401",