From 8aa2cecd03f7b48f0d7133f62be3280577e10e32 Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Sat, 7 Oct 2023 20:40:00 -0400 Subject: [PATCH] Fix tests (#989) * Fix tests * . --- .github/workflows/test.yml | 2 +- tests/cli/env/test_show.py | 18 +++++++++--------- tests/index/server/devpi/Dockerfile | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a83437907..6262f3fb4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.9'] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v3 diff --git a/tests/cli/env/test_show.py b/tests/cli/env/test_show.py index 3588ce243..9cc2f42a2 100644 --- a/tests/cli/env/test_show.py +++ b/tests/cli/env/test_show.py @@ -439,15 +439,15 @@ def test_context_formatting(hatch, helpers, temp_dir, config_file): +======+=========+==============+=======================+ | foo | virtual | pydantic | BAR=FOO_BAR | +------+---------+--------------+-----------------------+ - Matrices - +---------+---------+------------+-------------------------+ - | Name | Type | Envs | Dependencies | - +=========+=========+============+=========================+ - | default | virtual | py39-9000 | foo @ {root:uri}/../foo | - | | | py39-3.14 | | - | | | py310-9000 | | - | | | py310-3.14 | | - +---------+---------+------------+-------------------------+ + Matrices + +---------+---------+------------+------------------------+ + | Name | Type | Envs | Dependencies | + +=========+=========+============+========================+ + | default | virtual | py39-9000 | foo@ {root:uri}/../foo | + | | | py39-3.14 | | + | | | py310-9000 | | + | | | py310-3.14 | | + +---------+---------+------------+------------------------+ """ ) diff --git a/tests/index/server/devpi/Dockerfile b/tests/index/server/devpi/Dockerfile index d00434f84..01d4c0ddd 100644 --- a/tests/index/server/devpi/Dockerfile +++ b/tests/index/server/devpi/Dockerfile @@ -1,4 +1,4 @@ -FROM python:alpine +FROM python:3.11-alpine RUN apk add --update build-base && \ pip install -U devpi-server devpi-client devpi-web