Repository: sktime/sktime
Pull request #6226 (2024-03-27 20:54:20)

[MNT] [Dependabot](deps): Bump tj-actions/changed-files from 43 to 44
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 43 to 44.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tj-actions/changed-files/releases">tj-actions/changed-files's releases</a>.</em></p>
<blockquote>
<h2>v44</h2>
<h1>Changes in v44.0.0</h1>
<h2>🔥🔥 BREAKING CHANGE 🔥🔥</h2>
<h3>Overview</h3>
<p>We've made a significant update to how pull requests (PRs) from forked repositories are processed. This improvement not only streamlines the handling of such PRs but also fixes a previously identified issue.</p>
<h3>Before the Change</h3>
<p>Previously, when you created a pull request from a forked repository, any files changed in the target branch after the PR creation would erroneously appear as part of the PR's changed files. This made it difficult to distinguish between the actual changes introduced by the PR and subsequent changes made directly to the target branch.</p>
<h3>What Has Changed</h3>
<p>With this update, a pull request from a fork will now <strong>only</strong> include the files that were explicitly changed in the fork. This ensures that the list of changed files in a PR accurately reflects the contributions from the fork, without being muddled by unrelated changes to the target branch.</p>
<hr />
<h2>What's Changed</h2>
<ul>
<li>Upgraded to v43.0.1 by <a href="https://github.com/tj-actions-bot"><code>@​tj-actions-bot</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2004">tj-actions/changed-files#2004</a></li>
<li>chore(deps): lock file maintenance by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2005">tj-actions/changed-files#2005</a></li>
<li>chore(deps): update typescript-eslint monorepo to v7.4.0 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2006">tj-actions/changed-files#2006</a></li>
<li>fix: bug with prs from forks returning incorrect set of changed files by <a href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2007">tj-actions/changed-files#2007</a></li>
<li>fix: check for setting remote urls for forks by <a href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2009">tj-actions/changed-files#2009</a></li>
<li>fix: update to add the fork remote by <a href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2010">tj-actions/changed-files#2010</a></li>
<li>fix: update previous sha for forks by <a href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2011">tj-actions/changed-files#2011</a></li>
<li>fix: ensure the fork remote doesn't exists before creating it by <a href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2012">tj-actions/changed-files#2012</a></li>
<li>chore: update description of other_deleted_files output by <a href="https://github.com/tonyejack1"><code>@​tonyejack1</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2008">tj-actions/changed-files#2008</a></li>
<li>Updated README.md by <a href="https://github.com/tj-actions-bot"><code>@​tj-actions-bot</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2013">tj-actions/changed-files#2013</a></li>
<li>remove: unused code by <a href="https://github.com/jackton1"><code>@​jackton1</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2014">tj-actions/changed-files#2014</a></li>
<li>chore: update description of outputs removing asterisks  by <a href="https://github.com/tonyejack1"><code>@​tonyejack1</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2015">tj-actions/changed-files#2015</a></li>
<li>Updated README.md by <a href="https://github.com/tj-actions-bot"><code>@​tj-actions-bot</code></a> in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2016">tj-actions/changed-files#2016</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tonyejack1"><code>@​tonyejack1</code></a> made their first contribution in <a href="https://redirect.github.com/tj-actions/changed-files/pull/2008">tj-actions/changed-files#2008</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/tj-actions/changed-files/compare/v43.0.1...v44.0.0">https://github.com/tj-actions/changed-files/compare/v43.0.1...v44.0.0</a></p>
<hr />
<h2>v44.0.0</h2>
<h2>🔥🔥 BREAKING CHANGE 🔥🔥</h2>
<h3>Overview</h3>
<p>We've made a significant update to how pull requests (PRs) from forked repositories are processed. This improvement not only streamlines the handling of such PRs but also fixes a previously identified issue.</p>
<h3>Before the Change</h3>
<p>Previously, when you created a pull request from a forked repository, any files changed in the target branch after the PR creation would erroneously appear as part of the PR's changed files. This made it difficult to distinguish between the actual changes introduced by the PR and subsequent changes made directly to the target branch.</p>
<h3>What Has Changed</h3>
<p>With this update, a pull request from a fork will now <strong>only</strong> include the files that were explicitly changed in the fork. This ensures that the list of changed files in a PR accurately reflects the contributions from the fork, without being muddled by unrelated changes to the target branch.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tj-actions/changed-files/blob/main/HISTORY.md">tj-actions/changed-files's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h1><a href="https://github.com/tj-actions/changed-files/compare/v43.0.1...v44.0.0">44.0.0</a> - (2024-03-27)</h1>
<h2><!-- raw HTML omitted -->🐛 Bug Fixes</h2>
<ul>
<li>Ensure the fork remote doesn't exists before creating it (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2012">#2012</a>) (<a href="https://github.com/tj-actions/changed-files/commit/4bbd49b9986b1300b75e8efb5778350b750ae6c8">4bbd49b</a>)  - (Tonye Jack)</li>
<li>Update previos sha for forks (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2011">#2011</a>) (<a href="https://github.com/tj-actions/changed-files/commit/f0e7702ccc35952acb83edeb7400b05c0a67e2be">f0e7702</a>)  - (Tonye Jack)</li>
<li>Update to add the fork remote (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2010">#2010</a>) (<a href="https://github.com/tj-actions/changed-files/commit/6354e6c5426d1e7c7a2d8a5887e26b535837958e">6354e6c</a>)  - (Tonye Jack)</li>
<li>Check for setting remote urls for forks (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2009">#2009</a>) (<a href="https://github.com/tj-actions/changed-files/commit/117616472fb771d9e030aa0c3741057ad520d9cf">1176164</a>)  - (Tonye Jack)</li>
<li>Bug with prs from forks returning incorrect set of changed files (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2007">#2007</a>) (<a href="https://github.com/tj-actions/changed-files/commit/4ff79362e5015d6d0c6c0050b3082c97a5b7e84a">4ff7936</a>)  - (Tonye Jack)</li>
</ul>
<h2><!-- raw HTML omitted -->➖ Remove</h2>
<ul>
<li>Unused code (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2014">#2014</a>) (<a href="https://github.com/tj-actions/changed-files/commit/90941b398f6d8d3ade3e2b8f179d0c64f3679de6">90941b3</a>)  - (Tonye Jack)</li>
</ul>
<h2><!-- raw HTML omitted -->🔄 Update</h2>
<ul>
<li>Updated README.md (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2016">#2016</a>)</li>
</ul>
<p>Co-authored-by: jackton1 <a href="mailto:17484350+jackton1@users.noreply.github.com">17484350+jackton1@users.noreply.github.com</a> (<a href="https://github.com/tj-actions/changed-files/commit/2d756ea4c53f7f6b397767d8723b3a10a9f35bf2">2d756ea</a>)  - (tj-actions[bot])</p>
<ul>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-files/commit/2d21bbb405b3e0e15479b93c4d9989b4b780a266">2d21bbb</a>)  - (Tonye Jack)</li>
<li>Updated README.md (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2013">#2013</a>)</li>
</ul>
<p>Co-authored-by: jackton1 <a href="mailto:17484350+jackton1@users.noreply.github.com">17484350+jackton1@users.noreply.github.com</a> (<a href="https://github.com/tj-actions/changed-files/commit/2ca8dc42f60aab6d0f54beb4e1bd63f15aa53632">2ca8dc4</a>)  - (tj-actions[bot])</p>
<ul>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-files/commit/4621617d4b568fe72798b05a512482442405549c">4621617</a>)  - (tonyejack1)</li>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-files/commit/c6557ed000b9d1dbc0abcb5c2a7efc1ef3baa379">c6557ed</a>)  - (Tonye Jack)</li>
<li>Update README.md (<a href="https://github.com/tj-actions/changed-files/commit/0713a11242c796d0e601c9ac8f009c2beed0d646">0713a11</a>)  - (Tonye Jack)</li>
</ul>
<h2><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h2>
<ul>
<li>Update description of outputs removing asterisks (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2015">#2015</a>) (<a href="https://github.com/tj-actions/changed-files/commit/ce497c39e9043c5dec72f4506445f6b5dbd1f027">ce497c3</a>)  - (tonyejack1)</li>
<li>Update description of other_deleted_files output (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2008">#2008</a>) (<a href="https://github.com/tj-actions/changed-files/commit/ee096d679e877096b9d6e42066f654e0d9d65b1a">ee096d6</a>)  - (tonyejack1)</li>
<li><strong>deps:</strong> Update typescript-eslint monorepo to v7.4.0 (<a href="https://github.com/tj-actions/changed-files/commit/064742427d8106b59345e3fabb40031068c82c41">0647424</a>)  - (renovate[bot])</li>
<li><strong>deps:</strong> Lock file maintenance (<a href="https://github.com/tj-actions/changed-files/commit/efe5e6c7a415f33e8936dea8c45a8fe80be66a92">efe5e6c</a>)  - (renovate[bot])</li>
</ul>
<h2><!-- raw HTML omitted -->⬆️ Upgrades</h2>
<ul>
<li>Upgraded to v43.0.1 (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2004">#2004</a>)</li>
</ul>
<p>Co-authored-by: jackton1 <a href="mailto:17484350+jackton1@users.noreply.github.com">17484350+jackton1@users.noreply.github.com</a> (<a href="https://github.com/tj-actions/changed-files/commit/01e9662a12a71c5aea74e82ca1c58fa76a640c61">01e9662</a>)  - (tj-actions[bot])</p>
<h1><a href="https://github.com/tj-actions/changed-files/compare/v43.0.0...v43.0.1">43.0.1</a> - (2024-03-20)</h1>
<h2><!-- raw HTML omitted -->🐛 Bug Fixes</h2>
<ul>
<li>Remove warning with detecting the local git repository when using Github's REST API (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2002">#2002</a>) (<a href="https://github.com/tj-actions/changed-files/commit/077b23f6a68d9322b1b4ed4d0c88791b30b314d8">077b23f</a>)  - (Tonye Jack)</li>
</ul>
<h2><!-- raw HTML omitted -->📦 Bumps</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/tj-actions/changed-files/commit/2d756ea4c53f7f6b397767d8723b3a10a9f35bf2"><code>2d756ea</code></a> Updated README.md (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2016">#2016</a>)</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/ce497c39e9043c5dec72f4506445f6b5dbd1f027"><code>ce497c3</code></a> chore: update description of outputs removing asterisks (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2015">#2015</a>)</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/2d21bbb405b3e0e15479b93c4d9989b4b780a266"><code>2d21bbb</code></a> Update README.md</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/90941b398f6d8d3ade3e2b8f179d0c64f3679de6"><code>90941b3</code></a> remove: unused code (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2014">#2014</a>)</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/2ca8dc42f60aab6d0f54beb4e1bd63f15aa53632"><code>2ca8dc4</code></a> Updated README.md (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2013">#2013</a>)</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/ee096d679e877096b9d6e42066f654e0d9d65b1a"><code>ee096d6</code></a> chore: update description of other_deleted_files output (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2008">#2008</a>)</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/4621617d4b568fe72798b05a512482442405549c"><code>4621617</code></a> Update README.md</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/4bbd49b9986b1300b75e8efb5778350b750ae6c8"><code>4bbd49b</code></a> fix: ensure the fork remote doesn't exists before creating it (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2012">#2012</a>)</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/c6557ed000b9d1dbc0abcb5c2a7efc1ef3baa379"><code>c6557ed</code></a> Update README.md</li>
<li><a href="https://github.com/tj-actions/changed-files/commit/f0e7702ccc35952acb83edeb7400b05c0a67e2be"><code>f0e7702</code></a> fix: update previos sha for forks (<a href="https://redirect.github.com/tj-actions/changed-files/issues/2011">#2011</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tj-actions/changed-files/compare/v43...v44">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tj-actions/changed-files&package-manager=github_actions&previous-version=43&new-version=44)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>


Patch:
diff --git a/pyproject.toml b/pyproject.toml
index d60b99911..c4f47f25c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -108,7 +108,7 @@ all_extras = [
   "statsmodels>=0.12.1",
   'stumpy>=1.5.1; python_version < "3.11"',
   'tbats>=1.1; python_version < "3.12"',
-  'temporian<0.8.0,>=0.7.0; python_version < "3.12" and sys_platform != "win32"',
+  'temporian<0.9.0,>=0.7.0,!=0.8.0; python_version < "3.12" and sys_platform != "win32"',
   'tensorflow<2.17,>=2; python_version < "3.12"',
   'tsbootstrap<0.2,>=0.1.0',
   'tsfresh>=0.17; python_version < "3.12"',
@@ -147,7 +147,7 @@ all_extras_pandas2 = [
   "statsmodels>=0.12.1",
   'stumpy>=1.5.1; python_version < "3.11"',
   'tbats>=1.1; python_version < "3.12"',
-  'temporian<0.8.0,>=0.7.0; python_version < "3.12" and sys_platform != "win32"',
+  'temporian<0.9.0,>=0.7.0,!=0.8.0; python_version < "3.12" and sys_platform != "win32"',
   'tensorflow<2.17,>=2; python_version < "3.12"',
   'tsbootstrap<0.2,>=0.1.0',
   'tsfresh>=0.17; python_version < "3.12"',
@@ -214,7 +214,7 @@ transformations = [
   "pykalman<0.10,>=0.9.5",
   "statsmodels<0.15,>=0.12.1",
   'stumpy<1.13,>=1.5.1; python_version < "3.12"',
-  'temporian<0.8.0,>=0.7.0; python_version < "3.12" and sys_platform != "win32"',
+  'temporian<0.9.0,>=0.7.0,!=0.8.0; python_version < "3.12" and sys_platform != "win32"',
   'tsbootstrap<0.2,>=0.1.0',
   'tsfresh<0.21,>=0.17; python_version < "3.12"',
 ]
diff --git a/sktime/transformations/bootstrap/_tsbootstrap.py b/sktime/transformations/bootstrap/_tsbootstrap.py
index 695a57b9a..af3d2fb07 100644
--- a/sktime/transformations/bootstrap/_tsbootstrap.py
+++ b/sktime/transformations/bootstrap/_tsbootstrap.py
@@ -119,16 +119,18 @@ class TSBootstrapAdapter(BaseTransformer):
         from sktime.utils.validation._dependencies import _check_soft_dependencies
 
         deps = cls.get_class_tag("python_dependencies")
-        _check_soft_dependencies(deps, severity="error")
 
-        from tsbootstrap import BlockBootstrap, MovingBlockBootstrap
+        if _check_soft_dependencies(deps, severity="none"):
+            from tsbootstrap import BlockBootstrap, MovingBlockBootstrap
 
-        params = [
-            {"bootstrap": BlockBootstrap(n_bootstraps=10)},
-            {
-                "bootstrap": MovingBlockBootstrap(n_bootstraps=10, block_length=4),
-                "include_actual": True,
-            },
-        ]
+            params = [
+                {"bootstrap": BlockBootstrap(n_bootstraps=10)},
+                {
+                    "bootstrap": MovingBlockBootstrap(n_bootstraps=10, block_length=4),
+                    "include_actual": True,
+                },
+            ]
+        else:
+            params = {"bootstrap": "dummy"}
 
         return params


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 359f6e569..02a099845 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -27,7 +27,7 @@ jobs:
         run: python3 -m pip install pre-commit
       - id: changed-files
         name: identify modified files
-        uses: tj-actions/changed-files@v43
+        uses: tj-actions/changed-files@v44
       - name: run pre-commit hooks on modified files
         run: pre-commit run --color always --files ${{ steps.changed-files.outputs.all_changed_files }} --show-diff-on-failure
       - name: check missing __init__ files
diff --git a/sktime/tests/test_softdeps.py b/sktime/tests/test_softdeps.py
index 39f0e4bac..e35468df4 100644
--- a/sktime/tests/test_softdeps.py
+++ b/sktime/tests/test_softdeps.py
@@ -47,17 +47,6 @@ MODULES_TO_IGNORE = ("sktime._contrib", "sktime.utils._testing")
 EXCEPTED_FROM_NO_DEP_CHECK = []
 
 
-# estimators excepted from checking that get_test_params does not import soft deps
-# this is ok, in general, for adapters to soft dependency frameworks
-# since such adapters will import estimators from the adapted framework
-EXCEPTED_FROM_GET_PARAMS_CHECK = [
-    "PyODAnnotator",  # adapters always require soft dep. Here: pyod
-    "HCrystalBallAdapter",  # adapters always require soft dep. Here: hcrystalball
-    "TSBootstrapAdapter",  # adapters always require soft dep. Here: tsbootstrap
-    "TemporianTransformer",  # adapters always require soft dep. Here: temporian
-]
-
-
 def _is_test(module):
     module_parts = module.split(".")
     return any(part in ("tests", "test") for part in module_parts)
@@ -271,9 +260,6 @@ def test_est_construct_if_softdep_available(estimator):
 @pytest.mark.parametrize("estimator", all_ests)
 def test_est_get_params_without_modulenotfound(estimator):
     """Test that estimator test parameters do not rely on soft dependencies."""
-    if estimator.__name__ in EXCEPTED_FROM_GET_PARAMS_CHECK:
-        return None
-
     try:
         estimator.get_test_params()
     except ModuleNotFoundError as e:
@@ -282,6 +268,10 @@ def test_est_get_params_without_modulenotfound(estimator):
             f"Estimator {estimator.__name__} requires soft dependencies for parameters "
             f"returned by get_test_params. Test parameters should not require "
             f"soft dependencies and use only sktime internal objects. "
+            f"In a case where soft dependencies are required, return a shorter list, "
+            f"or an empty dict, with parameter sets that do not require soft "
+            f"dependencies, gated by a dependency check, for instance using "
+            f"skbase.utils.dependencies_check_soft_dependencies with severity='none'. "
             f"Exception text: {error_msg}"
         ) from e