Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1707998 - python-setuptools_scm fails to build with Python 3.8
Summary: python-setuptools_scm fails to build with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-setuptools_scm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-05-08 22:41 UTC by Miro Hrončok
Modified: 2019-05-12 17:27 UTC (History)
3 users (show)

Fixed In Version: python-setuptools_scm-3.3.3-1.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-12 17:27:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full log from Copr (206.20 KB, text/plain)
2019-05-08 22:41 UTC, Miro Hrončok
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github pypa setuptools_scm issues 335 0 None None None 2019-05-11 19:50:59 UTC

Description Miro Hrončok 2019-05-08 22:41:34 UTC
Created attachment 1565836 [details]
Full log from Copr

python-setuptools_scm-3.2.0-1.fc31 fails to build with Python 3.8.0a4 due to a DeprecationWarning treated as error:


func = <function parse at 0x7f368cb085c0>

    def getfullargspec(func):
        """Get the names and default values of a callable object's parameters.
    
        A tuple of seven things is returned:
        (args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotations).
        'args' is a list of the parameter names.
        'varargs' and 'varkw' are the names of the * and ** parameters or None.
        'defaults' is an n-tuple of the default values of the last n parameters.
        'kwonlyargs' is a list of keyword-only parameter names.
        'kwonlydefaults' is a dictionary mapping names from kwonlyargs to defaults.
        'annotations' is a dictionary mapping parameter names to annotations.
    
        .. deprecated:: 3.8
            Use inspect.signature() instead of inspect.getfullargspec().
    
        Notable differences from inspect.signature():
          - the "self" parameter is always reported, even for bound methods
          - wrapper chains defined by __wrapped__ *not* unwrapped automatically
        """
    
>       warnings.warn("Use inspect.signature() instead of inspect.getfullargspec()",
                      DeprecationWarning, stacklevel=2)
E       DeprecationWarning: Use inspect.signature() instead of inspect.getfullargspec()

Full log attached.

Comment 1 Orion Poplawski 2019-05-09 00:50:18 UTC
I just updated to 3.3.0 in rawhide - can you test that please?  Thanks.

Comment 2 Miro Hrončok 2019-05-09 07:53:32 UTC
Same problem: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/build/906503/

Comment 3 Orion Poplawski 2019-05-12 15:26:03 UTC
Upstream has released 3.3.3 to attempt to fix this.  I've checked that in, please try with that.

Comment 4 Miro Hrončok 2019-05-12 17:27:31 UTC
Thanks!


Note You need to log in before you can comment on or make changes to this bug.