FIXUP: Do not sed-replace requires-python

This commit is contained in:
Alexis Métaireau 2024-09-30 00:15:44 +02:00
parent 3a1720009f
commit 895e6f6e9d
No known key found for this signature in database
GPG key ID: 1C21B876828E5FF2

View file

@ -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: |