Skip to content

Conversation

@blnicho
Copy link
Member

@blnicho blnicho commented Dec 12, 2025

Summary/Motivation:

A new version of platformdirs (4.5.1) is causing the win/3.13 GHA job to fail again. This is a continuation of the issue noted in #3770. This PR makes the pin on platformdirs more strict.

Changes proposed in this PR:

  • Exclude platformdirs 4.5.1 on win GHA jobs

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

# as of 2025-12-12
if test "${{matrix.TARGET}}" == 'win'; then
CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0 platformdirs!=4.5.0"
CONDA_DEPENDENCIES="$CONDA_DEPENDENCIES setuptools<74.0.0 platformdirs<4.5.0"
Copy link
Member

@jsiirola jsiirola Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only concern I have with this is we will never see if the issue is resolved (we will permanently be pinned before 4.5.0). I think I would prefer:

platformdirs!=4.5.0,!=4.5.1

(that's legal for pip... does it also work for conda?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I tried making that change and we'll see if conda is happy with it.

@codecov
Copy link

codecov bot commented Dec 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.41%. Comparing base (a079b25) to head (3bc1db9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3799   +/-   ##
=======================================
  Coverage   89.41%   89.41%           
=======================================
  Files         909      909           
  Lines      105579   105579           
=======================================
  Hits        94407    94407           
  Misses      11172    11172           
Flag Coverage Δ
builders 29.11% <ø> (-0.01%) ⬇️
default 86.04% <ø> (?)
expensive 35.76% <ø> (?)
linux 86.73% <ø> (-2.46%) ⬇️
linux_other 86.73% <ø> (ø)
osx 82.88% <ø> (ø)
win 84.98% <ø> (ø)
win_other 84.98% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@blnicho blnicho changed the title Add stricter pin on platformdirs in GHA win jobs Exclude platformdirs 4.5.1 in GHA win jobs Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants