Repository: Ars-Linguistica/mlconjug3 (language: python)

Issue:
Bump github/codeql-action from 2.1.27 to 2.2.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.27 to 2.2.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's changelog</a>.</em></p>
<blockquote>
<h1>CodeQL Action Changelog</h1>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<h2>2.2.1 - 27 Jan 2023</h2>
<p>No user facing changes.</p>
<h2>2.2.0 - 26 Jan 2023</h2>
<ul>
<li>Improve stability when choosing the default version of CodeQL to use in code scanning workflow runs on Actions on GitHub.com. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1475">#1475</a>
<ul>
<li>This change addresses customer reports of code scanning alerts on GitHub.com being closed and reopened during the rollout of new versions of CodeQL in the GitHub Actions <a href="https://github.com/actions/runner-images">runner images</a>.</li>
<li><strong>No change is required for the majority of workflows</strong>, including:
<ul>
<li>Workflows on GitHub.com hosted runners using the latest version (<code>v2</code>) of the CodeQL Action.</li>
<li>Workflows on GitHub.com hosted runners that are pinned to specific versions of the CodeQL Action from <code>v2.2.0</code> onwards.</li>
<li>Workflows on GitHub Enterprise Server.</li>
</ul>
</li>
<li><strong>A change may be required</strong> for workflows on GitHub.com hosted runners that are pinned to specific versions of the CodeQL Action before <code>v2.2.0</code> (e.g. <code>v2.1.32</code>):
<ul>
<li>Previously, these workflows would obtain the latest version of CodeQL from the Actions runner image.</li>
<li>Now, these workflows will download an older, compatible version of CodeQL from GitHub Releases. To use this older version, no change is required. To use the newest version of CodeQL, please update your workflows to reference the latest version of the CodeQL Action (<code>v2</code>).</li>
</ul>
</li>
<li><strong>Internal changes</strong>
<ul>
<li>These changes will not affect the majority of code scanning workflows. Continue reading only if your workflow uses <a href="https://github.com/actions/toolkit/tree/main/packages/tool-cache"><code>@​actions/tool-cache</code></a> or relies on the precise location of CodeQL within the Actions tool cache.</li>
<li>The tool cache now contains <strong>two</strong> recent CodeQL versions (previously <strong>one</strong>).</li>
<li>Each CodeQL version is located under a directory named after the release date and version number, e.g. CodeQL 2.11.6 is now located under <code>CodeQL/2.11.6-20221211/x64/codeql</code> (previously <code>CodeQL/0.0.0-20221211/x64/codeql</code>).</li>
</ul>
</li>
</ul>
</li>
<li>The maximum number of <a href="https://docs.github.com/en/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#run-object">SARIF runs</a> per file has been increased from 15 to 20 for users uploading SARIF files to GitHub.com. This change will help ensure that Code Scanning can process SARIF files generated by third-party tools that have many runs. See the <a href="https://docs.github.com/en/rest/code-scanning#upload-an-analysis-as-sarif-data">GitHub API documentation</a> for a list of all the limits around uploading SARIF. This change will be released to GitHub Enterprise Server as part of GHES 3.9.</li>
<li>Update default CodeQL bundle version to 2.12.1. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1498">#1498</a></li>
<li>Fix a bug that forced the <code>init</code> Action to run for at least two minutes on JavaScript. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1494">#1494</a></li>
</ul>
<h2>2.1.39 - 18 Jan 2023</h2>
<ul>
<li>CodeQL Action v1 is now deprecated, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see <a href="https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/">this changelog post</a>. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1466">#1467</a></li>
<li>Python automatic dependency installation will no longer fail for projects using Poetry that specify <code>virtualenvs.options.no-pip = true</code> in their <code>poetry.toml</code>. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1431">#1431</a></li>
<li>Avoid printing a stack trace and error message when the action fails to find the SHA at the
current directory. This will happen in several non-error states and so we now avoid cluttering the
log with this message. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1485">#1485</a></li>
</ul>
<h2>2.1.38 - 12 Jan 2023</h2>
<ul>
<li>Update default CodeQL bundle version to 2.12.0. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1466">#1466</a></li>
</ul>
<h2>2.1.37 - 14 Dec 2022</h2>
<ul>
<li>Update default CodeQL bundle version to 2.11.6. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1433">#1433</a></li>
</ul>
<h2>2.1.36 - 08 Dec 2022</h2>
<ul>
<li>Update default CodeQL bundle version to 2.11.5. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1412">#1412</a></li>
<li>Add a step that tries to upload a SARIF file for the workflow run when that workflow run fails. This will help better surface failed code scanning workflow runs. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1393">#1393</a></li>
<li>Python automatic dependency installation will no longer consider dependency code installed in venv as user-written, for projects using Poetry that specify <code>virtualenvs.in-project = true</code> in their <code>poetry.toml</code>. <a href="https://github-redirect.dependabot.com/github/codeql-action/pull/1419">#1419</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/github/codeql-action/commit/3ebbd71c74ef574dbc558c82f70e52732c8b44fe"><code>3ebbd71</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/github/codeql-action/issues/1514">#1514</a> from github/update-v2.2.1-4664f3969</li>
<li><a href="https://github.com/github/codeql-action/commit/2ae6e13cc3b368f33e073f195e1622fc25168471"><code>2ae6e13</code></a> Update changelog for v2.2.1</li>
<li><a href="https://github.com/github/codeql-action/commit/4664f3969953a87a13a97909e8a95ea41a8888dc"><code>4664f39</code></a> Ensure that <code>tools_download_duration_ms</code> is int (<a href="https://github-redirect.dependabot.com/github/codeql-action/issues/1513">#1513</a>)</li>
<li><a href="https://github.com/github/codeql-action/commit/b2e16761f3ad7c880bf6ad53ad7c51dd214725bc"><code>b2e1676</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/github/codeql-action/issues/1512">#1512</a> from github/mergeback/v2.2.0-to-main-436dbd91</li>
<li><a href="https://github.com/github/codeql-action/commit/592a896a5375f4df9d617255ff8abfbc6c519b25"><code>592a896</code></a> Update checked-in dependencies</li>
<li><a href="https://github.com/github/codeql-action/commit/4a6b5a54c28a8d92dd302dceca73e393af0c0ebe"><code>4a6b5a5</code></a> Update changelog and version after v2.2.0</li>
<li><a href="https://github.com/github/codeql-action/commit/436dbd9100756e97f42f45da571adeebf8270723"><code>436dbd9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/github/codeql-action/issues/1511">#1511</a> from github/update-v2.2.0-43f1a6c70</li>
<li><a href="https://github.com/github/codeql-action/commit/d9669690936acc5b287d3eb07e2ff67b06e9a1f2"><code>d966969</code></a> Remove $ from version number</li>
<li><a href="https://github.com/github/codeql-action/commit/f6d03f448d9bfe5d9aab7ff17228042db2896987"><code>f6d03f4</code></a> Update changelog for v2.2.0</li>
<li><a href="https://github.com/github/codeql-action/commit/43f1a6c701887a7392ca1f39bcc0299365ea1b71"><code>43f1a6c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/github/codeql-action/issues/1510">#1510</a> from github/henrymercer/fix-fallback-version-number</li>
<li>Additional commits viewable in <a href="https://github.com/github/codeql-action/compare/v2.1.27...3ebbd71c74ef574dbc558c82f70e52732c8b44fe">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action&package-manager=github_actions&previous-version=2.1.27&new-version=2.2.1)](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 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>


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/OSSF_scorecard.yml b/.github/workflows/OSSF_scorecard.yml
index b0f1820d..f53644ea 100644
--- a/.github/workflows/OSSF_scorecard.yml
+++ b/.github/workflows/OSSF_scorecard.yml
@@ -33,12 +33,12 @@ jobs:
 
     steps:
       - name: "Checkout code"
-        uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
+        uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
         with:
           persist-credentials: false
 
       - name: "Run analysis"
-        uses: ossf/scorecard-action@99c53751e09b9529366343771cc321ec74e9bd3d # v2.0.6
+        uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2
         with:
           results_file: results.sarif
           results_format: sarif
@@ -60,7 +60,7 @@ jobs:
       # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
       # format to the repository Actions tab.
       - name: "Upload artifact"
-        uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
+        uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
         with:
           name: SARIF file
           path: results.sarif
@@ -68,6 +68,6 @@ jobs:
 
       # Upload the results to GitHub's code scanning dashboard.
       - name: "Upload to code-scanning"
-        uses: github/codeql-action/upload-sarif@807578363a7869ca324a79039e6db9c843e0e100 # v2.1.27
+        uses: github/codeql-action/upload-sarif@3ebbd71c74ef574dbc558c82f70e52732c8b44fe # v2.2.1
         with:
           sarif_file: results.sarif
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index fbebf9fe..3d4eb749 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -71,11 +71,11 @@ jobs:
         egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
 
     - name: Checkout repository
-      uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0
+      uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v2.6.0
 
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL
-      uses: github/codeql-action/init@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
+      uses: github/codeql-action/init@3ebbd71c74ef574dbc558c82f70e52732c8b44fe # v1.1.39
       with:
         languages: ${{ matrix.language }}
         # If you wish to specify custom queries, you can do so here or in a config file.
@@ -87,7 +87,7 @@ jobs:
     # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
     # If this step fails, then you should remove it and run the build manually (see below)
     - name: Autobuild
-      uses: github/codeql-action/autobuild@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
+      uses: github/codeql-action/autobuild@3ebbd71c74ef574dbc558c82f70e52732c8b44fe # v1.1.39
 
     # ℹ️ Command-line programs to run using the OS shell.
     # 📚 https://git.io/JvXDl
@@ -101,4 +101,4 @@ jobs:
     #   make release
 
     - name: Perform CodeQL Analysis
-      uses: github/codeql-action/analyze@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
+      uses: github/codeql-action/analyze@3ebbd71c74ef574dbc558c82f70e52732c8b44fe # v1.1.39
diff --git a/.github/workflows/manual_build_workflow_trigger.yml b/.github/workflows/manual_build_workflow_trigger.yml
index a626128b..aafe3176 100644
--- a/.github/workflows/manual_build_workflow_trigger.yml
+++ b/.github/workflows/manual_build_workflow_trigger.yml
@@ -28,13 +28,13 @@ jobs:
               with:
                 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
 
-            -   uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0
+            -   uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v2.6.0
 
-            -   uses: actions/setup-python@75f3110429a8c05be0e1bf360334e4cced2b63fa # v2.3.3
+            -   uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
                 with:
                     python-version: ${{ matrix.python-version }}
 
-            -   uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3
+            -   uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 # v3.2.4
                 with:
                     path: ${{ matrix.path }}
                     key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/requirements_dev.txt') }}
diff --git a/.github/workflows/manual_codeql_workflow_trigger.yml b/.github/workflows/manual_codeql_workflow_trigger.yml
index 4c93c1d0..582589b8 100644
--- a/.github/workflows/manual_codeql_workflow_trigger.yml
+++ b/.github/workflows/manual_codeql_workflow_trigger.yml
@@ -29,11 +29,11 @@ jobs:
         egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
 
     - name: Checkout repository
-      uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0
+      uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v2.6.0
 
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL
-      uses: github/codeql-action/init@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
+      uses: github/codeql-action/init@3ebbd71c74ef574dbc558c82f70e52732c8b44fe # v1.1.39
       with:
         languages: ${{ matrix.language }}
         # If you wish to specify custom queries, you can do so here or in a config file.
@@ -45,7 +45,7 @@ jobs:
     # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
     # If this step fails, then you should remove it and run the build manually (see below)
     - name: Autobuild
-      uses: github/codeql-action/autobuild@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
+      uses: github/codeql-action/autobuild@3ebbd71c74ef574dbc558c82f70e52732c8b44fe # v1.1.39
 
     # ℹ️ Command-line programs to run using the OS shell.
     # 📚 https://git.io/JvXDl
@@ -59,4 +59,4 @@ jobs:
     #   make release
 
     - name: Perform CodeQL Analysis
-      uses: github/codeql-action/analyze@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
+      uses: github/codeql-action/analyze@3ebbd71c74ef574dbc558c82f70e52732c8b44fe # v1.1.39
diff --git a/.github/workflows/sign_and_publish.yml b/.github/workflows/sign_and_publish.yml
index 96eb32e9..07e912f6 100644
--- a/.github/workflows/sign_and_publish.yml
+++ b/.github/workflows/sign_and_publish.yml
@@ -40,7 +40,7 @@ jobs:
                 with:
                     python-version: ${{ matrix.python-version }}
 
-            -   uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3
+            -   uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 # v3.2.4
                 with:
                     path: ${{ matrix.path }}
                     key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/requirements_dev.txt') }}
diff --git a/.github/workflows/snyk-infrastructure-analysis.yml b/.github/workflows/snyk-infrastructure-analysis.yml
index 1acd2431..ac6eb4e1 100644
--- a/.github/workflows/snyk-infrastructure-analysis.yml
+++ b/.github/workflows/snyk-infrastructure-analysis.yml
@@ -22,7 +22,7 @@ jobs:
       with:
         egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
 
-    - uses: actions/checkout@61b9e3751b92087fd0b06925ba6dd6314e06f089 # master
+    - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # master
     - name: Run Snyk to check for vulnerabilities
       uses: snyk/actions/python-3.8@e25b2e6f5658d1bb7a6671b113260f13134cc3af # master
       env:
diff --git a/.github/workflows/upload_wheels_to_pypi.yml b/.github/workflows/upload_wheels_to_pypi.yml
index 4f347e71..8f8a3fce 100644
--- a/.github/workflows/upload_wheels_to_pypi.yml
+++ b/.github/workflows/upload_wheels_to_pypi.yml
@@ -49,7 +49,7 @@ jobs:
                     virtualenvs-in-project: true
             -   name: Load cached venv
                 id: cached-pip-wheels
-                uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3
+                uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 # v3.2.4
                 with:
                     path: ~/.cache
                     key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
diff --git a/pyproject.toml b/pyproject.toml
index 4a2aaae0..c3ae61e8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -35,8 +35,8 @@ python = ">=3.8.0,<3.12"
 click = "~8.1.3"
 defusedxml = "~0.7.1"
 joblib = "~1.2.0"
-scikit-learn = "==1.2.0,>=1.2.0"
-rich = "~13.2.0"
+scikit-learn = "==1.2.1"
+rich = ">=13.2,<13.4"
 pyyaml = "~6.0"
 tomlkit = "~0.11.6"
 
@@ -44,7 +44,7 @@ tomlkit = "~0.11.6"
 asq = "~1.3.0"
 bandit = "~1.7.4"
 bump2version = "~1.0.1"
-coverage = "~7.0.5"
+coverage = "~7.1.0"
 cryptography = "~39.0.0"
 docutils = "~0.19"
 mypy = "~0.991"
@@ -53,9 +53,9 @@ pytest = "~7.2.1"
 pytest-runner = "~6.0.0"
 pyyaml = "~6.0"
 sphinx = "~6.1.3"
-tox = "~4.3.5"
+tox = "~4.4.3"
 twine = "~4.0.0"
-pytest-cov = "~3.0.0"
+pytest-cov = "~4.0.0"
 codecov = "~2.1.12"
 furo = "~2022.12.7"
 


Test patch:
diff --git a/.github/workflows/manual_poetry_build_and_test.yml b/.github/workflows/manual_poetry_build_and_test.yml
index 52b59651..be330a60 100644
--- a/.github/workflows/manual_poetry_build_and_test.yml
+++ b/.github/workflows/manual_poetry_build_and_test.yml
@@ -25,9 +25,9 @@ jobs:
               with:
                 egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
 
-            -   uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0
+            -   uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v2.6.0
 
-            -   uses: actions/setup-python@75f3110429a8c05be0e1bf360334e4cced2b63fa # v2.3.3
+            -   uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
                 with:
                     python-version: ${{ matrix.python-version }}
 
@@ -38,7 +38,7 @@ jobs:
                     virtualenvs-in-project: true
             -   name: Load cached venv
                 id: cached-pip-wheels
-                uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3
+                uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 # v3.2.4
                 with:
                     path: ~/.cache
                     key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
diff --git a/.github/workflows/poetry_build_and_test.yml b/.github/workflows/poetry_build_and_test.yml
index 17e9062b..d9a32d42 100644
--- a/.github/workflows/poetry_build_and_test.yml
+++ b/.github/workflows/poetry_build_and_test.yml
@@ -50,7 +50,7 @@ jobs:
             #    if: ${{ matrix.os == 'windows-latest' }}
             -   name: Load cached venv
                 id: cached-pip-wheels
-                uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3
+                uses: actions/cache@627f0f41f6904a5b1efbaed9f96d9eb58e92e920 # v3.2.4
                 if: ${{ matrix.os != 'ubuntu-latest' }} # Linux cache seems to be corrupted
                 with:
                     path: ~/.cache