Skip to content

Commit

Permalink
changelog and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMiddlehurst committed Jul 10, 2024
1 parent 6622178 commit 0d9e82c
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 45 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/pr_precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,8 @@ jobs:
runs-on: ubuntu-20.04

steps:
- name: Create app token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.PR_APP_ID }}
private-key: ${{ secrets.PR_APP_KEY }}

- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
token: ${{ steps.app-token.outputs.token }}

- name: Setup Python 3.10
uses: actions/setup-python@v5
Expand All @@ -43,6 +32,7 @@ jobs:
- name: List changed files
run: echo '${{ steps.changed-files.outputs.all_changed_files }}'

# only check the full repository if PR and correctly labelled
- if: ${{ github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'full pre-commit') }}
name: Full pre-commit
uses: pre-commit/action@v3.0.1
Expand All @@ -54,6 +44,23 @@ jobs:
with:
extra_args: --files ${{ steps.changed-files.outputs.all_changed_files }}

# push fixes if pre-commit fails and PR is eligible
- if: ${{ failure() && github.event_name == 'pull_request_target' && !github.event.pull_request.draft && !contains(github.event.pull_request.labels.*.name, 'stop pre-commit fixes') }}
name: Create app token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.PR_APP_ID }}
private-key: ${{ secrets.PR_APP_KEY }}

- if: ${{ failure() && github.event_name == 'pull_request_target' && !github.event.pull_request.draft && !contains(github.event.pull_request.labels.*.name, 'stop pre-commit fixes') }}
name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
token: ${{ steps.app-token.outputs.token }}

- if: ${{ failure() && github.event_name == 'pull_request_target' && !github.event.pull_request.draft && !contains(github.event.pull_request.labels.*.name, 'stop pre-commit fixes') }}
name: Push pre-commit fixes
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down
16 changes: 8 additions & 8 deletions build_tools/pr_labeler.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@
title = pr.title

title_regex_to_labels = [
(r"\bENH\b", "enhancement"),
(r"\bMNT\b", "maintenance"),
(r"\bBUG\b", "bug"),
(r"\bDOC\b", "documentation"),
(r"\bREF\b", "refactor"),
(r"\bDEP\b", "deprecation"),
(r"\bGOV\b", "governance"),
(r"\benh\b", "enhancement"),
(r"\bmnt\b", "maintenance"),
(r"\bbug\b", "bug"),
(r"\bdoc\b", "documentation"),
(r"\bref\b", "refactor"),
(r"\bdep\b", "deprecation"),
(r"\bgov\b", "governance"),
]

title_labels = [
label for regex, label in title_regex_to_labels if re.search(regex, title)
label for regex, label in title_regex_to_labels if re.search(regex, title.lower())
]
title_labels_to_add = list(set(title_labels) - set(labels))

Expand Down
6 changes: 3 additions & 3 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Changelog

