Revisions of python-sphinx-autodoc-typehints

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1218927 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 20)
- Remove python-nptyping BuildRequirement for SLFO:Main
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1202593 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 19)
- update to 2.4.4:
  * Fix placement of return type when there is a doctest
  * README and CI fixes
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1199458 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 18)
- 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
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1183919 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 17)
- 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
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1143500 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 16)
- update to 1.25.3:
  * dependency bumps
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1140272 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 15)
Automatic submission by obs-autosubmit
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1099932 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 14)
- add sle15_python_module_pythons, remove skip_python2
Richard Brown's avatar Richard Brown (RBrownFactory) accepted request 1008878 from Markéta Machová's avatar Markéta Machová (mcalabkova) (revision 13)
- 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
  
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 981057 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 11)
- Update to 1.18.2:
  - [pre-commit.ci] pre-commit autoupdate
  - Support and require nptyping 2.1.1
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 976276 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 10)
- Switch to multibuild to break build cycles.
- 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)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 888210 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 7)
- 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).
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 888061 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 6)
- Add no-net-tests.patch which marks tests requiring network
  (gh#agronholm/sphinx-autodoc-typehints#174).
- update to 1.11.0:
  * Dropped support for Sphinx < 3.0
  * Added support for alternative parameter names (``arg``, ``argument``, ``parameter``)
  * Fixed import path for Signature (PR by Matthew Treinish)
  * Fixed ``TypeError`` when formatting a parametrized ``typing.IO`` annotation
  * Fixed data class displaying a return type in its ``__init__()`` method
- remove python-sphinx-autodoc-typehints-system-object.inv.patch (breaks the build)
Yuchen Lin's avatar Yuchen Lin (maxlin_factory) accepted request 731298 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 4)
- Update to 1.8.0:
  * Fixed regression which caused TypeError or OSError when trying to set annotations due to PR #87
  * Fixed unintentional mangling of annotation type names
  * Added proper :py:data targets for NoReturn, ClassVar and Tuple
  * Added support for inline type comments (like (int, str) -> None) (PR by Bernát Gábor)
  * Use the native AST parser for type comment support on Python 3.8+
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 729759 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 3)
- Update to 1.7.0:
  * Fixed unwrapped local functions causing errors (PR by Kimiyuki Onaka)
  * Fixed AttributeError when documenting the __init__() method of a data class
  * Added support for type hint comments (PR by Markus Unterwaditzer)
  * Added flag for rendering classes with their fully qualified names (PR by Holly Becker)
- Remove merged patch sphinx21.patch
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 713192 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 2)
- Add patch to fix build with new sphinx:
  * sphinx21.patch

- Drop not really needed devel dependency
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 687908 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 1)
- Remove patch setup-tests.patch, we are using pytest now.
- initial package for version 1.6.0
Displaying all 20 revisions
openSUSE Build Service is sponsored by