diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b053784c..8a3e3621 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,7 @@ jobs: uv python install ${{ matrix.python-version }} uv venv --python ${{ matrix.python-version }} .venv - name: Change dependencies to minimal supported versions - run: sed -i -e 's/>=/==/g; s/~=.*==\(.*\)/==\1/g; s/~=/==/g;' pyproject.toml + run: sed -i -e '/requires-python/!s/>=/==/g; /requires-python/!s/~=.*==\(.*\)/==\1/g; /requires-python/!s/~=/==/g;' pyproject.toml if: matrix.dependencies == 'minimal' - name: Run tests run: |