Repository: zostera/django-bootstrap4

Issue:
Bump setuptools from 60.10.0 to 62.3.1
Bumps [setuptools](https://github.com/pypa/setuptools) from 60.10.0 to 62.3.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/CHANGES.rst">setuptools's changelog</a>.</em></p>
<blockquote>
<h2>v62.3.1</h2>
<p>Misc
^^^^</p>
<ul>
<li><a href="https://github-redirect.dependabot.com/pypa/setuptools/issues/3320">#3320</a>: Fixed typo which causes <code>namespace_packages</code> to raise an error instead of
warning.</li>
</ul>
<h2>v62.3.0</h2>
<p>Deprecations
^^^^^^^^^^^^</p>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/pypa/setuptools/issues/3262">#3262</a>: Formally added deprecation messages for <code>namespace_packages</code>.
The methodology that uses <code>pkg_resources</code> and <code>namespace_packages</code> for
creating namespaces was already discouraged by the :doc:<code>setuptools docs &lt;/userguide/package_discovery&gt;</code> and the
:doc:<code>Python Packaging User Guide &lt;PyPUG:guides/packaging-namespace-packages&gt;</code>,
therefore this change just make the deprecation more official.
Users can consider migrating to native/implicit namespaces (as introduced in
:pep:<code>420</code>).</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pypa/setuptools/issues/3308">#3308</a>: Relying on <code>include_package_data</code> to ensure sub-packages are automatically
added to the build wheel distribution (as &quot;data&quot;) is now considered a
deprecated practice.</p>
<p>This behaviour was controversial and caused inconsistencies (<a href="https://github-redirect.dependabot.com/pypa/setuptools/issues/3260">#3260</a>).</p>
<p>Instead, projects are encouraged to properly configure <code>packages</code> or use
discovery tools. General information can be found in :doc:<code>userguide/package_discovery</code>.</p>
</li>
</ul>
<p>Changes
^^^^^^^</p>
<ul>
<li><a href="https://github-redirect.dependabot.com/pypa/setuptools/issues/1806">#1806</a>: Allowed recursive globs (<code>**</code>) in <code>package_data</code>. -- by :user:<code>nullableVoidPtr</code></li>
<li><a href="https://github-redirect.dependabot.com/pypa/setuptools/issues/3206">#3206</a>: Fixed behaviour when both <code>install_requires</code> (in <code>setup.py</code>) and
<code>dependencies</code> (in <code>pyproject.toml</code>) are specified.
The configuration in <code>pyproject.toml</code> will take precedence over <code>setup.py</code>
(in accordance with PEP 621). A warning was added to inform users.</li>
</ul>
<p>Documentation changes
^^^^^^^^^^^^^^^^^^^^^</p>
<ul>
<li><a href="https://github-redirect.dependabot.com/pypa/setuptools/issues/3307">#3307</a>: Added introduction to references/keywords
Added deprecation tags to test kwargs
Moved userguide/keywords to deprecated section
Clarified in deprecated doc what keywords came from distutils and which were added or changed by setuptools</li>
</ul>
<p>Misc
^^^^</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pypa/setuptools/commit/b4164438c8927b9f7593bd543475dd3010d7b3b1"><code>b416443</code></a> Bump version: 62.3.0 → 62.3.1</li>
<li><a href="https://github.com/pypa/setuptools/commit/287040fab8bda70752704ba40563d9ca4c1cb8d2"><code>287040f</code></a> Add news fragment</li>
<li><a href="https://github.com/pypa/setuptools/commit/93dd5091e82c9a093041df44260f49910c047abe"><code>93dd509</code></a> Remove comma</li>
<li><a href="https://github.com/pypa/setuptools/commit/1b7642be56c767bf064c2d0ab1bbd16f8ca3be38"><code>1b7642b</code></a> Bump version: 62.2.0 → 62.3.0</li>
<li><a href="https://github.com/pypa/setuptools/commit/73bc126cd05b25a24e2a3e7ad347a245e980b673"><code>73bc126</code></a> Add deprecation messages for <code>namespace_packages</code> (<a href="https://github-redirect.dependabot.com/pypa/setuptools/issues/3262">#3262</a>)</li>
<li><a href="https://github.com/pypa/setuptools/commit/42d940f04e6d39e999ad184d4a6b5062957f4ae6"><code>42d940f</code></a> Update vendored <code>pyparsing</code> to fix problems with 3.11 (<a href="https://github-redirect.dependabot.com/pypa/setuptools/issues/3276">#3276</a>)</li>
<li><a href="https://github.com/pypa/setuptools/commit/e66ee6206feb49fe4bdec417c84d601d6b4bbf72"><code>e66ee62</code></a> Warn about deprecation of behaviour that considers modules/packages as data w...</li>
<li><a href="https://github.com/pypa/setuptools/commit/aec2215be6711c850339484cd7f47d542a6c06a1"><code>aec2215</code></a> Remove residual dependencies from setup.py when dependencies are set in pypro...</li>
<li><a href="https://github.com/pypa/setuptools/commit/fd072dcf4dfcf5c737139c9f7546952ecd9f9767"><code>fd072dc</code></a> Allow recursive globs for package_data (<a href="https://github-redirect.dependabot.com/pypa/setuptools/issues/3309">#3309</a>)</li>
<li><a href="https://github.com/pypa/setuptools/commit/269f3acbf4e3a2f717fb37dc23ff48bf36b8bc2a"><code>269f3ac</code></a> Add deprecation notices to docs</li>
<li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v60.10.0...v62.3.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=setuptools&package-manager=pip&previous-version=60.10.0&new-version=62.3.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:

Resolving patch:
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@
     author_email="dylan@dyve.net",
     url="https://github.com/zostera/django-bootstrap4",
     license="BSD-3-Clause",
-    use_scm_version=True,
+    use_scm_version={"write_to": "src/bootstrap4/_version.py",},
     setup_requires=["setuptools_scm"],
     packages=find_packages(where="src"),
     package_dir={"": "src"},
diff --git a/src/bootstrap4/__init__.py b/src/bootstrap4/__init__.py
--- a/src/bootstrap4/__init__.py
+++ b/src/bootstrap4/__init__.py
@@ -0,0 +1,10 @@
+try:
+    from _version import version
+except ImportError:
+    try:
+        from setuptools_scm import get_version
+
+        version = get_version()
+    except ImportError:
+        version = "???"
+__version__ = version


Test patch: