Skip to content

Commit 16baa9a

Browse files
committed
Sync two files plus add comments
1 parent 982af7a commit 16baa9a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/test_branches.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,10 @@ jobs:
375375
echo ""
376376
echo "*** Install Pyomo dependencies ***"
377377
# For windows, cannot use newer setuptools because of APPSI compilation issues
378+
# There are also issues with newer platformdirs on windows for 3.13/3.14,
379+
# so pinning that plus a generally considered more "stable" pip version
378380
if test "${{matrix.TARGET}}" == 'win'; then
379-
CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0"
381+
CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0 platformdirs<3.0 pip<25.0"
380382
fi
381383
# Note: this will fail the build if any installation fails (or
382384
# possibly if it outputs messages to stderr)

.github/workflows/test_pr_and_main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,9 @@ jobs:
426426
done
427427
echo ""
428428
echo "*** Install Pyomo dependencies ***"
429-
# For windows, cannot use newer setuptools because of APPSI compilation issues
429+
# For windows, cannot use newer setuptools because of APPSI compilation issues.
430+
# There are also issues with newer platformdirs on windows for 3.13/3.14,
431+
# so pinning that plus a generally considered more "stable" pip version
430432
if test "${{matrix.TARGET}}" == 'win'; then
431433
CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0 platformdirs<3.0 pip<25.0"
432434
fi

0 commit comments

Comments
 (0)