Skip to content

fix(leaderboard): pin pyfixest<0.70 - #356

Merged
houtanb merged 1 commit into
forecastingresearch:mainfrom
nikbpetrov:fix/pin-pyfixest-below-0.70
Nov 9, 2026
Merged

houtanb merged 1 commit into
forecastingresearch:mainfrom
nikbpetrov:fix/pin-pyfixest-below-0.70

Conversation

@nikbpetrov

Copy link
Copy Markdown
Collaborator

pyfixest 0.70.0 (released 2026-11-08) rejects a fixed-effect column of object dtype, and two_way_fixed_effects passes question_pk and model_pk as plain object columns:

FixedEffectEvaluationError: Fixed-effect column `model_pk` has unsupported object dtype.

The requirement had no upper bound, so every fresh install, CI and the next leaderboard deploy alike, picks up 0.70.0 and the fit fails. Cap it at the last version the code was run with; casting the key columns to string and lifting the cap is a separate change.

pyfixest 0.70.0 (released 2026-11-08) rejects a fixed-effect column of object dtype, and
`two_way_fixed_effects` passes `question_pk` and `model_pk` as plain object columns:

    FixedEffectEvaluationError: Fixed-effect column `model_pk` has unsupported object dtype.

The requirement had no upper bound, so every fresh install, CI and the next leaderboard deploy
alike, picks up 0.70.0 and the fit fails. Cap it at the last version the code was run with; casting
the key columns to `string` and lifting the cap is a separate change.
@houtanb
houtanb merged commit 5ca6c48 into forecastingresearch:main Nov 9, 2026
1 check passed
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