aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-10-25 21:56:39 +0100
committerGravatar Chris Lovering <[email protected]>2022-12-11 13:43:22 +0000
commit5ca70e57a13a0e302fc461c717d1549bd9091934 (patch)
treee319f048b6e0bf1a44c748faf31f2bb16a9b7f54
parentSupport 3.11 & bump all deps (diff)
Support 3.11 and bump CI to use 3.11
-rw-r--r--.github/workflows/docs.yaml8
-rw-r--r--.github/workflows/lint-test.yaml4
-rw-r--r--poetry.lock2
-rw-r--r--pyproject.toml3
4 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml
index 372a2b8f..6d6c9569 100644
--- a/.github/workflows/docs.yaml
+++ b/.github/workflows/docs.yaml
@@ -21,10 +21,10 @@ jobs:
- uses: actions/checkout@v2
- name: Install Python Dependencies
- uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.1
+ uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.2
with:
dev: true
- python_version: "3.10"
+ python_version: "3.11"
install_args: "--extras async-rediscache"
- name: Generate HTML Site
@@ -46,10 +46,10 @@ jobs:
fetch-depth: 0 # We need to check out the entire repository to find all tags
- name: Install Python Dependencies
- uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.1
+ uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.2
with:
dev: true
- python_version: "3.10"
+ python_version: "3.11"
install_args: "--extras async-rediscache"
- name: Build All Doc Versions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml
index dc83086b..222deb24 100644
--- a/.github/workflows/lint-test.yaml
+++ b/.github/workflows/lint-test.yaml
@@ -16,11 +16,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Python Dependencies
- uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.1
+ uses: HassanAbouelela/actions/setup-python@setup-python_v1.3.2
with:
# Set dev=true to run pre-commit which is a dev dependency
dev: true
- python_version: "3.10"
+ python_version: "3.11"
install_args: "--extras async-rediscache"
# We will not run `flake8` here, as we will use a separate flake8
diff --git a/poetry.lock b/poetry.lock
index 55f6424d..f4e22885 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1059,7 +1059,7 @@ async-rediscache = ["async-rediscache"]
[metadata]
lock-version = "1.1"
python-versions = "3.10.* || 3.11.*"
-content-hash = "119e62742a07e541682c834953a8c11eb459b4fd4b90bc46ab66341b2b709ba4"
+content-hash = "f8b98393f7a10f019afb94260f87e92280533dda4057e9f7799dcd64512e13f2"
[metadata.files]
aiodns = [
diff --git a/pyproject.toml b/pyproject.toml
index 51cb596f..93164917 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -23,7 +23,8 @@ repository = "https://github.com/python-discord/bot-core"
keywords = ["bot", "discord", "discord.py"]
[tool.poetry.dependencies]
-python = "3.10.*"
+python = "3.10.* || 3.11.*"
+
"discord.py" = "2.1.0"
async-rediscache = { version = "1.0.0rc2", extras = ["fakeredis"], optional = true }
statsd = "4.0.1"