Repository: twitter/dict_minimize (language: python)

Issue:
Bump pyyaml from 5.3.1 to 5.4 in /requirements
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yaml/pyyaml/blob/master/CHANGES">pyyaml's changelog</a>.</em></p>
<blockquote>
<p>5.4 (2021-01-19)</p>
<ul>
<li><a href="https://github-redirect.dependabot.com/yaml/pyyaml/pull/407">yaml/pyyaml#407</a> -- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA</li>
<li><a href="https://github-redirect.dependabot.com/yaml/pyyaml/pull/472">yaml/pyyaml#472</a> -- Fix for CVE-2020-14343, moves arbitrary python tags to UnsafeLoader</li>
<li><a href="https://github-redirect.dependabot.com/yaml/pyyaml/pull/441">yaml/pyyaml#441</a> -- Fix memory leak in implicit resolver setup</li>
<li><a href="https://github-redirect.dependabot.com/yaml/pyyaml/pull/392">yaml/pyyaml#392</a> -- Fix py2 copy support for timezone objects</li>
<li><a href="https://github-redirect.dependabot.com/yaml/pyyaml/pull/378">yaml/pyyaml#378</a> -- Fix compatibility with Jython</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/yaml/pyyaml/commit/58d0cb7ee09954c67fabfbd714c5673b03e7a9e1"><code>58d0cb7</code></a> 5.4 release</li>
<li><a href="https://github.com/yaml/pyyaml/commit/a60f7a19c0b418fe95fcf2ec0957005ae39e1090"><code>a60f7a1</code></a> Fix compatibility with Jython</li>
<li><a href="https://github.com/yaml/pyyaml/commit/ee98abd7d7bd2ca9c7b98aa19164fd0306a3f3d2"><code>ee98abd</code></a> Run CI on PR base branch changes</li>
<li><a href="https://github.com/yaml/pyyaml/commit/ddf20330be1fae8813b8ce1789c48f244746d252"><code>ddf2033</code></a> constructor.timezone: _<em>copy</em> &amp; <strong>deepcopy</strong></li>
<li><a href="https://github.com/yaml/pyyaml/commit/fc914d52c43f499224f7fb4c2d4c47623adc5b33"><code>fc914d5</code></a> Avoid repeatedly appending to yaml_implicit_resolvers</li>
<li><a href="https://github.com/yaml/pyyaml/commit/a001f2782501ad2d24986959f0239a354675f9dc"><code>a001f27</code></a> Fix for CVE-2020-14343</li>
<li><a href="https://github.com/yaml/pyyaml/commit/fe150624146ee631bb0f95e45731e8b01281fed6"><code>fe15062</code></a> Add 3.9 to appveyor file for completeness sake</li>
<li><a href="https://github.com/yaml/pyyaml/commit/1e1c7fb7c09e9149967c208a6fd07276a6140d57"><code>1e1c7fb</code></a> Add a newline character to end of pyproject.toml</li>
<li><a href="https://github.com/yaml/pyyaml/commit/0b6b7d61719fbe0a11f0980489f1bf8ce746c164"><code>0b6b7d6</code></a> Start sentences and phrases for capital letters</li>
<li><a href="https://github.com/yaml/pyyaml/commit/c97691596eec279ef9191a9b3bba583a17139d5a"><code>c976915</code></a> Shell code improvements</li>
<li>Additional commits viewable in <a href="https://github.com/yaml/pyyaml/compare/5.3.1...5.4">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pyyaml&package-manager=pip&previous-version=5.3.1&new-version=5.4)](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/twitter/dict_minimize/network/alerts).

</details>


