#1 ANNOUNCED: Update to 1.0.1
Merged 11 months ago by music. Opened a year ago by music.
rpms/ music/python-signature-dispatch v1.0.1  into  rawhide

file modified
+1
@@ -1,1 +1,2 @@ 

  /signature_dispatch-1.0.0.tar.gz

+ /signature_dispatch-1.0.1.tar.gz

@@ -4,7 +4,7 @@ 

  # rather than upgrade python-autoclasstoc.

   

  Name:           python-signature-dispatch

- Version:        1.0.0

+ Version:        1.0.1

  Release:        %autorelease

  Summary:        Overload functions based on their call signature and type annotations

  
@@ -13,11 +13,16 @@ 

  URL:            https://github.com/kalekundert/signature_dispatch

  Source:         %{pypi_source signature_dispatch}

  

+ # Migrate to typeguard v4.0

+ # https://github.com/kalekundert/signature_dispatch/pull/5

+ # Rebased on the PyPI sdist, which has different whitespace in pyproject.toml,

+ # and version specification loosened to allow rc3 or later.

+ Patch:          typeguard-v4.patch

+ 

  BuildArch:      noarch

  

  BuildRequires:  python3-devel

  

- 

  %global common_description %{expand:

  This package provides a simple python library for overloading functions based

  on their call signature and type annotations.}

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (signature_dispatch-1.0.0.tar.gz) = c13ac92f50a8bd7a9fcd0b231f74a14539fd9c0303fdb29860a93116512a20113708c3207c4b2d8f61a48a9632e8cd21f7ea3fcb49ae3a4b1c79eb6a71df4eab

+ SHA512 (signature_dispatch-1.0.1.tar.gz) = 656fb47c50d865d1afec53f389154e783792bcedd7443442a142d19bcbd352fe0eff41ae9ef74378bafc164bb386a8e9a6f57d762f34ad23557a44a5d0d0f5de

file added
+36
@@ -0,0 +1,36 @@ 

+ diff -Naur signature_dispatch-1.0.1-original/pyproject.toml signature_dispatch-1.0.1/pyproject.toml

+ --- signature_dispatch-1.0.1-original/pyproject.toml	2023-03-15 13:13:04.468334400 -0400

+ +++ signature_dispatch-1.0.1/pyproject.toml	2023-05-12 10:33:28.280594268 -0400

+ @@ -10,7 +10,7 @@

+  description-file = 'README.rst'

+  requires-python = "~=3.7"

+  requires = [

+ -  'typeguard~=3.0',

+ +  'typeguard~=4.0',

+  ]

+  classifiers = [

+    'Programming Language :: Python :: 3',

+ diff -Naur signature_dispatch-1.0.1-original/README.rst signature_dispatch-1.0.1/README.rst

+ --- signature_dispatch-1.0.1-original/README.rst	2023-03-15 13:13:04.468334400 -0400

+ +++ signature_dispatch-1.0.1/README.rst	2023-05-12 10:33:28.280594268 -0400

+ @@ -94,16 +94,16 @@

+    TypeError: can't dispatch the given arguments to any of the candidate functions:

+    arguments: 'a'

+    candidates:

+ -  (x: int): type of x must be int; got str instead

+ -  (x: List[int]): type of x must be a list; got str instead

+ +  (x: int): x: str is not an instance of int

+ +  (x: List[int]): x: str is not a list

+    >>> f2(['a'])

+    Traceback (most recent call last):

+        ...

+    TypeError: can't dispatch the given arguments to any of the candidate functions:

+    arguments: ['a']

+    candidates:

+ -  (x: int): type of x must be int; got list instead

+ -  (x: List[int]): type of x[0] must be int; got str instead

+ +  (x: int): x: list is not an instance of int

+ +  (x: List[int]): x: item 0 of list is not an instance of int

+  

+  Details

+  =======

Supports (only) version 3 4 of typeguard.

Merge and build in a side tag with https://src.fedoraproject.org/rpms/python-typeguard/pull-request/3.

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/53177f6529be43608bb1210230bafa06

1 new commit added

  • Patch for typeguard v4
a year ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/20709a679c964aa0bd635a78896a5c26

rebased onto 8a37250

11 months ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/1c1b3b5bcb0a40838f2eaa398cef8695

Pull-Request has been merged by music

11 months ago