Skip to content

Commit

Permalink
Update build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaves committed Nov 14, 2023
1 parent eb6e553 commit 9dc03ec
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 18 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10.4
python-version: 3.11
- name: Restore cache
uses: actions/cache@v1
with:
path: .venv
key: py3.10-ubuntu-latest-venv-cache-${{ hashFiles('**/poetry.lock') }}
key: py3.11-ubuntu-latest-venv-cache-${{ hashFiles('**/poetry.lock') }}
- name: Install poetry
run: |
pip install poetry==1.1.13
pip install poetry==1.7.0
poetry config virtualenvs.in-project true
- name: Install dependencies
run: |
Expand All @@ -52,7 +52,7 @@ jobs:
key: py3.7-ubuntu-latest-venv-cache-${{ hashFiles('**/poetry.lock') }}
- name: Install poetry
run: |
pip install poetry==1.1.11
pip install poetry==1.7.0
poetry config virtualenvs.in-project true
- name: Install dependencies
run: |
Expand All @@ -78,7 +78,7 @@ jobs:
key: py3.7-ubuntu-latest-venv-cache-${{ hashFiles('**/poetry.lock') }}
- name: Install poetry
run: |
pip install poetry==1.1.11
pip install poetry==1.7.0
poetry config virtualenvs.in-project true
- name: Install dependencies
run: |
Expand All @@ -97,7 +97,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand All @@ -113,7 +113,7 @@ jobs:
key: py${{ matrix.python-version }}-${{ matrix.os }}-venv-cache-${{ hashFiles('**/poetry.lock') }}
- name: Install poetry
run: |
pip install poetry==1.1.11
pip install poetry==1.7.0
poetry config virtualenvs.in-project true
- name: Install dependencies
run: |
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
key: py3.7-ubuntu-latest-venv-cache-${{ hashFiles('**/poetry.lock') }}
- name: Install poetry
run: |
pip install poetry==1.1.11
pip install poetry==1.7.0
poetry config virtualenvs.in-project true
- name: Download wheels and sdist
uses: actions/download-artifact@v2
Expand Down
40 changes: 31 additions & 9 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ generate-setup-file = true
[tool.poetry.dependencies]
python = ">= 3.7, < 3.12"
aiohttp = {extras = ["speedups"], version = "^3.7.4", optional = true}
asyncpg = {version = "^0.23.0", optional = true}
asyncpg = [
{version = "^0.23.0", python = ">= 3.7, < 3.11"},
{git = "https://github.com/includesoftware/python-asyncpg.git", branch = "cython3", optional = true, python = "==3.11"}
]
hypothesis = {version = "^6.8.5", optional = true}
dill = "^0.3.2"
typing-extensions = [
Expand Down

0 comments on commit 9dc03ec

Please sign in to comment.