diff --git a/.github/workflows/test_branches.yml b/.github/workflows/test_branches.yml index 109aa2c38d5..530ab9cc4e1 100644 --- a/.github/workflows/test_branches.yml +++ b/.github/workflows/test_branches.yml @@ -375,8 +375,10 @@ jobs: echo "" echo "*** Install Pyomo dependencies ***" # For windows, cannot use newer setuptools because of APPSI compilation issues + # There seems to be some specific problem with platformdirs 4.5.0 + # on win 3.13/3.14 as of 2025-10-23 if test "${{matrix.TARGET}}" == 'win'; then - CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0" + CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0 platformdirs!=4.5.0" fi # Note: this will fail the build if any installation fails (or # possibly if it outputs messages to stderr) diff --git a/.github/workflows/test_pr_and_main.yml b/.github/workflows/test_pr_and_main.yml index 906d802ce4b..59924f6d0e1 100644 --- a/.github/workflows/test_pr_and_main.yml +++ b/.github/workflows/test_pr_and_main.yml @@ -427,8 +427,10 @@ jobs: echo "" echo "*** Install Pyomo dependencies ***" # For windows, cannot use newer setuptools because of APPSI compilation issues + # There seems to be some specific problem with platformdirs 4.5.0 + # on win 3.13/3.14 as of 2025-10-23 if test "${{matrix.TARGET}}" == 'win'; then - CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0" + CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0 platformdirs!=4.5.0" fi # Note: this will fail the build if any installation fails (or # possibly if it outputs messages to stderr)