From eb59d966b6ba7e34071088de16f33d9cee682102 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 4 Apr 2023 19:51:51 +0900 Subject: [PATCH] remove pytest-shard (#8665) --- .github/workflows/ci.yml | 3 +-- ci-constraints-requirements.txt | 3 --- pyproject.toml | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8a3320c3..16787de8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -431,7 +431,6 @@ jobs: PYTHON: - {VERSION: "3.7", NOXSESSION: "tests-nocoverage"} - {VERSION: "3.11", NOXSESSION: "tests"} - JOB_NUMBER: [0, 1] timeout-minutes: 15 steps: - uses: actions/checkout@v3.5.0 @@ -478,7 +477,7 @@ jobs: NOXSESSION: ${{ matrix.PYTHON.NOXSESSION }} CARGO_TARGET_DIR: ${{ format('{0}/src/rust/target/', github.workspace) }} - name: Tests - run: nox --no-install -- --color=yes --wycheproof-root=wycheproof --num-shards=2 --shard-id=${{ matrix.JOB_NUMBER }} + run: nox --no-install -- --color=yes --wycheproof-root=wycheproof env: NOXSESSION: ${{ matrix.PYTHON.NOXSESSION }} COLUMNS: 80 diff --git a/ci-constraints-requirements.txt b/ci-constraints-requirements.txt index 20bf7a5ce..92fb5fc9d 100644 --- a/ci-constraints-requirements.txt +++ b/ci-constraints-requirements.txt @@ -111,7 +111,6 @@ pytest==7.2.2 # pytest-benchmark # pytest-cov # pytest-randomly - # pytest-shard # pytest-xdist pytest-benchmark==4.0.0 # via cryptography (pyproject.toml) @@ -119,8 +118,6 @@ pytest-cov==4.0.0 # via cryptography (pyproject.toml) pytest-randomly==3.12.0 # via cryptography (pyproject.toml) -pytest-shard==0.1.2 - # via cryptography (pyproject.toml) pytest-xdist==3.2.1 # via cryptography (pyproject.toml) readme-renderer==37.3 diff --git a/pyproject.toml b/pyproject.toml index 480b4fbbe..8024179a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,7 +75,6 @@ ssh = ["bcrypt >=3.1.5"] nox = ["nox"] test = [ "pytest >=6.2.0", - "pytest-shard >=0.1.2", "pytest-benchmark", "pytest-cov", "pytest-xdist",