From e689df002bc7547c4295dad83a4aa65caef8f6c7 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 2 Jul 2023 22:50:06 -0700 Subject: [PATCH] Fix build for pytest config changes (#67) --- cibuildwheel.toml | 4 ++-- mypy_commit | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cibuildwheel.toml b/cibuildwheel.toml index 1159285f..86864937 100644 --- a/cibuildwheel.toml +++ b/cibuildwheel.toml @@ -34,7 +34,7 @@ before-test = [ test-command = """ \ ( \ DIR=$(python -c 'import mypy, os; dn = os.path.dirname; print(dn(dn(mypy.__path__[0])))') \ - && cp '{project}/mypy/pytest.ini' '{project}/mypy/conftest.py' $DIR \ + && cp '{project}/mypy/pyproject.toml' '{project}/mypy/conftest.py' $DIR \ \ && MYPY_TEST_DIR=$(python -c 'import mypy.test; print(mypy.test.__path__[0])') \ && MYPY_TEST_PREFIX='{project}/mypy' pytest $MYPY_TEST_DIR \ @@ -49,7 +49,7 @@ test-command = """ \ windows.test-command = """ \ bash -c "( \ DIR=$(python -c 'import mypy, os; dn = os.path.dirname; print(dn(dn(mypy.__path__[0])))') \ - && cp '{project}/mypy/pytest.ini' '{project}/mypy/conftest.py' $DIR \ + && cp '{project}/mypy/pyproject.toml' '{project}/mypy/conftest.py' $DIR \ \ && MYPY_TEST_DIR=$(python -c 'import mypy.test; print(mypy.test.__path__[0])') \ && MYPY_TEST_PREFIX='{project}/mypy' pytest $MYPY_TEST_DIR/testcheck.py \ diff --git a/mypy_commit b/mypy_commit index d614fe89..17bf5010 100644 --- a/mypy_commit +++ b/mypy_commit @@ -1 +1 @@ -2e304ca36df9975299769b3b40ec9d73ad4f68b4 +259c822938c4d3461ba80e8162faf082d487162a