Skip to content

Commit

Permalink
fix: lowest
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-friday committed Jul 27, 2024
1 parent 20c5cae commit 52dc228
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: setup-python-version
shell: bash
run: |
[[ '${{ matrix.python-version }}' == 'lowest' ]] && echo "python-version=3.8" || echo "python-version=${{ matrix.python-version }}" >> $GITHUB_ENV
[[ '${{ matrix.python-version }}' == 'lowest' ]] && echo "python-version=3.8" || echo "python-version=${{ matrix.python-version }}" >> $GITHUB_OUTPUT
- name: Install rye
uses: phi-friday/[email protected]
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
if: matrix.python-version == 'lowest'
run: |
rye install uv
uv pip compile --resolution=lowest pyproject.toml -o requirements.txt
uv pip compile --resolution=lowest pyproject.toml -o requirements.txt --extra uvloop --extra sqlalchemy --extra test
uv pip install -r requirements.txt
rye run pytest
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ Repository = "https://github.com/phi-friday/async-wrapper"

[project.optional-dependencies]
uvloop = ["uvloop; platform_system != 'Windows'"]
sqlalchemy = ["sqlalchemy[asyncio]", "greenlet"]
sqlalchemy = ["sqlalchemy[asyncio]>=1.4", "greenlet>=1"]
test = [
"pytest>=8.0.0",
"trio>=0.24.0",
"pytest-cov>=4.1.0",
"aiosqlite>=0.20.0",
"trio>=0.24.0",
"sortedcontainers>=2" # via trio
]
docs = [
"sphinx>=7.1.0",
Expand Down

0 comments on commit 52dc228

Please sign in to comment.