From a49b390c3a5632596529448ece6d12497bd4b348 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Tue, 18 Apr 2023 08:06:04 +0400 Subject: [PATCH 1/4] Bump test/docs dependencies --- docs-requirements.txt | 8 ++------ test-requirements.txt | 4 ++-- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs-requirements.txt b/docs-requirements.txt index ae0c01d..299a963 100644 --- a/docs-requirements.txt +++ b/docs-requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.8 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: # # pip-compile docs-requirements.in # @@ -40,8 +40,6 @@ idna==3.4 # trio imagesize==1.4.1 # via sphinx -importlib-metadata==5.0.0 - # via sphinx incremental==22.10.0 # via towncrier iniconfig==1.1.1 @@ -109,8 +107,6 @@ trio==0.22.0 # via -r docs-requirements.in urllib3==1.26.12 # via requests -zipp==3.10.0 - # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/test-requirements.txt b/test-requirements.txt index b1d1509..661ff71 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,3 @@ -pytest==7.2.0 +pytest==7.3.1 pytest-cov==4.0.0 -hypothesis==6.56.4 +0ypothesis==6.72.0 From c95d7807437026fb1a63eee95b7cee81d56d500b Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Tue, 18 Apr 2023 08:07:36 +0400 Subject: [PATCH 2/4] Fix typo --- test-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 661ff71..0d4be55 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,3 @@ pytest==7.3.1 pytest-cov==4.0.0 -0ypothesis==6.72.0 +hypothesis==6.72.0 From 3536b92d94c02f5d86e71aa9ca23a7cea5802324 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Tue, 18 Apr 2023 08:17:28 +0400 Subject: [PATCH 3/4] Format with black 23 --- ci.sh | 2 +- docs/source/conf.py | 1 + pytest_trio/_tests/test_async_fixture.py | 5 ----- pytest_trio/_tests/test_async_yield_fixture.py | 6 ------ pytest_trio/_tests/test_basic.py | 4 ---- pytest_trio/_tests/test_sync_fixture.py | 3 --- 6 files changed, 2 insertions(+), 19 deletions(-) diff --git a/ci.sh b/ci.sh index aae8b3c..0e02981 100755 --- a/ci.sh +++ b/ci.sh @@ -30,7 +30,7 @@ python setup.py sdist --formats=zip python -m pip install dist/*.zip if [ "$CHECK_FORMATTING" = "1" ]; then - pip install black + pip install black~=23.0 if ! black --check . ; then cat < Date: Tue, 18 Apr 2023 08:23:02 +0400 Subject: [PATCH 4/4] Bump GitHub Actions --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9544ed..b4a2701 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,9 +16,9 @@ jobs: python: ['3.7', '3.8', '3.9', '3.10', '3.11'] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '${{ matrix.python }}' - name: Run tests @@ -48,14 +48,14 @@ jobs: extra_name: ', check docs' steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 if: "!endsWith(matrix.python, '-dev')" with: python-version: '${{ matrix.python }}' - name: Setup python (dev) - uses: deadsnakes/action@v2.0.2 + uses: deadsnakes/action@v2.1.1 if: endsWith(matrix.python, '-dev') with: python-version: '${{ matrix.python }}' @@ -77,9 +77,9 @@ jobs: python: ['3.7', '3.8', '3.9', '3.10', '3.11'] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '${{ matrix.python }}' - name: Run tests