From ca05fbc96a450c275d00a27002e55962dd29bd2b Mon Sep 17 00:00:00 2001 From: Brian Skinn Date: Sun, 11 Jan 2026 18:41:36 -0500 Subject: [PATCH 1/6] Update some CLI test URLs to https://... --- tests/test_cli_nonlocal.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_cli_nonlocal.py b/tests/test_cli_nonlocal.py index 4e2fad0..3a9afef 100644 --- a/tests/test_cli_nonlocal.py +++ b/tests/test_cli_nonlocal.py @@ -216,10 +216,10 @@ def test_cli_suggest_from_url( @pytest.mark.parametrize( "url", [ - "http://sphobjinv.readthedocs.io/en/v2.0/modules/", - "http://sphobjinv.readthedocs.io/en/v2.0/modules/cmdline.html", + "https://sphobjinv.readthedocs.io/en/v2.0/modules/", + "https://sphobjinv.readthedocs.io/en/v2.0/modules/cmdline.html", ( - "http://sphobjinv.readthedocs.io/en/v2.0/modules/" + "https://sphobjinv.readthedocs.io/en/v2.0/modules/" "cmdline.html#sphobjinv.cmdline.do_convert" ), ], @@ -233,18 +233,18 @@ def test_cli_suggest_from_docset_urls(self, url, run_cmdline_test, check): check.is_true(p_inventory.search(out_.getvalue())) check.is_in("LIKELY", err_.getvalue()) check.is_in( - "(http://sphobjinv.readthedocs.io/en/v2.0/, None)", err_.getvalue() + "(https://sphobjinv.readthedocs.io/en/v2.0/, None)", err_.getvalue() ) @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) def test_cli_suggest_from_typical_objinv_url(self, run_cmdline_test, check): """Confirm reST-only suggest works for direct objects.inv URL.""" - url = "http://sphobjinv.readthedocs.io/en/v2.0/objects.inv" + url = "https://sphobjinv.readthedocs.io/en/v2.0/objects.inv" with stdio_mgr() as (in_, out_, err_): run_cmdline_test(["suggest", "-u", url, "inventory", "-at", "50"]) check.is_true(p_inventory.search(out_.getvalue())) check.is_in("PROBABLY", err_.getvalue()) check.is_in( - "(http://sphobjinv.readthedocs.io/en/v2.0/, None)", err_.getvalue() + "(https://sphobjinv.readthedocs.io/en/v2.0/, None)", err_.getvalue() ) From 3b9c000de210b37b8ea6ae9b06154198f83fdced Mon Sep 17 00:00:00 2001 From: Brian Skinn Date: Sun, 11 Jan 2026 18:42:06 -0500 Subject: [PATCH 2/6] Add free-threaded 3.13 and 3.14 to tox --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c920799..79ab69b 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ minversion=2.0 isolated_build=True envlist= # Test all Python versions on latest lib versions - py3{10,11,12,13,14}-sphx_latest-attrs_latest-jsch_latest + py3{10,11,12,13t,14,14t}-sphx_latest-attrs_latest-jsch_latest # Test leading Python version on current in-repo dev lib versions py313-sphx_dev-attrs_dev-jsch_dev # Scan across Sphinx versions @@ -30,6 +30,7 @@ envlist= [testenv] commands= python --version + python -c 'import sys; print("GIL: ", end=""); print(getattr(sys, "_is_gil_enabled", lambda : True)())' pip list # Want the tox *matrix* to ignore warnings since it's primarily # a compatibility check. The defaults for bare pytest enable -Werror @@ -88,7 +89,9 @@ deps= platform=linux basepython= py314: python3.14 + py314t: python3.14t py313: python3.13 + py313t: python3.13t py312: python3.12 py311: python3.11 py310: python3.10 From 852b89f3beb3dfbcc9317c24b67568ad36bed78c Mon Sep 17 00:00:00 2001 From: Brian Skinn Date: Sun, 11 Jan 2026 19:43:39 -0500 Subject: [PATCH 3/6] Ignore implicit-cleanup ResourceWarnings in two CLI tests --- tests/test_cli_nonlocal.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_cli_nonlocal.py b/tests/test_cli_nonlocal.py index 3a9afef..8841403 100644 --- a/tests/test_cli_nonlocal.py +++ b/tests/test_cli_nonlocal.py @@ -133,6 +133,7 @@ def test_cli_url_in_json( assert "objects" in d.get("metadata", {}).get("url", {}) @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) + @pytest.mark.filterwarnings("ignore:implicitly cleaning up.*404") def test_clifail_bad_url( self, run_cmdline_test, misc_info, http_inv_url_template, scratch_path ): @@ -225,6 +226,7 @@ def test_cli_suggest_from_url( ], ) @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) + @pytest.mark.filterwarnings("ignore:implicitly cleaning up.*404") def test_cli_suggest_from_docset_urls(self, url, run_cmdline_test, check): """Confirm reST-only suggest output works from URLs within a docset.""" with stdio_mgr() as (in_, out_, err_): From b8126083dd53cc0c756334d85c844d82875c6862 Mon Sep 17 00:00:00 2001 From: Brian Skinn Date: Mon, 12 Jan 2026 00:48:47 -0500 Subject: [PATCH 4/6] Remove the problematic Sphinx 3.x test --- tox.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 79ab69b..b0366da 100644 --- a/tox.ini +++ b/tox.ini @@ -6,10 +6,8 @@ envlist= py3{10,11,12,13t,14,14t}-sphx_latest-attrs_latest-jsch_latest # Test leading Python version on current in-repo dev lib versions py313-sphx_dev-attrs_dev-jsch_dev - # Scan across Sphinx versions + # Scan across Sphinx versions (skip 3_x due to a typing import error) py313-sphx_{1_6_x,1_x,2_x,4_x,5_x,6_x,7_x,8_x,dev}-attrs_latest-jsch_latest - # sphx_3_x is incompatible with py310 due to a typing import. Test on py311 instead. - py311-sphx_3_x-attrs_latest-jsch_latest # Scan attrs versions py313-sphx_latest-attrs_{19_2,19_3,20_3,21_3,22_2,23_2,24_3,dev}-jsch_latest # Scan jsonschema versions From 082569e312b367e3c10f2ab187467359266ab22f Mon Sep 17 00:00:00 2001 From: Brian Skinn Date: Fri, 16 Jan 2026 21:23:53 -0500 Subject: [PATCH 5/6] Update http -> https and some docs bits --- CHANGELOG.md | 4 ++-- CONTENT_LICENSE.txt | 2 +- README.md | 6 +++--- doc/make.bat | 2 +- doc/source/_templates/footer.html | 4 ++-- tests/conftest.py | 2 +- tests/enum.py | 2 +- tests/fixtures_http.py | 2 +- tests/test_api_fail.py | 2 +- tests/test_api_good.py | 2 +- tests/test_api_good_nonlocal.py | 2 +- tests/test_cli.py | 2 +- tests/test_cli_nonlocal.py | 4 ++-- tests/test_cli_textconv.py | 2 +- tests/test_fixture.py | 2 +- tests/test_flake8_ext.py | 2 +- tests/test_intersphinx.py | 2 +- tests/test_valid_objects.py | 2 +- 18 files changed, 23 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4119a77..dd9da0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ All notable changes to this project will be documented in this file. -The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project follows an extension of -[Semantic Versioning](http://semver.org/spec/v2.0.0.html), where a bump in a +[Semantic Versioning](https://semver.org/spec/v2.0.0.html), where a bump in a fourth number represents an administrative maintenance release with no code changes. diff --git a/CONTENT_LICENSE.txt b/CONTENT_LICENSE.txt index d187275..b04b0ea 100644 --- a/CONTENT_LICENSE.txt +++ b/CONTENT_LICENSE.txt @@ -1,4 +1,4 @@ The sphobjinv documentation (including docstrings and README) is licensed under a Creative Commons Attribution 4.0 International License (CC-BY). -See http://creativecommons.org/licenses/by/4.0/. +See https://creativecommons.org/licenses/by/4.0/. diff --git a/README.md b/README.md index f89e102..8aef5f0 100644 --- a/README.md +++ b/README.md @@ -187,8 +187,8 @@ under a [Creative Commons Attribution 4.0 International License][cc-by 4.0] [black badge]: https://img.shields.io/badge/code%20style-black-000000.svg [black link target]: https://github.com/psf/black -[cc-by 4.0]: http://creativecommons.org/licenses/by/4.0/ -[soi docs inv export]: http://sphobjinv.readthedocs.io/en/latest/api_usage.html#exporting-an-inventory +[cc-by 4.0]: https:/creativecommons.org/licenses/by/4.0/ +[soi docs inv export]: https://sphobjinv.readthedocs.io/en/latest/api_usage.html#exporting-an-inventory [github issue tracker]: https://github.com/bskinn/sphobjinv/issues [github repo]: https://github.com/bskinn/sphobjinv [gitter badge]: https://badges.gitter.im/sphobjinv/community.svg @@ -203,6 +203,6 @@ under a [Creative Commons Attribution 4.0 International License][cc-by 4.0] [pypi link target]: https://pypi.org/project/sphobjinv [python versions badge]: https://img.shields.io/pypi/pyversions/sphobjinv.svg?logo=python [readthedocs badge]: https://img.shields.io/readthedocs/sphobjinv/latest.svg -[readthedocs link target]: http://sphobjinv.readthedocs.io/en/latest/ +[readthedocs link target]: https://sphobjinv.readthedocs.io/en/latest/ [workflow badge]: https://img.shields.io/github/actions/workflow/status/bskinn/sphobjinv/all_core_tests.yml?logo=github&branch=main [workflow link target]: https://github.com/bskinn/sphobjinv/actions diff --git a/doc/make.bat b/doc/make.bat index b9c03e5..5669cb6 100644 --- a/doc/make.bat +++ b/doc/make.bat @@ -21,7 +21,7 @@ if errorlevel 9009 ( echo.may add the Sphinx directory to PATH. echo. echo.If you don't have Sphinx installed, grab it from - echo.http://sphinx-doc.org/ + echo.https://sphinx-doc.org/ exit /b 1 ) diff --git a/doc/source/_templates/footer.html b/doc/source/_templates/footer.html index e519d56..b231f14 100644 --- a/doc/source/_templates/footer.html +++ b/doc/source/_templates/footer.html @@ -13,9 +13,9 @@

