Skip to content

Commit 16ad75f

Browse files
committed
Specifically avoid 4.5.0
1 parent 16baa9a commit 16ad75f

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/workflows/test_branches.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,10 +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
378+
# There seems to be some specific problem with platformdirs 4.5.0
379+
# on win 3.13/3.14 as of 2025-10-23
380380
if test "${{matrix.TARGET}}" == 'win'; then
381-
CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0 platformdirs<3.0 pip<25.0"
381+
CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0 platformdirs!=4.5.0"
382382
fi
383383
# Note: this will fail the build if any installation fails (or
384384
# possibly if it outputs messages to stderr)

.github/workflows/test_pr_and_main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -426,11 +426,11 @@ jobs:
426426
done
427427
echo ""
428428
echo "*** Install Pyomo dependencies ***"
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
429+
# For windows, cannot use newer setuptools because of APPSI compilation issues
430+
# There seems to be some specific problem with platformdirs 4.5.0
431+
# on win 3.13/3.14 as of 2025-10-23
432432
if test "${{matrix.TARGET}}" == 'win'; then
433-
CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0 platformdirs<3.0 pip<25.0"
433+
CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0 platformdirs!=4.5.0"
434434
fi
435435
# Note: this will fail the build if any installation fails (or
436436
# possibly if it outputs messages to stderr)

4.4

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Channels:
2+
- defaults
3+
Platform: osx-arm64
4+
Collecting package metadata (repodata.json): ...working... done
5+
Solving environment: ...working... failed

0 commit comments

Comments
 (0)