From 83af5fbe80e2f76986c7b86d3471bde8de7f470a Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Mon, 15 May 2023 10:39:46 -0700 Subject: [PATCH 1/7] Update CHANGELOG for v1.0.0 --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2559cd46a..fdff0dd6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # 🗞️ Changelog +## Unreleased + ## [v0.15.0](https://github.com/python-adaptive/adaptive/tree/v0.15.0) (2022-11-30) [Full Changelog](https://github.com/python-adaptive/adaptive/compare/v0.14.2...v0.15.0) From bb237990bc9ae93c37d936b9e5e6729d32b10e43 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Mon, 15 May 2023 10:50:37 -0700 Subject: [PATCH 2/7] Run on push --- .github/workflows/auto-changelog-generator.yml | 9 ++++++--- LICENSE | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-changelog-generator.yml b/.github/workflows/auto-changelog-generator.yml index 03b77eb05..bb3515280 100644 --- a/.github/workflows/auto-changelog-generator.yml +++ b/.github/workflows/auto-changelog-generator.yml @@ -1,8 +1,11 @@ name: Generate Changelog +# on: +# # Manual trigger only +# workflow_dispatch: + on: - # Manual trigger only - workflow_dispatch: + - push jobs: generate-changelog: @@ -16,7 +19,7 @@ jobs: - name: Force-checkout latest commit on branch run: | git fetch - git reset --hard origin/${{ github.head_ref }} + git reset --hard "${GITHUB_REF/refs\/heads\//}" - name: Setup Ruby uses: ruby/setup-ruby@v1 diff --git a/LICENSE b/LICENSE index ecdd09650..abeb07779 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2017-2021, Adaptive authors +Copyright (c) 2017-2023, Adaptive authors All rights reserved. Redistribution and use in source and binary forms, with or without From be864e9df0553b72b807607d7ca4019445da0fcd Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Mon, 15 May 2023 10:58:12 -0700 Subject: [PATCH 3/7] Test --- .../workflows/auto-changelog-generator.yml | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/auto-changelog-generator.yml b/.github/workflows/auto-changelog-generator.yml index bb3515280..a0796e485 100644 --- a/.github/workflows/auto-changelog-generator.yml +++ b/.github/workflows/auto-changelog-generator.yml @@ -1,11 +1,13 @@ name: Generate Changelog -# on: -# # Manual trigger only -# workflow_dispatch: - on: - - push + # Manual trigger only + workflow_dispatch: + inputs: + branch: + description: 'Branch name' # The description of the input. + required: true # If the input is required or not. + jobs: generate-changelog: @@ -16,10 +18,10 @@ jobs: with: fetch-depth: 0 - - name: Force-checkout latest commit on branch - run: | - git fetch - git reset --hard "${GITHUB_REF/refs\/heads\//}" + # - name: Force-checkout latest commit on branch + # run: | + # git fetch + # git reset --hard "${GITHUB_REF/refs\/heads\//}" - name: Setup Ruby uses: ruby/setup-ruby@v1 @@ -59,4 +61,4 @@ jobs: uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.head_ref }} + branch: ${{ github.event.inputs.branch }} From 3f9542b22d570b5b9203417ce2dfc50d5f8180be Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Mon, 15 May 2023 11:00:13 -0700 Subject: [PATCH 4/7] test --- .github/workflows/auto-changelog-generator.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/auto-changelog-generator.yml b/.github/workflows/auto-changelog-generator.yml index a0796e485..dd48df3c7 100644 --- a/.github/workflows/auto-changelog-generator.yml +++ b/.github/workflows/auto-changelog-generator.yml @@ -31,17 +31,18 @@ jobs: - name: Install github-changelog-generator run: gem install github_changelog_generator - - name: Generate Changelog - run: | - github_changelog_generator \ - -u ${{ github.repository_owner }} \ - -p ${{ github.event.repository.name }} \ - --token ${{ secrets.GITHUB_TOKEN }} \ - --output CHANGELOG.md + # - name: Generate Changelog + # run: | + # github_changelog_generator \ + # -u ${{ github.repository_owner }} \ + # -p ${{ github.event.repository.name }} \ + # --token ${{ secrets.GITHUB_TOKEN }} \ + # --output CHANGELOG.md - name: Commit updated CHANGELOG.md id: commit run: | + echo "test" >> CHANGELOG.md git add CHANGELOG.md git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" From 1256daf5d0fce626742b76811ae5e3f34eb9fe3b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 15 May 2023 18:01:46 +0000 Subject: [PATCH 5/7] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fdff0dd6d..4246089b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -610,3 +610,4 @@ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* +test From 626533c6b9ac73362e73825bdfc88d88dbb5e5e1 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Mon, 15 May 2023 11:02:05 -0700 Subject: [PATCH 6/7] Update changelog --- CHANGELOG.md | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4246089b1..d5cebff21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,44 @@ # 🗞️ Changelog -## Unreleased +## [v1.0.0](https://github.com/python-adaptive/adaptive/tree/v1.0.0) + +[Full Changelog](https://github.com/python-adaptive/adaptive/compare/v0.15.0...v1.0.0) + +**Closed issues:** + +- No module named 'typing\_extensions'" [\#394](https://github.com/python-adaptive/adaptive/issues/394) +- Documentation: use cases of coroutine by Learner and Runner not properly explained [\#360](https://github.com/python-adaptive/adaptive/issues/360) + +**Merged pull requests:** + +- \[pre-commit.ci\] pre-commit autoupdate [\#426](https://github.com/python-adaptive/adaptive/pull/426) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci)) +- Allow storing the full sequence in SequenceLearner.to\_dataframe [\#425](https://github.com/python-adaptive/adaptive/pull/425) ([basnijholt](https://github.com/basnijholt)) +- \[pre-commit.ci\] pre-commit autoupdate [\#423](https://github.com/python-adaptive/adaptive/pull/423) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci)) +- Add github-changelog-generator CI workflow [\#421](https://github.com/python-adaptive/adaptive/pull/421) ([basnijholt](https://github.com/basnijholt)) +- Use versioningit to work with pyproject.toml and remove setup.py [\#420](https://github.com/python-adaptive/adaptive/pull/420) ([basnijholt](https://github.com/basnijholt)) +- Update Python version requirement to 3.9 in accordance with NEP 29 [\#418](https://github.com/python-adaptive/adaptive/pull/418) ([basnijholt](https://github.com/basnijholt)) +- Update GitHub Actions CI [\#416](https://github.com/python-adaptive/adaptive/pull/416) ([basnijholt](https://github.com/basnijholt)) +- Disable typeguard CI pipeline [\#415](https://github.com/python-adaptive/adaptive/pull/415) ([basnijholt](https://github.com/basnijholt)) +- Add mypy to pre-commit and fix all current typing issues [\#414](https://github.com/python-adaptive/adaptive/pull/414) ([basnijholt](https://github.com/basnijholt)) +- \[pre-commit.ci\] pre-commit autoupdate [\#413](https://github.com/python-adaptive/adaptive/pull/413) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci)) +- Use codecov/codecov-action instead of removed codecov package [\#412](https://github.com/python-adaptive/adaptive/pull/412) ([basnijholt](https://github.com/basnijholt)) +- Cache the loss of a SequenceLearner [\#411](https://github.com/python-adaptive/adaptive/pull/411) ([basnijholt](https://github.com/basnijholt)) +- Only really import packages when needed [\#410](https://github.com/python-adaptive/adaptive/pull/410) ([basnijholt](https://github.com/basnijholt)) +- Remove \_RequireAttrsABCMeta metaclass and replace with simple check [\#409](https://github.com/python-adaptive/adaptive/pull/409) ([basnijholt](https://github.com/basnijholt)) +- Use the build module [\#407](https://github.com/python-adaptive/adaptive/pull/407) ([basnijholt](https://github.com/basnijholt)) +- Avoid asyncio.coroutine error in Readthedocs.org builds [\#406](https://github.com/python-adaptive/adaptive/pull/406) ([basnijholt](https://github.com/basnijholt)) +- Bump scikit-optimize in environment.yml [\#403](https://github.com/python-adaptive/adaptive/pull/403) ([basnijholt](https://github.com/basnijholt)) +- Replace isort, flake8, and pyupgrade by ruff [\#402](https://github.com/python-adaptive/adaptive/pull/402) ([basnijholt](https://github.com/basnijholt)) +- Move to pyproject.toml based install [\#401](https://github.com/python-adaptive/adaptive/pull/401) ([basnijholt](https://github.com/basnijholt)) +- Rewrite parts of README, reorder sections, and add features section [\#400](https://github.com/python-adaptive/adaptive/pull/400) ([basnijholt](https://github.com/basnijholt)) +- \[pre-commit.ci\] pre-commit autoupdate [\#398](https://github.com/python-adaptive/adaptive/pull/398) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci)) +- \[pre-commit.ci\] pre-commit autoupdate [\#397](https://github.com/python-adaptive/adaptive/pull/397) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci)) +- Use nb\_execution\_raise\_on\_error Sphinx myst-nb option [\#396](https://github.com/python-adaptive/adaptive/pull/396) ([basnijholt](https://github.com/basnijholt)) +- \[pre-commit.ci\] pre-commit autoupdate [\#395](https://github.com/python-adaptive/adaptive/pull/395) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci)) +- \[pre-commit.ci\] pre-commit autoupdate [\#393](https://github.com/python-adaptive/adaptive/pull/393) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci)) +- \[pre-commit.ci\] pre-commit autoupdate [\#392](https://github.com/python-adaptive/adaptive/pull/392) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci)) +- Add nbQA for notebook and docs linting [\#361](https://github.com/python-adaptive/adaptive/pull/361) ([basnijholt](https://github.com/basnijholt)) +- Fix HoloViews opts deprecation warnings [\#357](https://github.com/python-adaptive/adaptive/pull/357) ([basnijholt](https://github.com/basnijholt)) ## [v0.15.0](https://github.com/python-adaptive/adaptive/tree/v0.15.0) (2022-11-30) From 3d8957a84349102edddefca6453183cd3fcaa543 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Mon, 15 May 2023 11:02:37 -0700 Subject: [PATCH 7/7] cleanup .github/workflows/auto-changelog-generator.yml --- .../workflows/auto-changelog-generator.yml | 25 +++++++------------ CHANGELOG.md | 1 - 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/.github/workflows/auto-changelog-generator.yml b/.github/workflows/auto-changelog-generator.yml index dd48df3c7..5cb0f7d12 100644 --- a/.github/workflows/auto-changelog-generator.yml +++ b/.github/workflows/auto-changelog-generator.yml @@ -5,9 +5,8 @@ on: workflow_dispatch: inputs: branch: - description: 'Branch name' # The description of the input. - required: true # If the input is required or not. - + description: 'Branch name' + required: true jobs: generate-changelog: @@ -18,11 +17,6 @@ jobs: with: fetch-depth: 0 - # - name: Force-checkout latest commit on branch - # run: | - # git fetch - # git reset --hard "${GITHUB_REF/refs\/heads\//}" - - name: Setup Ruby uses: ruby/setup-ruby@v1 with: @@ -31,18 +25,17 @@ jobs: - name: Install github-changelog-generator run: gem install github_changelog_generator - # - name: Generate Changelog - # run: | - # github_changelog_generator \ - # -u ${{ github.repository_owner }} \ - # -p ${{ github.event.repository.name }} \ - # --token ${{ secrets.GITHUB_TOKEN }} \ - # --output CHANGELOG.md + - name: Generate Changelog + run: | + github_changelog_generator \ + -u ${{ github.repository_owner }} \ + -p ${{ github.event.repository.name }} \ + --token ${{ secrets.GITHUB_TOKEN }} \ + --output CHANGELOG.md - name: Commit updated CHANGELOG.md id: commit run: | - echo "test" >> CHANGELOG.md git add CHANGELOG.md git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" diff --git a/CHANGELOG.md b/CHANGELOG.md index d5cebff21..03f7b4811 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -648,4 +648,3 @@ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* -test