{% endblock %} diff --git a/tests/conftest.py b/tests/conftest.py index 091df5c..19db681 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable diff --git a/tests/enum.py b/tests/enum.py index b346958..685d240 100644 --- a/tests/enum.py +++ b/tests/enum.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable diff --git a/tests/fixtures_http.py b/tests/fixtures_http.py index bf3eee4..27abe55 100644 --- a/tests/fixtures_http.py +++ b/tests/fixtures_http.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable diff --git a/tests/test_api_fail.py b/tests/test_api_fail.py index 7e65ce6..d77088f 100644 --- a/tests/test_api_fail.py +++ b/tests/test_api_fail.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable diff --git a/tests/test_api_good.py b/tests/test_api_good.py index a0433de..8193306 100644 --- a/tests/test_api_good.py +++ b/tests/test_api_good.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable diff --git a/tests/test_api_good_nonlocal.py b/tests/test_api_good_nonlocal.py index 2ba0149..eec4073 100644 --- a/tests/test_api_good_nonlocal.py +++ b/tests/test_api_good_nonlocal.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable diff --git a/tests/test_cli.py b/tests/test_cli.py index c83ac65..8dd367e 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable diff --git a/tests/test_cli_nonlocal.py b/tests/test_cli_nonlocal.py index 8841403..f074e86 100644 --- a/tests/test_cli_nonlocal.py +++ b/tests/test_cli_nonlocal.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable @@ -153,7 +153,7 @@ def test_clifail_bad_url( @pytest.mark.timeout(CLI_TEST_TIMEOUT * 4) def test_clifail_url_no_leading_http(self, run_cmdline_test, scratch_path): - """Confirm proper error behavior when a URL w/o leading 'http://' is passed.""" + """Confirm proper error behavior when a URL w/o leading scheme is passed.""" with stdio_mgr() as (in_, out_, err_): run_cmdline_test( [ diff --git a/tests/test_cli_textconv.py b/tests/test_cli_textconv.py index 4515685..3ad39cc 100644 --- a/tests/test_cli_textconv.py +++ b/tests/test_cli_textconv.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable diff --git a/tests/test_fixture.py b/tests/test_fixture.py index 03531ae..a48cb98 100644 --- a/tests/test_fixture.py +++ b/tests/test_fixture.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable diff --git a/tests/test_flake8_ext.py b/tests/test_flake8_ext.py index c851fd7..8604d12 100644 --- a/tests/test_flake8_ext.py +++ b/tests/test_flake8_ext.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable diff --git a/tests/test_intersphinx.py b/tests/test_intersphinx.py index b2ff2de..4096c0c 100644 --- a/tests/test_intersphinx.py +++ b/tests/test_intersphinx.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable diff --git a/tests/test_valid_objects.py b/tests/test_valid_objects.py index 130a9e4..6367dde 100644 --- a/tests/test_valid_objects.py +++ b/tests/test_valid_objects.py @@ -13,7 +13,7 @@ \(c) Brian Skinn 2016-2025 **Source Repository** - http://www.github.com/bskinn/sphobjinv + https://github.com/bskinn/sphobjinv **Documentation** https://sphobjinv.readthedocs.io/en/stable From fbc1666f7dfc23d0c2982864f9b4b11643edf073 Mon Sep 17 00:00:00 2001 From: Brian Skinn Date: Sat, 17 Jan 2026 00:31:39 -0500 Subject: [PATCH 6/6] Update CHANGELOG --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd9da0a..6e79336 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,12 @@ changes. #### Tests + * Add 3.13t and 3.14t to `tox` test matrix ([#333]). + * Also add report of the current GIL status to the `tox` env output. + + * Filter newly emerged `ResourceWarning` emitted from implicit cleanup of + `tempfile` resources ([#333]). + * Add tests exercising the new `sphobjinv-textconv` CLI entrypoint ([#331]). * Required generalizing the `run_cmdline_test` fixture so that tests can choose between the core and textconv entrypoints. @@ -99,6 +105,8 @@ changes. #### Administrative + * Convert several `http://` to `https://` across the project ([#333]). + * Add formal support for Python 3.14 ([#325]). * Drop support for Python 3.9 (EOL) ([#325]). @@ -780,3 +788,4 @@ changes. [#325]: https://github.com/bskinn/sphobjinv/pull/325 [#327]: https://github.com/bskinn/sphobjinv/pull/327 [#331]: https://github.com/bskinn/sphobjinv/pull/331 +[#333]: https://github.com/bskinn/sphobjinv/pull/333