diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 87cede9..6852b53 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -6,6 +6,7 @@ on: paths: - "**.py" - ".github/workflows/check.yaml" + - "pyproject.toml" pull_request: branches: [dev, main] paths: @@ -26,7 +27,8 @@ jobs: id: setup-python-version shell: bash run: | - [[ '${{ matrix.python-version }}' == 'lowest' ]] && echo "python-version=3.8" || echo "python-version=${{ matrix.python-version }}" >> $GITHUB_OUTPUT + [[ '${{ matrix.python-version }}' == 'lowest' ]] && export PYTHON_VERSION="3.8" || export PYTHON_VERSION="${{ matrix.python-version }}" + echo $PYTHON_VERSION >> $GITHUB_OUTPUT - name: Install rye uses: phi-friday/install-rye@v1.5 diff --git a/pyproject.toml b/pyproject.toml index be54d7b..42f5822 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,8 +31,8 @@ Documentation = "https://async-wrapper.readthedocs.io/" Repository = "https://github.com/phi-friday/async-wrapper" [project.optional-dependencies] -uvloop = ["uvloop; platform_system != 'Windows'"] -sqlalchemy = ["sqlalchemy[asyncio]>=1.4", "greenlet>=1"] +uvloop = ["uvloop>=0.14; platform_system != 'Windows'"] +sqlalchemy = ["sqlalchemy[asyncio]>=1.4", "greenlet>=3"] test = [ "pytest>=8.0.0", "pytest-cov>=4.1.0",