Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 MAINT: Fix deprecated sphinx.testing.path #83

Merged
merged 18 commits into from
Jan 18, 2024

Conversation

jdillard
Copy link
Owner

@jdillard jdillard commented Jan 18, 2024

Problem

sphinx-sitemap/tests/conftest.py:2: RemovedInSphinx90Warning: 'sphinx.testing.path' is deprecated. Use 'os.path' or 'pathlib'

Summary of changes

  • Replace sphinx.testing.path with Path
  • Drop test support for Sphinx 2, 3 and 4.

@jdillard jdillard changed the title Fix testing path 🔧 MAINT: Fix deprecated sphinx.testing.path Jan 18, 2024
@jdillard jdillard merged commit e0747ea into master Jan 18, 2024
14 checks passed
@jdillard jdillard deleted the feature/fix-testing-path branch January 18, 2024 07:17
kai687 pushed a commit to kai687/sphinxawesome-theme that referenced this pull request May 6, 2024
Bumps [sphinx-sitemap](https://github.com/jdillard/sphinx-sitemap) from
2.5.1 to 2.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jdillard/sphinx-sitemap/releases">sphinx-sitemap's
releases</a>.</em></p>
<blockquote>
<h2>v2.6.0</h2>
<h2>What's Changed</h2>
<ul>
<li>:wrench: MAINT: Fix deprecated sphinx.testing.path by <a
href="https://github.com/jdillard"><code>@​jdillard</code></a> in <a
href="https://redirect.github.com/jdillard/sphinx-sitemap/pull/83">jdillard/sphinx-sitemap#83</a></li>
<li>:wrench: MAINT: Declare 'dependencies' as 'dynamic' by <a
href="https://github.com/penguinpee"><code>@​penguinpee</code></a> in <a
href="https://redirect.github.com/jdillard/sphinx-sitemap/pull/84">jdillard/sphinx-sitemap#84</a></li>
<li>:sparkles: NEW: Add sitemap_excludes configuration by <a
href="https://github.com/jdillard"><code>@​jdillard</code></a> in <a
href="https://redirect.github.com/jdillard/sphinx-sitemap/pull/91">jdillard/sphinx-sitemap#91</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/dependabot"><code>@​dependabot</code></a> made
their first contribution in <a
href="https://redirect.github.com/jdillard/sphinx-sitemap/pull/74">jdillard/sphinx-sitemap#74</a></li>
<li><a
href="https://github.com/penguinpee"><code>@​penguinpee</code></a> made
their first contribution in <a
href="https://redirect.github.com/jdillard/sphinx-sitemap/pull/84">jdillard/sphinx-sitemap#84</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/jdillard/sphinx-sitemap/compare/v2.5.1...v2.6.0">https://github.com/jdillard/sphinx-sitemap/compare/v2.5.1...v2.6.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jdillard/sphinx-sitemap/blob/master/CHANGELOG.rst">sphinx-sitemap's
changelog</a>.</em></p>
<blockquote>
<h2>2.6.0</h2>
<p><em>Release date: 2024-04-28</em></p>
<ul>
<li>|:wrench:| MAINT: Fix deprecated sphinx.testing.path
<code>[#83](jdillard/sphinx-sitemap#83)
&lt;https://github.com/jdillard/sphinx-sitemap/pull/83&gt;</code>_</li>
<li>Drop test support for Python 3.7 and Sphinx 2, 3, and 4.</li>
<li>|:sparkles:| NEW: Add sitemap_excludes configuration
<code>[#91](jdillard/sphinx-sitemap#91)
&lt;https://github.com/jdillard/sphinx-sitemap/pull/91&gt;</code>_</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jdillard/sphinx-sitemap/commit/f5c5b378a21e3628fc6a999e4f0b09166826ac25"><code>f5c5b37</code></a>
NEW: Add sitemap_excludes configuration (<a
href="https://redirect.github.com/jdillard/sphinx-sitemap/issues/91">#91</a>)</li>
<li><a
href="https://github.com/jdillard/sphinx-sitemap/commit/01dfcafc28ecc1e97c54f20ed2d50b3f795f79b0"><code>01dfcaf</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/jdillard/sphinx-sitemap/issues/90">#90</a>)</li>
<li><a
href="https://github.com/jdillard/sphinx-sitemap/commit/d0030caf6f71eb59e450c1b731725a745e9bc325"><code>d0030ca</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/jdillard/sphinx-sitemap/issues/88">#88</a>)</li>
<li><a
href="https://github.com/jdillard/sphinx-sitemap/commit/48d0a044e9ca2f2c782897e1845871070a7bf80c"><code>48d0a04</code></a>
Bump the all-github-actions group with 1 update (<a
href="https://redirect.github.com/jdillard/sphinx-sitemap/issues/87">#87</a>)</li>
<li><a
href="https://github.com/jdillard/sphinx-sitemap/commit/abc4056baa99c0e5b19f94b8ba6899989aa02bb0"><code>abc4056</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/jdillard/sphinx-sitemap/issues/86">#86</a>)</li>
<li><a
href="https://github.com/jdillard/sphinx-sitemap/commit/e0bae0cb8a71fd0967b37528a324fd1962dfb6cb"><code>e0bae0c</code></a>
Add dev requirements to pyproject.toml</li>
<li><a
href="https://github.com/jdillard/sphinx-sitemap/commit/9ce20c0bda2abf41359dbd91faf718cd3c7a7f3b"><code>9ce20c0</code></a>
Declare 'dependencies' as 'dynamic' (<a
href="https://redirect.github.com/jdillard/sphinx-sitemap/issues/84">#84</a>)</li>
<li><a
href="https://github.com/jdillard/sphinx-sitemap/commit/1c97c25de3ba1be48915abb2dd395090a1ae8673"><code>1c97c25</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/jdillard/sphinx-sitemap/issues/85">#85</a>)</li>
<li><a
href="https://github.com/jdillard/sphinx-sitemap/commit/4694864162607c51825b76fa78986e28e9b473b5"><code>4694864</code></a>
Bump the all-github-actions group with 1 update (<a
href="https://redirect.github.com/jdillard/sphinx-sitemap/issues/82">#82</a>)</li>
<li><a
href="https://github.com/jdillard/sphinx-sitemap/commit/e0747ea7f30bd5ff4f3fc892de2c87c2f2fdd33c"><code>e0747ea</code></a>
:wrench: MAINT: Fix deprecated sphinx.testing.path (<a
href="https://redirect.github.com/jdillard/sphinx-sitemap/issues/83">#83</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/jdillard/sphinx-sitemap/compare/v2.5.1...v2.6.0">compare
view</a></li>
</ul>
</details>
<br />


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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant