diff --git a/requirements/pre_test_problematic_version.txt b/requirements/pre_test_problematic_version.txt index 8081ee43b..d2163de8f 100644 --- a/requirements/pre_test_problematic_version.txt +++ b/requirements/pre_test_problematic_version.txt @@ -1,5 +1,3 @@ -mpmath!=1.4.0a0 ipykernel!=7.0.0a0,!=7.0.0a1 sentry-sdk!=3.0.0a1,!=3.0.0a2,!=3.0.0a3,!=3.0.0a4,!=3.0.0a5,!=3.0.0a6,!=3.0.0a7 pydantic!=2.14.0a1 -mpmath!=1.5.0a0 diff --git a/tox.ini b/tox.ini index f56366c4b..e618bf690 100644 --- a/tox.ini +++ b/tox.ini @@ -116,6 +116,23 @@ deps = pytest-azurepipelines {[testenv]deps} +[testenv:pyinstaller-pre] +base_python = python3.12 +skip_install = true +allowlist_externals = + dist/PartSeg/PartSeg + uv +commands_pre = + uv pip compile --prerelease allow --python-version 3.12 --upgrade -o {envtmpdir}/requirements-pyinstaller-pre.txt pyproject.toml requirements/pre_test_problematic_version.txt --extra pyinstaller + uv pip install -r {envtmpdir}/requirements-pyinstaller-pre.txt + uv pip install --no-deps . +commands = + python build_utils/create_and_pack_executable.py +commands_post = + dist/PartSeg/PartSeg _test + + + [testenv:jupyter] deps =