All notable changes to this project will be documented in this file. The format is
based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and we adhere
based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and we adhere
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The source code for
all [releases](https://github.com/aeon-toolkit/aeon/releases) is available on GitHub.

To stay up-to-date with aeon releases, subscribe to aeon
To stay up to date with aeon releases, subscribe to aeon
[here](https://libraries.io/pypi/aeon) or follow us on
[Twitter](https://twitter.com/aeon_toolbox).

- [Version 0.109.0](changelogs/v0.10.md)
- [Version 0.10.0](changelogs/v0.10.md)
- [Version 0.9.0](changelogs/v0.9.md)
- [Version 0.8.0](changelogs/v0.8.md)
- [Version 0.7.0](changelogs/v0.7.md)
Expand Down
48 changes: 25 additions & 23 deletions docs/changelogs/v0.10.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ July 2024

## Anomaly Detection

### Bug Fixes

- [BUG] Fix broken import causing CI to fail ({pr}`1717`) {user}`MatthewMiddlehurst`

### Documentation

- [DOC] Improve anomaly detector documentation ({pr}`1647`) {user}`CodeLionX`
Expand All @@ -32,7 +28,6 @@ July 2024
### Bug Fixes

- [BUG] Fixing wrong output activation in MLPClassifier ({pr}`1597`) {user}`hadifawaz1999`
- [BUG] removed njit test exclusions ({pr}`1598`) {user}`TonyBagnall`
- [ENH,BUG] LearnedShapelets interfaced functions ({pr}`1687`) {user}`TonyBagnall`
- [BUG] Adding modelcheckpoint callback by default to deep learners when user chooses their own callbacks list ({pr}`1763`) {user}`hadifawaz1999`
- [BUG] Store n_timepoints and n_channels in fit to check in transform ({pr}`1758`) {user}`TonyBagnall`
Expand All @@ -41,6 +36,11 @@ July 2024

- [DEP] Rocket,RotationForest and FreshPrince deprecations (plus a bug fix) ({pr}`1648`) {user}`TonyBagnall`

### Documentation

- [DOC] remove ProximityTree from distance classifier notebook results display ({pr}`1745`) {user}`TonyBagnall`
- [DOC] typo in convolutions notebook ({pr}`1769`) {user}`TonyBagnall`

### Enhancements

- [ENH,BUG] LearnedShapelets interfaced functions ({pr}`1687`) {user}`TonyBagnall`
Expand All @@ -66,21 +66,14 @@ July 2024

- [ENH] Add DummyClusterer ({pr}`1567`) {user}`aadya940`
- [ENH] Simple feature based clusterers ({pr}`1548`) {user}`MatthewMiddlehurst`

### Maintenance

- [MNT] removed unused attribute from k-means ({pr}`1727`) {user}`chrisholder`
- [ENH] removed unused attribute from k-means ({pr}`1727`) {user}`chrisholder`

## Datasets

### Bug Fixes

- [BUG] Fix TSAD data loading tests and example notebooks ({pr}`1695`) {user}`CodeLionX`

### Documentation

- [DOC] added reference to docstring of MERLIN anomaly detection ({pr}`1707`) {user}`adm-unl`

### Enhancements

- [ENH] Loader for TimeEval (anomaly detection) datasets ({pr}`1588`) {user}`CodeLionX`
Expand All @@ -103,6 +96,9 @@ July 2024

## Forecasting

WARNING: The current forecasting framework is being removed in v1.0.0. To be replaced
with a new framework. See the index page for more information.

### Bug Fixes

- [BUG] remove none argument for coerce to period ({pr}`1514`) {user}`TonyBagnall`
Expand All @@ -129,6 +125,10 @@ July 2024

- [DEP] Rocket,RotationForest and FreshPrince deprecations (plus a bug fix) ({pr}`1648`) {user}`TonyBagnall`

### Documentation

- [DOC] Added All Regressors (2nd Attempt) ({pr}`1663`) {user}`Moonzyyy`

### Enhancements

- [ENH] Tidy, deprecation actions and testing for sklearn estimators ({pr}`1701`) {user}`MatthewMiddlehurst`
Expand All @@ -145,12 +145,16 @@ July 2024

## Similarity Search

### Maintenance
### Enhancements

- [MNT] Update similarity search with new base classes : Query Search ({pr}`1508`) {user}`baraline`
- [ENH] Update similarity search with new base classes : Query Search ({pr}`1508`) {user}`baraline`

## Transformations

WARNING: The current `BaseTransformer` framework is being removed in v1.0.0. To be
replaced with individual frameworks for collection and series transformations. See the
index page for more information.

### Bug Fixes

- [BUG] Convert rockets to only use 32 bit floats internally ({pr}`1612`) {user}`TonyBagnall`
Expand Down Expand Up @@ -185,6 +189,7 @@ July 2024
### Documentation

- [DOC] Add SlidingWindowSegmenter to API reference ({pr}`1600`) {user}`CodeLionX`
- [Doc] Images for "Transformations" ({pr}`1736`) {user}`Abhash297`
- [DOC] Improve BaseCollectionTransformer docstrings ({pr}`1733`) {user}`TonyBagnall`

### Enhancements
Expand Down Expand Up @@ -227,6 +232,7 @@ July 2024
### Refactored

- [ENH] Improve and refactor collection test data generation utilities ({pr}`1564`) {user}`MatthewMiddlehurst`
- [REF] Refactor `testing.utils.data_gen` into `testing.data_generation` ({pr}`1589`) {user}`MatthewMiddlehurst`

## Visualisations

Expand All @@ -236,6 +242,10 @@ July 2024

## Other

### Bug Fixes

- [BUG] Fix broken import causing CI to fail ({pr}`1717`) {user}`MatthewMiddlehurst`

### Deprecation

- [DEP] Remove probablistic class based metrics ({pr}`1630`) {user}`TonyBagnall`
Expand All @@ -245,13 +255,10 @@ July 2024

### Documentation

- [DOC] Added All Regressors (2nd Attempt) ({pr}`1663`) {user}`Moonzyyy`
- [DOC] Fixed a typo in mentoring.md ({pr}`1700`) {user}`futuer-szd`
- [MNT,DOC] Remove `extension_templates` ({pr}`1657`) {user}`MatthewMiddlehurst`
- [DOCS] Add any papers ({pr}`1526`) {user}`TonyBagnall`
- [DOC] remove ProximityTree from distance classifier notebook results display ({pr}`1745`) {user}`TonyBagnall`
- [DOC,MNT] Documentation updates and deprecation warning for `v1.0.0` ({pr}`1743`) {user}`MatthewMiddlehurst`
- [DOC] typo in convolutions notebook ({pr}`1769`) {user}`TonyBagnall`

### Maintenance

Expand All @@ -267,14 +274,9 @@ July 2024
- [MNT] Removing `tensorflow_addons` dependency ({pr}`1421`) {user}`MatthewMiddlehurst`
- [MNT] Fix certain workflow actions for forks and add button for resetting CI ({pr}`1764`) {user}`MatthewMiddlehurst`

### Refactored

- [REF] Refactor `testing.utils.data_gen` into `testing.data_generation` ({pr}`1589`) {user}`MatthewMiddlehurst`

### Other

- [DEP] Simple removals for deprecation list for 0.10 ({pr}`1644`) {user}`TonyBagnall`
- [Doc] Images for "Transformations" ({pr}`1736`) {user}`Abhash297`
- [MNT] Raise tensorflow bound to >2.13 ({pr}`1765`) {user}`TonyBagnall`

## Contributors
Expand Down

0 comments on commit 0d9e82c

Please sign in to comment.