From 28b47a68a7bb1a59827d89ed8cfc59df21f50810 Mon Sep 17 00:00:00 2001 From: Norbert Kwizera Date: Wed, 23 Oct 2024 13:13:22 +0200 Subject: [PATCH] Update to use python 3.12 --- .github/workflows/ci.yml | 8 +++----- poetry.lock | 18 ++---------------- pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8deac3767..eed9a6164 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,10 +4,8 @@ jobs: test: name: Test runs-on: ubuntu-22.04 - strategy: - matrix: - python-version: ["3.11.x"] - + env: + python-version: "3.12.x" services: redis: image: redis:6.2-alpine @@ -30,7 +28,7 @@ jobs: - name: Install Python uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ env.python-version }} - name: Install Poetry uses: snok/install-poetry@v1 diff --git a/poetry.lock b/poetry.lock index 6ca8cc873..4559dd12a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -28,17 +28,6 @@ files = [ [package.extras] tests = ["mypy (>=0.800)", "pytest", "pytest-asyncio"] -[[package]] -name = "async-timeout" -version = "4.0.3" -description = "Timeout context manager for asyncio programs" -optional = false -python-versions = ">=3.7" -files = [ - {file = "async-timeout-4.0.3.tar.gz", hash = "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f"}, - {file = "async_timeout-4.0.3-py3-none-any.whl", hash = "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028"}, -] - [[package]] name = "billiard" version = "4.2.1" @@ -1468,9 +1457,6 @@ files = [ {file = "redis-5.1.1.tar.gz", hash = "sha256:f6c997521fedbae53387307c5d0bf784d9acc28d9f1d058abeac566ec4dbed72"}, ] -[package.dependencies] -async-timeout = {version = ">=4.0.3", markers = "python_full_version < \"3.11.3\""} - [package.extras] hiredis = ["hiredis (>=3.0.0)"] ocsp = ["cryptography (>=36.0.1)", "pyopenssl (==23.2.1)", "requests (>=2.31.0)"] @@ -2084,5 +2070,5 @@ files = [ [metadata] lock-version = "2.0" -python-versions = "~3.11.0" -content-hash = "498dea3abe76974edbbd609b6511c018a49257b357cd84c06c0a221db5f8211f" +python-versions = "~3.12.0" +content-hash = "b857ecb3147d1336e69db9f46b2a1824a05b0e54676cc4ae8e91716957b1cf19" diff --git a/pyproject.toml b/pyproject.toml index bc9f4f596..b42bd0764 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Nyaruka Ltd "] readme = "README.md" [tool.poetry.dependencies] -python = "~3.11.0" +python = "~3.12.0" Django = "~5.1.0" smartmin = "^5.1.0" rapidpro-dash = "~1.16.0"