Repository: NREL/rdtools (language: python)

Issue:
Bump notebook from 6.4.1 to 6.4.12 in /docs
Bumps [notebook](http://jupyter.org) from 6.4.1 to 6.4.12.


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=notebook&package-manager=pip&previous-version=6.4.1&new-version=6.4.12)](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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/NREL/rdtools/network/alerts).

</details>
Bump numpy from 1.15 to 1.22.0
Bumps [numpy](https://github.com/numpy/numpy) from 1.15 to 1.22.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/numpy/numpy/releases">numpy's releases</a>.</em></p>
<blockquote>
<h2>v1.22.0</h2>
<h1>NumPy 1.22.0 Release Notes</h1>
<p>NumPy 1.22.0 is a big release featuring the work of 153 contributors
spread over 609 pull requests. There have been many improvements,
highlights are:</p>
<ul>
<li>Annotations of the main namespace are essentially complete. Upstream
is a moving target, so there will likely be further improvements,
but the major work is done. This is probably the most user visible
enhancement in this release.</li>
<li>A preliminary version of the proposed Array-API is provided. This is
a step in creating a standard collection of functions that can be
used across application such as CuPy and JAX.</li>
<li>NumPy now has a DLPack backend. DLPack provides a common interchange
format for array (tensor) data.</li>
<li>New methods for <code>quantile</code>, <code>percentile</code>, and related functions. The
new methods provide a complete set of the methods commonly found in
the literature.</li>
<li>A new configurable allocator for use by downstream projects.</li>
</ul>
<p>These are in addition to the ongoing work to provide SIMD support for
commonly used functions, improvements to F2PY, and better documentation.</p>
<p>The Python versions supported in this release are 3.8-3.10, Python 3.7
has been dropped. Note that 32 bit wheels are only provided for Python
3.8 and 3.9 on Windows, all other wheels are 64 bits on account of
Ubuntu, Fedora, and other Linux distributions dropping 32 bit support.
All 64 bit wheels are also linked with 64 bit integer OpenBLAS, which should fix
the occasional problems encountered by folks using truly huge arrays.</p>
<h2>Expired deprecations</h2>
<h3>Deprecated numeric style dtype strings have been removed</h3>
<p>Using the strings <code>&quot;Bytes0&quot;</code>, <code>&quot;Datetime64&quot;</code>, <code>&quot;Str0&quot;</code>, <code>&quot;Uint32&quot;</code>,
and <code>&quot;Uint64&quot;</code> as a dtype will now raise a <code>TypeError</code>.</p>
<p>(<a href="https://github-redirect.dependabot.com/numpy/numpy/pull/19539">gh-19539</a>)</p>
<h3>Expired deprecations for <code>loads</code>, <code>ndfromtxt</code>, and <code>mafromtxt</code> in npyio</h3>
<p><code>numpy.loads</code> was deprecated in v1.15, with the recommendation that
users use <code>pickle.loads</code> instead. <code>ndfromtxt</code> and <code>mafromtxt</code> were both
deprecated in v1.17 - users should use <code>numpy.genfromtxt</code> instead with
the appropriate value for the <code>usemask</code> parameter.</p>
<p>(<a href="https://github-redirect.dependabot.com/numpy/numpy/pull/19615">gh-19615</a>)</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/numpy/numpy/commit/4adc87dff15a247e417d50f10cc4def8e1c17a03"><code>4adc87d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/numpy/numpy/issues/20685">#20685</a> from charris/prepare-for-1.22.0-release</li>
<li><a href="https://github.com/numpy/numpy/commit/fd66547557f57c430d41be2fc0764f74a62e8ccf"><code>fd66547</code></a> REL: Prepare for the NumPy 1.22.0 release.</li>
<li><a href="https://github.com/numpy/numpy/commit/125304b035effcd82e366e601b102e7347eaa9ba"><code>125304b</code></a> wip</li>
<li><a href="https://github.com/numpy/numpy/commit/c283859128b1a4b57014581570a23ed7950a24ea"><code>c283859</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/numpy/numpy/issues/20682">#20682</a> from charris/backport-20416</li>
<li><a href="https://github.com/numpy/numpy/commit/5399c03d4a069fe81a1616be0184c9749d7271ee"><code>5399c03</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/numpy/numpy/issues/20681">#20681</a> from charris/backport-20954</li>
<li><a href="https://github.com/numpy/numpy/commit/f9c45f8ebf31340b1a5a0371bfca25afcfc4794e"><code>f9c45f8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/numpy/numpy/issues/20680">#20680</a> from charris/backport-20663</li>
<li><a href="https://github.com/numpy/numpy/commit/794b36f7e1bf2a8c42774ab0db86a74bd32f674b"><code>794b36f</code></a> Update armccompiler.py</li>
<li><a href="https://github.com/numpy/numpy/commit/d93b14e3d7abaa1d837825e51671f817788e120f"><code>d93b14e</code></a> Update test_public_api.py</li>
<li><a href="https://github.com/numpy/numpy/commit/7662c0789cc6a70d5ad4d950ee2e95f3afef7df6"><code>7662c07</code></a> Update <strong>init</strong>.py</li>
<li><a href="https://github.com/numpy/numpy/commit/311ab52488a7d096ac3bc4c2de0fdae17ecd13ef"><code>311ab52</code></a> Update armccompiler.py</li>
<li>Additional commits viewable in <a href="https://github.com/numpy/numpy/compare/v1.15.0...v1.22.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=numpy&package-manager=pip&previous-version=1.15&new-version=1.22.0)](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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/NREL/rdtools/network/alerts).

</details>


Discussion / hints:

Fix patch:
diff --git a/.readthedocs.yml b/.readthedocs.yml
index a324ebab..94b75661 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -1,6 +1,9 @@
+version: 2
+
 python:
-    version: 3.7
-    use_system_site_packages: true
-    pip_install: true
-    extra_requirements:
-        - doc
+    version: "3.7"
+    install:
+        - method: pip
+          path: .
+          extra_requirements:
+              - doc
diff --git a/docs/notebook_requirements.txt b/docs/notebook_requirements.txt
index 4c89c6b7..3ff29e3b 100644
--- a/docs/notebook_requirements.txt
+++ b/docs/notebook_requirements.txt
@@ -1,32 +1,36 @@
-# This is an incomplete specification of the intended environment
-# it is meant to be used tandem with ../requirements.txt
 appnope==0.1.0
 argon2-cffi==21.2.0
+argon2-cffi-bindings==21.2.0
 backcall==0.1.0
+beautifulsoup4==4.11.1
 bleach==3.3.0
 cffi==1.15.0
 colorama==0.4.4
 decorator==4.3.0
+defusedxml==0.7.1
 entrypoints==0.2.3
 html5lib==1.0.1
 ipykernel==4.8.2
-ipython-genutils==0.2.0
 ipython==7.16.3
+ipython-genutils==0.2.0
 ipywidgets==7.3.0
 jedi==0.12.1
-Jinja2==2.11.3
+Jinja2==3.0.0
 jsonschema==2.6.0
+jupyter==1.0.0
 jupyter-client==6.1.7
 jupyter-console==6.4.0
-jupyter-core==4.6.3
-jupyter==1.0.0
-MarkupSafe==1.1.1
-mistune==0.8.3
-nbconvert==6.1.0
-nbformat==5.0.7
-notebook==6.4.1
+jupyter-core==4.7.0
+jupyterlab-pygments==0.2.2
+lxml==4.9.1
+MarkupSafe==2.0.0
+mistune==2.0.3
+nbclient==0.6.3
+nbconvert==7.0.0
+nbformat==5.1.0
+nest-asyncio==1.5.5
+notebook==6.4.12
 numexpr==2.8.0
-packaging==20.9
 pandocfilters==1.4.2
 parso==0.3.1
 pexpect==4.6.0
@@ -38,12 +42,14 @@ pycparser==2.20
 Pygments==2.7.4
 pyzmq==22.2.1
 qtconsole==4.3.1
-Send2Trash==1.5.0
+Send2Trash==1.8.0
 simplegeneric==0.8.1
+soupsieve==2.3.2.post1
 terminado==0.8.3
 testpath==0.3.1
+tinycss2==1.1.1
 tornado==6.1
-traitlets==5.0
+traitlets==5.0.0
 wcwidth==0.1.7
 webencodings==0.5.1
-widgetsnbextension==3.3.0
\ No newline at end of file
+widgetsnbextension==3.3.0
diff --git a/docs/sphinx/source/changelog/pending.rst b/docs/sphinx/source/changelog/pending.rst
index abd79202..4451d6e9 100644
--- a/docs/sphinx/source/changelog/pending.rst
+++ b/docs/sphinx/source/changelog/pending.rst
@@ -16,3 +16,4 @@ Requirements
   and bump ``Pillow==9.0.0`` in ``requirements.txt`` (:pull:`314`)
 * Bump ``sphinx`` version from 3.2 to 4.5 and ``nbsphinx`` version
   from 0.8.5 to 0.8.8 in the optional ``[doc]`` requirements (:pull:`317`, :pull:`325`)
+* A number of other requirements updates (:pull:`337`)
diff --git a/requirements.txt b/requirements.txt
index c660fe3f..0ef984c7 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -2,11 +2,14 @@ cached-property==1.5.2
 certifi==2020.12.5
 chardet==4.0.0
 cycler==0.10.0
+fonttools==4.37.1
 h5py==3.6.0
 idna==2.10
+joblib==1.1.0
 kiwisolver==1.3.2
 matplotlib==3.5.0
-numpy==1.21.3
+numpy==1.22.0
+packaging==21.3
 pandas==1.3.4
 patsy==0.5.2
 Pillow==9.0.1
@@ -16,9 +19,14 @@ pyparsing==2.4.7
 python-dateutil==2.8.1
 pytz==2019.3
 requests==2.25.1
+retrying==1.3.3
 scikit-learn==1.0.2
 scipy==1.7.2
+setuptools-scm==7.0.5
 six==1.14.0
 statsmodels==0.13.1
+threadpoolctl==3.1.0
+tomli==2.0.1
+typing_extensions==4.3.0
 urllib3==1.26.5
 xgboost==1.5.1


Test patch:
diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml
index 393a5d43..257514e4 100644
--- a/.github/workflows/pytest.yaml
+++ b/.github/workflows/pytest.yaml
@@ -27,6 +27,9 @@ jobs:
             env: '-r requirements-min.txt .[test]'
           - python-version: "3.10"
             env: '-r requirements-min.txt .[test]'
+          # required numpy is not available on python 3.7, so exclude:
+          - python-version: 3.7
+            env: '-r requirements.txt .[test]'
 
     steps:
     - uses: actions/checkout@v2
diff --git a/rdtools/test/analysis_chains_test.py b/rdtools/test/analysis_chains_test.py
index 619d9668..ad5b5b2c 100644
--- a/rdtools/test/analysis_chains_test.py
+++ b/rdtools/test/analysis_chains_test.py
@@ -1,5 +1,5 @@
 from rdtools import TrendAnalysis, normalization
-from conftest import assert_isinstance
+from conftest import assert_isinstance, assert_warnings
 import pytest
 import pvlib
 import pandas as pd
@@ -249,8 +249,7 @@ def test_no_gamma_pdc(sensor_parameters):
     with pytest.warns(UserWarning) as record:
         rd_analysis.sensor_analysis()
 
-    assert len(record) == 1
-    assert str(record[0].message).startswith("Temperature coefficient not passed")
+    assert_warnings(["Temperature coefficient not passed"], record)
 
 
 @pytest.fixture