diff options
author | 2022-10-25 21:56:39 +0100 | |
---|---|---|
committer | 2022-10-25 21:56:39 +0100 | |
commit | ca11056f14a2c765407956a77e84de587d49c536 (patch) | |
tree | a3134d356c0445592a69a2a98e6146328effbcf7 | |
parent | Bump deps (diff) |
Support 3.11 and bump CI to use 3.11
-rw-r--r-- | .github/workflows/docs.yaml | 8 | ||||
-rw-r--r-- | .github/workflows/lint-test.yaml | 4 | ||||
-rw-r--r-- | poetry.lock | 4 | ||||
-rw-r--r-- | pyproject.toml | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 42c9e742..8f7f332c 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 e9821677..9968a44d 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 2c57723b..e4976bb4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1080,8 +1080,8 @@ async-rediscache = ["async-rediscache"] [metadata] lock-version = "1.1" -python-versions = "3.10.*" -content-hash = "3493b80e4e51967f9441c0c7035969a39c9f34c541bd6477af7ee8b84c8529d9" +python-versions = "3.10.* || 3.11.*" +content-hash = "a4ec22a98b0b67b8ff84abf87fa000813ad5bf67d65b8a4e8b7949feb748f331" [metadata.files] aiodns = [ diff --git a/pyproject.toml b/pyproject.toml index 1f80d9ac..d4a27af1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ packages = [ exclude = ["tests", "tests.*"] [tool.poetry.dependencies] -python = "3.10.*" +python = "3.10.* || 3.11.*" "discord.py" = "2.0.1" async-rediscache = { version = "1.0.0rc2", extras = ["fakeredis"], optional = true } statsd = "3.3.0" |