Bug#968666: electrum: exception which prevents startup "Non keyword-only attributes not allowed after..."

2020-08-19 Thread Luke Kenneth Casson Leighton
On Wed, Aug 19, 2020 at 3:29 PM Tristan Seligmann
 wrote:
>
> Control: tags -1 - upstream
> Control: forcemerge 968563 -1
>
> On Wed, 19 Aug 2020 at 14:48, lkcl  wrote:
> >
> > ValueError: Non keyword-only attributes are not allowed after a 
> > keyword-only attribute.  Attribute in question: Attribute(name='invoice', 
> > default=NOTHING, validator=None, repr=True, cmp=True, hash=None, init=True, 
> > metadata=mappingproxy({}), type=, converter=None, 
> > kw_only=False)
>
> This is a consequence of #968563; upgrading python3-attr should fix it.

the normal approach to this would be to release a version of the
electrum packaging that specifically depends on that specific version
of python3-attr or above. the following to go into debian/control:

Depends: python3-attr >= 19.3.0-5

l.



Bug#968666: electrum: exception which prevents startup "Non keyword-only attributes not allowed after..."

2020-08-19 Thread Luke Kenneth Casson Leighton
On Wed, Aug 19, 2020 at 6:34 PM Tristan Seligmann
 wrote:

> > the normal approach to this would be to release a version of the
> > electrum packaging that specifically depends on that specific version
> > of python3-attr or above. the following to go into debian/control:
>
> Yes, the next upload will fix this as well as some other dependency issues.

fantastic, thanks tristan.

l.



Bug#968666: electrum: exception which prevents startup "Non keyword-only attributes not allowed after..."

2020-08-19 Thread Tristan Seligmann
On Wed, 19 Aug 2020 at 19:28, Luke Kenneth Casson Leighton
 wrote:
> > On Wed, 19 Aug 2020 at 14:48, lkcl  wrote:
> > >
> > > ValueError: Non keyword-only attributes are not allowed after a 
> > > keyword-only attribute.  Attribute in question: Attribute(name='invoice', 
> > > default=NOTHING, validator=None, repr=True, cmp=True, hash=None, 
> > > init=True, metadata=mappingproxy({}), type=, converter=None, 
> > > kw_only=False)
> >
> > This is a consequence of #968563; upgrading python3-attr should fix it.
>
> the normal approach to this would be to release a version of the
> electrum packaging that specifically depends on that specific version
> of python3-attr or above. the following to go into debian/control:

Yes, the next upload will fix this as well as some other dependency issues.



Bug#968666: electrum: exception which prevents startup "Non keyword-only attributes not allowed after..."

2020-08-19 Thread Tristan Seligmann
Control: tags -1 - upstream
Control: forcemerge 968563 -1

On Wed, 19 Aug 2020 at 14:48, lkcl  wrote:
>
> ValueError: Non keyword-only attributes are not allowed after a keyword-only 
> attribute.  Attribute in question: Attribute(name='invoice', default=NOTHING, 
> validator=None, repr=True, cmp=True, hash=None, init=True, 
> metadata=mappingproxy({}), type=, converter=None, kw_only=False)

This is a consequence of #968563; upgrading python3-attr should fix it.



Bug#968666: electrum: exception which prevents startup "Non keyword-only attributes not allowed after..."

2020-08-19 Thread lkcl
Package: electrum
Version: 4.0.2-0.1
Severity: important
Tags: upstream


  File "/usr/bin/electrum", line 84, in 
from electrum.logging import get_logger, configure_logging
  File "/usr/lib/python3/dist-packages/electrum/__init__.py", line 16, in 

from .wallet import Wallet
  File "/usr/lib/python3/dist-packages/electrum/wallet.py", line 65, in 
from .storage import StorageEncryptionVersion, WalletStorage
  File "/usr/lib/python3/dist-packages/electrum/storage.py", line 36, in 

from .wallet_db import WalletDB
  File "/usr/lib/python3/dist-packages/electrum/wallet_db.py", line 36, in 

from .invoices import PR_TYPE_ONCHAIN, Invoice
  File "/usr/lib/python3/dist-packages/electrum/invoices.py", line 146, in 

class LNInvoice(Invoice):
  File "/usr/lib/python3/dist-packages/attr/_make.py", line 904, in attrs
return wrap(maybe_cls)
  File "/usr/lib/python3/dist-packages/attr/_make.py", line 855, in wrap
cache_hash,
  File "/usr/lib/python3/dist-packages/attr/_make.py", line 471, in __init__
cls, these, auto_attribs, kw_only
  File "/usr/lib/python3/dist-packages/attr/_make.py", line 416, in 
_transform_attrs
a=a
ValueError: Non keyword-only attributes are not allowed after a keyword-only 
attribute.  Attribute in question: Attribute(name='invoice', default=NOTHING, 
validator=None, repr=True, cmp=True, hash=None, init=True, 
metadata=mappingproxy({}), type=, converter=None, kw_only=False)



-- System Information:
Debian Release: 8.1
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-1-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages electrum depends on:
ii  python3-electrum  4.0.2-0.1
pn  python3:any   

Versions of packages electrum recommends:
ii  python3-pyqt5  5.15.0+dfsg-1+b1

Versions of packages electrum suggests:
pn  python3-btchip  
pn  python3-trezor  
pn  python3-zbar

-- no debconf information