Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add compat for statsmodels 0.7 #512

Merged
merged 3 commits into from
Mar 14, 2023
Merged

add compat for statsmodels 0.7 #512

merged 3 commits into from
Mar 14, 2023

Conversation

kleinschmidt
Copy link
Member

@kleinschmidt kleinschmidt commented Jan 24, 2023

We will tag 0.7 very soon (probably today ahahaha good one...) with changes to FunctionTerm that are breaking but do not directly affect anything that GLM itself uses. This PR should not be merged until 0.7 is tagged and CI can be run to ensure that nothing breaks in GLM, so I'll start this in draft mode and flip it out when it's time to check CI.

Update: 0.7 is now released. I've added bumped the patch version here and also fixed a bug where we were defining our own formula function instead of creating a method for StatsModels.formula.

Update to teh update: based on #500, I re-based this on a commit before #339 was merged, targeting a "backport" branch called v1.

@codecov-commenter
Copy link

codecov-commenter commented Feb 12, 2023

Codecov Report

Patch coverage: 97.52% and project coverage change: +1.35 🎉

Comparison is base (9dc4d6b) 87.39% compared to head (7f816d7) 88.75%.

❗ Current head 7f816d7 differs from pull request most recent head ceae65f. Consider uploading reports for the commit ceae65f to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##               v1     #512      +/-   ##
==========================================
+ Coverage   87.39%   88.75%   +1.35%     
==========================================
  Files           7        8       +1     
  Lines         952     1040      +88     
==========================================
+ Hits          832      923      +91     
+ Misses        120      117       -3     
Impacted Files Coverage Δ
src/GLM.jl 50.00% <ø> (ø)
src/ftest.jl 100.00% <ø> (ø)
src/glmfit.jl 81.79% <94.28%> (+0.77%) ⬆️
src/lm.jl 94.26% <97.43%> (+0.93%) ⬆️
src/deprecated.jl 100.00% <100.00%> (ø)
src/linpred.jl 91.17% <100.00%> (+5.56%) ⬆️
src/negbinfit.jl 82.66% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kleinschmidt kleinschmidt reopened this Mar 14, 2023
@kleinschmidt kleinschmidt marked this pull request as ready for review March 14, 2023 14:58
@kleinschmidt kleinschmidt requested review from palday and nalimilan and removed request for palday March 14, 2023 15:00
@kleinschmidt
Copy link
Member Author

Okay, I've double checked at least the ubuntu runs to make sure that statsmodels 0.7 was used and all tests are passing so I think this is good to go!

@kleinschmidt kleinschmidt changed the base branch from master to v1 March 14, 2023 20:57
@kleinschmidt kleinschmidt reopened this Mar 14, 2023
@kleinschmidt
Copy link
Member Author

nightly failures are due to the "evaluated to nonboolean" change for @test_broken

@kleinschmidt kleinschmidt merged commit 2c170e3 into v1 Mar 14, 2023
@kleinschmidt kleinschmidt deleted the dfk/statsmodels-7 branch March 14, 2023 21:21
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.

None yet

3 participants