Discussion / hints:
[![CLA assistant check](https://cla-assistant.io/pull/badge/not_signed)](https://cla-assistant.io/twitter/dict_minimize?pullRequest=14) <br/>Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our [Contributor License Agreement](https://cla-assistant.io/twitter/dict_minimize?pullRequest=14) before we can accept your contribution.<br/><sub>You have signed the CLA already but the status is still pending? Let us [recheck](https://cla-assistant.io/check/twitter/dict_minimize?pullRequest=14) it.</sub>

Fix patch:
diff --git a/requirements/all.txt b/requirements/all.txt
index c55f23f..b9a2dfc 100644
--- a/requirements/all.txt
+++ b/requirements/all.txt
@@ -1,4 +1,4 @@
-# SHA1:d801c4cb2f4a25faa3ea0c3e2f871b82ee3cc7a3
+# SHA1:93286fce24c884b8ed7f1fc96fb72344c99b2755
 #
 # This file is autogenerated by pip-compile-multi
 # To update, run:
diff --git a/requirements/base.txt b/requirements/base.txt
index 0547a8a..bcdcc6c 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -1,9 +1,13 @@
-# SHA1:5b80bf6ba3c2d7b0e92d985cf72f0718b476414b
+# SHA1:119c7d99a4c61797e7b879d5073a371026eb1697
 #
 # This file is autogenerated by pip-compile-multi
 # To update, run:
 #
 #    pip-compile-multi
 #
-numpy==1.18.5             # via -r requirements/base.in, scipy
-scipy==1.4.1              # via -r requirements/base.in
+numpy==1.18.5
+    # via
+    #   -r requirements/base.in
+    #   scipy
+scipy==1.4.1
+    # via -r requirements/base.in
diff --git a/requirements/docs.txt b/requirements/docs.txt
index 3db6cca..aa327d3 100644
--- a/requirements/docs.txt
+++ b/requirements/docs.txt
@@ -1,4 +1,4 @@
-# SHA1:17b4bcc1c0daf88abf4ba80f858a2a4072360507
+# SHA1:d0afd28baf3aec8443b0fea9784d32eff3ef14fb
 #
 # This file is autogenerated by pip-compile-multi
 # To update, run:
@@ -7,24 +7,42 @@
 #
 -r base.txt
 -r frameworks.txt
-alabaster==0.7.12         # via sphinx
-babel==2.8.0              # via sphinx
-docutils==0.16            # via sphinx
-imagesize==1.2.0          # via sphinx
-jinja2==2.11.2            # via sphinx
-markupsafe==1.1.1         # via jinja2
-packaging==20.4           # via sphinx
-pygments==2.6.1           # via sphinx
-pyparsing==2.4.7          # via packaging
-pytz==2020.1              # via babel
-snowballstemmer==2.0.0    # via sphinx
-sphinx==3.1.2             # via -r requirements/docs.in
-sphinxcontrib-applehelp==1.0.2  # via sphinx
-sphinxcontrib-devhelp==1.0.2  # via sphinx
-sphinxcontrib-htmlhelp==1.0.3  # via sphinx
-sphinxcontrib-jsmath==1.0.1  # via sphinx
-sphinxcontrib-qthelp==1.0.3  # via sphinx
-sphinxcontrib-serializinghtml==1.1.4  # via sphinx
+alabaster==0.7.12
+    # via sphinx
+babel==2.8.0
+    # via sphinx
+docutils==0.16
+    # via sphinx
+imagesize==1.2.0
+    # via sphinx
+jinja2==2.11.2
+    # via sphinx
+markupsafe==1.1.1
+    # via jinja2
+packaging==20.4
+    # via sphinx
+pygments==2.6.1
+    # via sphinx
+pyparsing==2.4.7
+    # via packaging
+pytz==2020.1
+    # via babel
+snowballstemmer==2.0.0
+    # via sphinx
+sphinx==3.1.2
+    # via -r requirements/docs.in
+sphinxcontrib-applehelp==1.0.2
+    # via sphinx
+sphinxcontrib-devhelp==1.0.2
+    # via sphinx
+sphinxcontrib-htmlhelp==1.0.3
+    # via sphinx
+sphinxcontrib-jsmath==1.0.1
+    # via sphinx
+sphinxcontrib-qthelp==1.0.3
+    # via sphinx
+sphinxcontrib-serializinghtml==1.1.4
+    # via sphinx
 
 # The following packages are considered to be unsafe in a requirements file:
 # setuptools
diff --git a/requirements/frameworks.txt b/requirements/frameworks.txt
index 253ce7d..bdbcf65 100644
--- a/requirements/frameworks.txt
+++ b/requirements/frameworks.txt
@@ -1,4 +1,4 @@
-# SHA1:52401d6717e968d6520883cb80f3fe122b763969
+# SHA1:dbb0b3168c2b647f8d3803581b75079c5428d4f7
 #
 # This file is autogenerated by pip-compile-multi
 # To update, run:
@@ -6,43 +6,109 @@
 #    pip-compile-multi
 #
 -r base.txt
-absl-py==0.10.0           # via jax, jaxlib, tensorboard, tensorflow
-astunparse==1.6.3         # via tensorflow
-cachetools==4.1.1         # via google-auth
-certifi==2020.6.20        # via requests
-chardet==3.0.4            # via requests
-gast==0.3.3               # via tensorflow
-google-auth-oauthlib==0.4.1  # via tensorboard
-google-auth==1.20.1       # via google-auth-oauthlib, tensorboard
-google-pasta==0.2.0       # via tensorflow
-grpcio==1.31.0            # via tensorboard, tensorflow
-h5py==2.10.0              # via tensorflow
-idna==2.10                # via requests
-importlib-metadata==1.7.0  # via markdown
-jax==0.1.72               # via -r requirements/frameworks.in
-jaxlib==0.1.51            # via -r requirements/frameworks.in
-keras-preprocessing==1.1.2  # via tensorflow
-markdown==3.2.2           # via tensorboard
-oauthlib==3.1.0           # via requests-oauthlib
-opt-einsum==3.3.0         # via jax, tensorflow
-protobuf==3.13.0          # via tensorboard, tensorflow
-pyasn1-modules==0.2.8     # via google-auth
-pyasn1==0.4.8             # via pyasn1-modules, rsa
-requests-oauthlib==1.3.0  # via google-auth-oauthlib
-requests==2.24.0          # via requests-oauthlib, tensorboard
-rsa==4.6                  # via google-auth
-six==1.15.0               # via absl-py, astunparse, google-auth, google-pasta, grpcio, h5py, keras-preprocessing, protobuf, tensorboard, tensorflow
-tensorboard-plugin-wit==1.7.0  # via tensorboard
-tensorboard==2.2.2        # via tensorflow
-tensorflow-estimator==2.2.0  # via tensorflow
-tensorflow==2.2.0         # via -r requirements/frameworks.in
-termcolor==1.1.0          # via tensorflow
-torch==1.4.0              # via -r requirements/frameworks.in
-urllib3==1.25.10          # via requests
-werkzeug==1.0.1           # via tensorboard
-wheel==0.35.1             # via astunparse, tensorboard, tensorflow
-wrapt==1.12.1             # via tensorflow
-zipp==3.1.0               # via importlib-metadata
+absl-py==0.10.0
+    # via
+    #   jax
+    #   jaxlib
+    #   tensorboard
+    #   tensorflow
+astunparse==1.6.3
+    # via tensorflow
+cachetools==4.1.1
+    # via google-auth
+certifi==2020.6.20
+    # via requests
+chardet==3.0.4
+    # via requests
+gast==0.3.3
+    # via tensorflow
+google-auth-oauthlib==0.4.1
+    # via tensorboard
+google-auth==1.20.1
+    # via
+    #   google-auth-oauthlib
+    #   tensorboard
+google-pasta==0.2.0
+    # via tensorflow
+grpcio==1.31.0
+    # via
+    #   tensorboard
+    #   tensorflow
+h5py==2.10.0
+    # via tensorflow
+idna==2.10
+    # via requests
+importlib-metadata==1.7.0
+    # via markdown
+jax==0.1.72
+    # via -r requirements/frameworks.in
+jaxlib==0.1.51
+    # via -r requirements/frameworks.in
+keras-preprocessing==1.1.2
+    # via tensorflow
+markdown==3.2.2
+    # via tensorboard
+oauthlib==3.1.0
+    # via requests-oauthlib
+opt-einsum==3.3.0
+    # via
+    #   jax
+    #   tensorflow
+protobuf==3.13.0
+    # via
+    #   tensorboard
+    #   tensorflow
+pyasn1-modules==0.2.8
+    # via google-auth
+pyasn1==0.4.8
+    # via
+    #   pyasn1-modules
+    #   rsa
+requests-oauthlib==1.3.0
+    # via google-auth-oauthlib
+requests==2.24.0
+    # via
+    #   requests-oauthlib
+    #   tensorboard
+rsa==4.6
+    # via google-auth
+six==1.15.0
+    # via
+    #   absl-py
+    #   astunparse
+    #   google-auth
+    #   google-pasta
+    #   grpcio
+    #   h5py
+    #   keras-preprocessing
+    #   protobuf
+    #   tensorboard
+    #   tensorflow
+tensorboard-plugin-wit==1.7.0
+    # via tensorboard
+tensorboard==2.2.2
+    # via tensorflow
+tensorflow-estimator==2.2.0
+    # via tensorflow
+tensorflow==2.2.0
+    # via -r requirements/frameworks.in
+termcolor==1.1.0
+    # via tensorflow
+torch==1.4.0
+    # via -r requirements/frameworks.in
+urllib3==1.25.10
+    # via requests
+werkzeug==1.0.1
+    # via tensorboard
+wheel==0.35.1
+    # via
+    #   astunparse
+    #   tensorboard
+    #   tensorflow
+wrapt==1.12.1
+    # via tensorflow
+zipp==3.1.0
+    # via importlib-metadata
 
 # The following packages are considered to be unsafe in a requirements file:
 # setuptools
diff --git a/requirements/tools.in b/requirements/tools.in
index 27d5318..6ceda0d 100644
--- a/requirements/tools.in
+++ b/requirements/tools.in
@@ -1,5 +1,5 @@
 detect-secrets==0.12.5
-pip-compile-multi==1.4.0
+pip-compile-multi==2.4.0
 pipreqs==0.4.9
 pre-commit==2.6.0
 pytest==6.0.1
diff --git a/requirements/tools.txt b/requirements/tools.txt
index 0822556..3ad277b 100644
--- a/requirements/tools.txt
+++ b/requirements/tools.txt
@@ -1,45 +1,94 @@
-# SHA1:28e3cd0b512a774bde05625301ef44a633914760
+# SHA1:e219e56d781ec8bd107a37f97f30decd99d42a57
 #
 # This file is autogenerated by pip-compile-multi
 # To update, run:
 #
 #    pip-compile-multi
 #
-appdirs==1.4.4            # via virtualenv
-attrs==19.3.0             # via pytest
-certifi==2020.6.20        # via requests
-cfgv==3.2.0               # via pre-commit
-chardet==3.0.4            # via requests
-click==7.1.2              # via pip-compile-multi, pip-tools
-detect-secrets==0.12.5    # via -r requirements/tools.in
-distlib==0.3.1            # via virtualenv
-docopt==0.6.2             # via pipreqs
-filelock==3.0.12          # via virtualenv
-identify==1.4.28          # via pre-commit
-idna==2.10                # via requests
-importlib-metadata==1.7.0  # via pluggy, pre-commit, pytest, virtualenv
-importlib-resources==3.0.0  # via pre-commit, virtualenv
-iniconfig==1.0.1          # via pytest
-more-itertools==8.4.0     # via pytest
-nodeenv==1.4.0            # via pre-commit
-packaging==20.4           # via pytest
-pip-compile-multi==1.4.0  # via -r requirements/tools.in
-pip-tools==5.3.1          # via pip-compile-multi
-pipreqs==0.4.9            # via -r requirements/tools.in
-pluggy==0.13.1            # via pytest
-pre-commit==2.6.0         # via -r requirements/tools.in
-py==1.9.0                 # via pytest
-pyparsing==2.4.7          # via packaging
-pytest==6.0.1             # via -r requirements/tools.in
-pyyaml==5.3.1             # via detect-secrets, pre-commit
-requests==2.24.0          # via detect-secrets, yarg
-six==1.15.0               # via packaging, pip-tools, virtualenv
-toml==0.10.1              # via pre-commit, pytest
-toposort==1.5             # via pip-compile-multi
-urllib3==1.25.10          # via requests
-virtualenv==20.0.31       # via pre-commit
-yarg==0.1.9               # via pipreqs
-zipp==3.1.0               # via importlib-metadata, importlib-resources
+appdirs==1.4.4
+    # via virtualenv
+attrs==19.3.0
+    # via pytest
+certifi==2020.6.20
+    # via requests
+cfgv==3.2.0
+    # via pre-commit
+chardet==3.0.4
+    # via requests
+click==7.1.2
+    # via
+    #   pip-compile-multi
+    #   pip-tools
+detect-secrets==0.12.5
+    # via -r requirements/tools.in
+distlib==0.3.1
+    # via virtualenv
+docopt==0.6.2
+    # via pipreqs
+filelock==3.0.12
+    # via virtualenv
+identify==1.4.28
+    # via pre-commit
+idna==2.10
+    # via requests
+importlib-metadata==1.7.0
+    # via
+    #   pluggy
+    #   pre-commit
+    #   pytest
+    #   virtualenv
+iniconfig==1.0.1
+    # via pytest
+more-itertools==8.4.0
+    # via pytest
+nodeenv==1.4.0
+    # via pre-commit
+packaging==20.4
+    # via pytest
+pep517==0.10.0
+    # via pip-tools
+pip-compile-multi==2.4.0
+    # via -r requirements/tools.in
+pip-tools==6.0.1
+    # via pip-compile-multi
+pipreqs==0.4.9
+    # via -r requirements/tools.in
+pluggy==0.13.1
+    # via pytest
+pre-commit==2.6.0
+    # via -r requirements/tools.in
+py==1.9.0
+    # via pytest
+pyparsing==2.4.7
+    # via packaging
+pytest==6.0.1
+    # via -r requirements/tools.in
+pyyaml==5.4
+    # via
+    #   detect-secrets
+    #   pre-commit
+requests==2.24.0
+    # via
+    #   detect-secrets
+    #   yarg
+six==1.15.0
+    # via
+    #   packaging
+    #   virtualenv
+toml==0.10.1
+    # via
+    #   pre-commit
+    #   pytest
+toposort==1.5
+    # via pip-compile-multi
+urllib3==1.25.10
+    # via requests
+virtualenv==20.0.31
+    # via pre-commit
+yarg==0.1.9
+    # via pipreqs
+zipp==3.1.0
+    # via importlib-metadata
 
 # The following packages are considered to be unsafe in a requirements file:
 # pip


Test patch:
diff --git a/requirements/tests.txt b/requirements/tests.txt
index efbcd27..aeaf94b 100644
--- a/requirements/tests.txt
+++ b/requirements/tests.txt
@@ -1,4 +1,4 @@
-# SHA1:c414d6d10739954c1eefeb47de6090e9b5ef6a75
+# SHA1:a8d63f2fbd8d31e6f81222f4252f69d96656c121
 #
 # This file is autogenerated by pip-compile-multi
 # To update, run:
@@ -6,19 +6,36 @@
 #    pip-compile-multi
 #
 -r frameworks.txt
-attrs==19.3.0             # via hypothesis, pytest
-coverage==5.2.1           # via pytest-cov
-hypothesis==5.24.3        # via -r requirements/tests.in
-iniconfig==1.0.1          # via pytest
-more-itertools==8.4.0     # via pytest
-packaging==20.4           # via pytest
-pluggy==0.13.1            # via pytest
-py==1.9.0                 # via pytest
-pyparsing==2.4.7          # via packaging
-pytest==6.0.1             # via -r requirements/tests.in, pytest-cov
-pytest_cov==2.10.0        # via -r requirements/tests.in
-sortedcontainers==2.2.2   # via hypothesis
-toml==0.10.1              # via pytest
+attrs==19.3.0
+    # via
+    #   hypothesis
+    #   pytest
+coverage==5.2.1
+    # via pytest-cov
+hypothesis==5.24.3
+    # via -r requirements/tests.in
+iniconfig==1.0.1
+    # via pytest
+more-itertools==8.4.0
+    # via pytest
+packaging==20.4
+    # via pytest
+pluggy==0.13.1
+    # via pytest
+py==1.9.0
+    # via pytest
+pyparsing==2.4.7
+    # via packaging
+pytest==6.0.1
+    # via
+    #   -r requirements/tests.in
+    #   pytest-cov
+pytest_cov==2.10.0
+    # via -r requirements/tests.in
+sortedcontainers==2.2.2
+    # via hypothesis
+toml==0.10.1
+    # via pytest
 
 # The following packages are considered to be unsafe in a requirements file:
 # setuptools
diff --git a/tests/test_jax_api.py b/tests/test_jax_api.py
index 746bddd..b32ae0d 100644
--- a/tests/test_jax_api.py
+++ b/tests/test_jax_api.py
@@ -88,7 +88,8 @@ def test_get_dtype(x_np, dtype):
     dtype2 = get_dtype(x_jax)
 
     assert dtype == dtype2
-    assert str(dtype) == str(dtype2)
+    # We only expect the str version to match if it is a np dtype
+    assert str(np.dtype(dtype)) == str(dtype2)
 
 
 @given(np_float_arrays, jax_float_dtypes)