Skip to content

Refactor xgboost dependencies for platform compatibility#156

Merged
ribalba merged 2 commits into
mainfrom
ribalba-patch-1
Jul 16, 2026
Merged

Refactor xgboost dependencies for platform compatibility#156
ribalba merged 2 commits into
mainfrom
ribalba-patch-1

Conversation

@ribalba

@ribalba ribalba commented Jul 10, 2026

Copy link
Copy Markdown
Member

Currently it fails with:

Collecting xgboost==3.3.0 (from -r metric_providers/psu/energy/ac/xgboost/machine/model/requirements.txt (line 12))
  Downloading xgboost-3.3.0-py3-none-macosx_12_0_arm64.whl.metadata (2.0 kB)
ERROR: Cannot install xgboost==3.2.0 and xgboost==3.3.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested xgboost==3.3.0
    The user requested xgboost==3.2.0

as on Darwin both settings hold

Updated xgboost-cpu and xgboost version specifications for better compatibility across platforms.
@ribalba
ribalba requested a review from ArneTR July 10, 2026 10:54
@ArneTR

ArneTR commented Jul 14, 2026

Copy link
Copy Markdown
Member

Although this PR fixes the issue it is due to a "patch by accident" if I read your intent correctly.

The switches were correct and platform compatibility was discerned correctly.

The versions got out of sync in an update it seemed. I patches this here to always install 3.3.0: ceb88f5

Still in favor for merging this, as it mitigates this problem from happening again.

Feel free to merge after view.

@ribalba
ribalba merged commit e6b4671 into main Jul 16, 2026
4 checks passed
@ArneTR
ArneTR deleted the ribalba-patch-1 branch July 23, 2026 10:01
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.

2 participants