-
Notifications
You must be signed in to change notification settings - Fork 761
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
Drop Python 3.8 from workflows, run on 3.11 #3228
Changes from 6 commits
9bbf12e
35a7925
180c531
b572b57
6be16b1
6cf1e23
354f155
226e751
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ jobs: | |
max-parallel: 4 | ||
fail-fast: false | ||
matrix: | ||
python-version: ['3.9'] | ||
python-version: ['3.12'] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why 3.12 in some places and 3.11 in others? should 3.11 be our standard latest especially in extras? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think that makes sense, updating |
||
platform: [ubuntu-latest] | ||
|
||
runs-on: ${{ matrix.platform }} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,7 +50,7 @@ def test_custom_neg_bin_cdf(total_count, probs, value): | |
@pytest.mark.parametrize("probs", [0.1, 0.5, 0.8]) | ||
@pytest.mark.parametrize("total_count", [3, 7, 100]) | ||
@pytest.mark.parametrize("value", [0.1, 0.5, 0.9]) | ||
def test_custom_neg_bin_icdf(total_count, probs, value): | ||
def test_custom_studentt_icdf(total_count, probs, value): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why studentt? (the function body refers to NegBin still. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ha! rebasing issue I suppose |
||
torch_dist = NegativeBinomial(total_count=total_count, probs=probs) | ||
scipy_dist = torch_dist.scipy_nbinom | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prophet itself only appears to support until 3.11
https://github.com/facebook/prophet/blob/main/python/pyproject.toml