Changelog for
python310-sphinx-autodoc-typehints-2.4.4-2.7.noarch.rpm :
* Mon Sep 23 2024 Dirk Müller
- update to 2.4.4:
* Fix placement of return type when there is a doctest
* README and CI fixes
* Sun Sep 08 2024 Dirk Müller - update to 2.4.0:
* Drop 3.9 support
* Add 3.13 support- update to 2.3.0:
* Add module name rewrite configuration option- update to 2.2.3:
* Fix mypy errors due to unneeded type ignores
* Fix rendering when docstring starst with a directive
* Sat Jun 29 2024 Dirk Müller - update to 2.2.2:
* Fix for Issue #384: typehints_defaults = \"braces-after\" fails for a multiline `:param:` entry
* Support autodoc_type_aliases configuration
* Support Sphinx 7.3 and drop 3.8 support
* Return injection fix
* Add option to force unions (and options) to be rendered with bars
* Thu Feb 01 2024 Dirk Müller - update to 1.25.3:
* dependency bumps
* Sun Jan 14 2024 Dirk Müller - update to 1.25.2:
* Allow Sphinx explicitly to write in parallel.
* Fixed crash when documenting ParamSpecArgs
* Fixed a bug where if a class has an attribute and a constructor argument with the same name, the constructor argument type would be rendered incorrectly (issue 308)
* Fixed napoleon handling of numpy docstrings with no specified return type.
* Fix a `Field list ends without a blank line` warning (issue 305).
* More robust determination of rtype location / fix issue 302
* Improvements to the location of the return type
* Use format_annotation to render class attribute type annotations
* Fix overloads support
* Fix spacing between `:rtype:` and directives
* Handle types from types module
* If module is \\_io, use io instead
* Put rtype before examples or usage section
* Remove redundant return type for attributes
* Handle collections.abc.Callable as well as typing.Callable
* Put Literal args in code blocks
* Fix Optional role to be data.
* Fixed default options not displaying for parameters without type hints.
* Use hatchling instead of setuptools
* Add support for typing.ParamSpec
* Allow star prefixes for parameter names in docstring
* Fri Jul 21 2023 Johannes Kastl - add sle15_python_module_pythons, remove skip_python2
* Fri Oct 07 2022 Yogalakshmi Arunachalam - Update to version 1.19.2
* Fix incorrect domain used for collections.abc.Callable.
* Support for CPython 3.11, no longer adds Optional when the argument is default
* Thu Jul 14 2022 Ben Greiner - Update to 1.18.3
* Fix for new nptyping by AATTgaborbernat in #235- Remove requirement on old extra package pathlib
* Mon Jun 06 2022 Matej Cepl - Update to 1.18.2: - [pre-commit.ci] pre-commit autoupdate - Support and require nptyping 2.1.1
* Wed May 11 2022 Matej Cepl - Switch to multibuild to break build cycles.
* Thu May 05 2022 Matej Cepl - Upgrade to 1.18.1: - Fix mocked module import not working when used as guarded import - Support and require nptyping>=2 - Handle UnionType - Mark it as requiring nptyping<2 - Add typehints_use_rtype option - Handles TypeError when getting source code via inspect - Add support for type subscriptions with multiple elements, where one or more elements are tuples; e.g., nptyping.NDArray[(Any, ...), nptyping.Float] - Fix bug for arbitrary types accepting singleton subscriptions; e.g., nptyping.Float[64] - Resolve forward references - Expand and better handle TypeVar - Add intershpinx reference link for ... to Ellipsis (as is just an alias) - Prevents reaching inner blocks that contains if TYPE_CHECKING - Log a warning instead of crashing when a type guard import fails to resolve - When resolving type guard imports if the target module does not have source code (such is the case for C-extension modules) do nothing instead of crashing - Fix fully_qualified should be typehints_fully_qualified - Resolve type guard imports before evaluating annotations for objects - Remove set_type_checking_flag flag as this is now done by default - Fix crash when the inspect module returns an invalid python syntax source - Made formatting function configurable using the option typehints_formatter - Fixed normalize_source_lines() messing with the indentation of methods with decorators that have parameters starting with def. - Handle ValueError or TypeError being raised when signature of an object cannot be determined - Fix KeyError being thrown when argument is not documented (e.g. cls argument for class methods, and self for methods) - Added typehints_defaults config option allowing to automatically annotate parameter defaults. - Fixed NewType inserts a reference as first argument instead of a string - Dropped Python 3.6 support - Python 3.10 support - Normalize async functions properly - Allow py310 style annotations (PEP-563)
* Mon Dec 27 2021 Ben Greiner - Skip python310: Not ready yet. Factory needs only the primary python3 flavor
* Tue Aug 03 2021 Matej Cepl - Update to 1.12.0: - Dropped Python 3.5 support - Added the simplify_optional_unions config option - Fixed indentation of multiline strings - Changed formatting of None to point to the Python stdlib docs - Updated special dataclass handling
* Sat Apr 24 2021 Matej Cepl - Remove no-net-tests.patch as adding the fixed python-sphinx-autodoc-typehints-system-object.inv.patch makes tests requiring network working (gh#agronholm/sphinx-autodoc-typehints#174).
* Fri Apr 23 2021 Matej Cepl - Add no-net-tests.patch which marks tests requiring network (gh#agronholm/sphinx-autodoc-typehints#174).