From e9ad5e41fab3614b2cbb9d23d5fde3992736a4f9d8978c4a005b3bf8283c15a4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 15 Dec 2023 22:40:51 +0000 Subject: [PATCH] - update to 2.3.1: * The printout of the inferred `intersphinx_mapping` item for inventories retrieved by URL (`--url`) in the 'suggest' CLI mode is now relocated to fall immediately below the inventory-search output. * The 'suggest' CLI mode output now includes dividers for improved readability. * `MANIFEST.in` was revised in order to provide a testable (`pytest --nonloc`) * sdist, in order to streamline packaging of `sphobjinv` for conda-forge. * The version constraint for `pytest-check` was raised to `>=1.1.2`. * The CLI now prints the project name and version for the `objects.inv` as part of the 'suggest' mode output. * The CLI now prints an inferred `intersphinx_mapping` entry for a remote docset as part of the 'suggest' mode output, where such inference is possible. The output from this mapping inference was added to the relevant tests, and a couple of unit tests on some basic pieces of functionality were written. * The CLI now provides considerably more information about what is happening with the URLs it checks when trying to retrieve a remote inventory. * CLI 'suggest' results output now displays more information about the total number of objects in the inventory, the search score threshold, and the number of results falling at/above that threshold. * A new CLI option, `-p`/`--paginate`, enables paging of the results from the `suggest` feature. (#70) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphobjinv?expand=0&rev=7 --- python-sphobjinv.changes | 34 ++++++++++++++++++++++++++++++++++ python-sphobjinv.spec | 8 ++++---- sphobjinv-2.2.2.tar.gz | 3 --- sphobjinv-2.3.1.tar.gz | 3 +++ 4 files changed, 41 insertions(+), 7 deletions(-) delete mode 100644 sphobjinv-2.2.2.tar.gz create mode 100644 sphobjinv-2.3.1.tar.gz diff --git a/python-sphobjinv.changes b/python-sphobjinv.changes index 5e67fd2..e7cf45a 100644 --- a/python-sphobjinv.changes +++ b/python-sphobjinv.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Fri Dec 15 22:37:28 UTC 2023 - Dirk Müller + +- update to 2.3.1: + * The printout of the inferred `intersphinx_mapping` item for + inventories retrieved by URL (`--url`) in the 'suggest' CLI + mode is now relocated to fall immediately below the + inventory-search output. + * The 'suggest' CLI mode output now includes dividers for + improved readability. + * `MANIFEST.in` was revised in order to provide a testable + (`pytest --nonloc`) + * sdist, in order to streamline packaging of `sphobjinv` for + conda-forge. + * The version constraint for `pytest-check` was raised to + `>=1.1.2`. + * The CLI now prints the project name and version for the + `objects.inv` as part of the 'suggest' mode output. + * The CLI now prints an inferred `intersphinx_mapping` entry + for a remote docset as part of the 'suggest' mode output, + where such inference is possible. The output from this mapping + inference was added to the relevant tests, and a couple of + unit tests on some basic pieces of functionality were + written. + * The CLI now provides considerably more information about what + is happening with the URLs it checks when trying to retrieve a + remote inventory. + * CLI 'suggest' results output now displays more information + about the total number of objects in the inventory, the search + score threshold, and the number of results falling at/above + that threshold. + * A new CLI option, `-p`/`--paginate`, enables paging of the + results from the `suggest` feature. (#70) + ------------------------------------------------------------------- Thu Jul 14 17:08:37 UTC 2022 - Ben Greiner diff --git a/python-sphobjinv.spec b/python-sphobjinv.spec index 3254180..7cc0f9f 100644 --- a/python-sphobjinv.spec +++ b/python-sphobjinv.spec @@ -1,7 +1,7 @@ # # spec file for package python-sphobjinv # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-sphobjinv -Version: 2.2.2 +Version: 2.3.1 Release: 0 Summary: Sphinx objectsinv Inspection/Manipulation Tool License: MIT @@ -41,9 +41,9 @@ BuildRequires: %{python_module attrs >= 19.4} BuildRequires: %{python_module certifi} BuildRequires: %{python_module dictdiffer} BuildRequires: %{python_module jsonschema >= 3.0} -BuildRequires: %{python_module pytest-check} +BuildRequires: %{python_module pytest >= 4.4.0} +BuildRequires: %{python_module pytest-check >= 1.1.2} BuildRequires: %{python_module pytest-timeout} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module sphinx_rtd_theme} # /SECTION %python_subpackages diff --git a/sphobjinv-2.2.2.tar.gz b/sphobjinv-2.2.2.tar.gz deleted file mode 100644 index cadfdc3..0000000 --- a/sphobjinv-2.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d05d9f144b3aa37c5e83042745c39adfeb2eca83c0a12bb06af111bc3278e1d3 -size 1188094 diff --git a/sphobjinv-2.3.1.tar.gz b/sphobjinv-2.3.1.tar.gz new file mode 100644 index 0000000..b09414b --- /dev/null +++ b/sphobjinv-2.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dab4abb840c8d2a5b3532da4318243c70ab0d18f6a87596eae16c3ef178265b1 +size 1345653