Skip to content

Commit a0ed9ce

Browse files
authored
Merge branch 'main' into ajb/forecasting_cov
2 parents 9cba387 + d181cbd commit a0ed9ce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2618
-6096
lines changed

.github/actions/cpu_all_extras/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ runs:
1515
using: "composite"
1616
steps:
1717
- name: Install CPU TensorFlow
18-
if: ${{ runner.os == 'Linux' && inputs.python_version != '3.13.5' }}
18+
if: ${{ runner.os == 'Linux' && inputs.python_version != '3.13' }}
1919
uses: nick-fields/retry@v3
2020
with:
2121
timeout_minutes: 30

.github/utilities/ai_spam.py renamed to .github/utilities/ai_pull_request.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@
1818
pr = repo.get_pull(pr_number)
1919
label_name = context_dict["event"]["label"]["name"]
2020

21-
if label_name == "AI Spam":
22-
comment_body = (
23-
"This pull request has been flagged with the **AI Spam** label.\n\n"
24-
"This PR is being closed."
21+
if label_name == "AI pull request":
22+
pr.create_issue_comment(
23+
"This pull request has been flagged with the **AI pull request** label as it"
24+
"is suspected to be comprised of mostly AI code.\n\n"
25+
"`aeon` does not accept pull requests that are primarily generated by AI "
26+
"tools.\n\n"
27+
"If you believe this label has been applied in error, contact us on Slack or"
28+
"GitHub."
2529
)
26-
pr.create_issue_comment(comment_body)
2730
pr.edit(state="closed")

.github/workflows/issue_assigned.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Issue Assigned
1+
name: Issue assigned
22

33
on:
44
issues:

.github/workflows/issue_comment_edited.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Issue Comment Edited
1+
name: Issue comment edited
22

33
on:
44
issue_comment:

.github/workflows/issue_comment_posted.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Issue Comment Posted
1+
name: Issue comment posted
22

33
on:
44
issue_comment:

.github/workflows/periodic_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Periodic Tests
1+
name: Periodic tests
22

33
on:
44
schedule:
@@ -163,7 +163,7 @@ jobs:
163163
fail-fast: false
164164
matrix:
165165
os: [ ubuntu-24.04, macOS-14, windows-2022 ]
166-
python-version: [ "3.10", "3.11", "3.12", "3.13.5" ]
166+
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
167167

168168
steps:
169169
- name: Checkout
@@ -239,7 +239,7 @@ jobs:
239239
run: python -m pip list
240240

241241
- name: Run tests
242-
run: python -m pytest -n logical --doctest-only
242+
run: python -m pytest -n logical --doctest-only --doctest-continue-on-failure
243243

244244
multithreaded-estimators:
245245
runs-on: ubuntu-24.04

.github/workflows/ai_spam.yml renamed to .github/workflows/pr_labelled.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: AI Spam Detection On PR
1+
name: Pull request labelled
22

33
on:
44
pull_request:
@@ -9,8 +9,8 @@ concurrency:
99
cancel-in-progress: true
1010

1111
jobs:
12-
ai-spam-present:
13-
if: ${{ github.event.label.name == 'AI Spam' }}
12+
ai-pull-request:
13+
if: ${{ github.event.label.name == 'AI pull request' }}
1414
runs-on: ubuntu-24.04
1515

1616
steps:
@@ -26,15 +26,15 @@ jobs:
2626
with:
2727
sparse-checkout: .github/utilities
2828

29-
- name: Setup Python 3.11
29+
- name: Setup Python 3.12
3030
uses: actions/setup-python@v5
3131
with:
32-
python-version: "3.11"
32+
python-version: "3.12"
3333

3434
- name: Install PyGithub
3535
run: pip install -Uq PyGithub
3636

37-
- name: Process AI Spam
37+
- name: Process AI label
3838
id: handle_spam
3939
run: python .github/utilities/ai_spam.py
4040
env:

.github/workflows/pr_opened.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PR Opened
1+
name: PR opened
22

33
on:
44
pull_request_target:

.github/workflows/pr_pytest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
fail-fast: false
5656
matrix:
5757
os: [ ubuntu-24.04, macOS-14, windows-2022 ]
58-
python-version: [ "3.10", "3.11", "3.12", "3.13.5" ]
58+
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
5959
# skip python versions unless the PR has the 'full pytest actions' label
6060
pr-testing:
6161
- ${{ (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'full pytest actions')) }}
@@ -128,7 +128,7 @@ jobs:
128128
run: python -m pip list
129129

130130
- name: Run tests
131-
run: python -m pytest -n logical --doctest-only
131+
run: python -m pytest -n logical --doctest-only --doctest-continue-on-failure
132132

133133
multithreaded-estimators:
134134
runs-on: ubuntu-24.04

.github/workflows/pr_typecheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: PR Typecheck
1+
name: PR typecheck
22

33
on:
44
push:

0 commit comments

Comments
 (0)