home  bbs  files  messages ]

      ZZLI4417             linux.debian.bugs.rc             13012 messages      

[ previous | next | reply ]

[ list messages | list forums ]

  Msg # 12464 of 13012 on ZZLI4417, Sunday 10-11-25, 1:22  
  From: SANTIAGO VILA  
  To: ALL  
  Subj: Bug#1117765: python-cattrs: FTBFS: E Typ  
 From: sanvila@debian.org 
  
 Package: src:python-cattrs 
 Version: 25.2.0-1 
 Severity: serious 
 Tags: ftbfs forky sid 
  
 Dear maintainer: 
  
 During a rebuild of all packages in unstable, this package failed to build. 
  
 Below you will find the last part of the build log (probably the most 
 relevant part, but not necessarily). If required, the full build log 
 is available here: 
  
 https://people.debian.org/~sanvila/build-logs/202510/ 
  
 About the archive rebuild: The build was made on virtual machines from AWS, 
 using sbuild and a reduced chroot with only build-essential packages. 
  
 If you cannot reproduce the bug please contact me privately, as I 
 am willing to provide ssh access to a virtual machine where the bug is 
 fully reproducible. 
  
 If this is really a bug in one of the build-depends, please use 
 reassign and add an affects on src:python-cattrs, so that this is still 
 visible in the BTS web page for this package. 
  
 Thanks. 
  
 ---------------------------------------------------------------- 
 --------------- 
 [...] 
  debian/rules clean 
 dh clean --with python3 --buildsystem=pybuild 
    dh_auto_clean -O--buildsystem=pybuild 
    dh_autoreconf_clean -O--buildsystem=pybuild 
    dh_clean -O--buildsystem=pybuild 
  debian/rules binary 
 dh binary --with python3 --buildsystem=pybuild 
    dh_update_autotools_config -O--buildsystem=pybuild 
    dh_autoreconf -O--buildsystem=pybuild 
    dh_auto_configure -O--buildsystem=pybuild 
    dh_auto_build -O--buildsystem=pybuild 
 I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
 module 
 I: pybuild base:311: python3.13 -m build --skip-dependency-check 
 --no-isolation --wheel --outdir /<>/.pybuild/cpython3_3. 
 13_cattr 
 * Building wheel... 
 Successfully built cattrs-25.2.0-py3-none-any.whl 
  
 [... snipped ...] 
  
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
         combined_attrs = [(_CountingAttr(counter=28522, _default=None, 
 repr=True, eq=True, order=True, hash=None, init=True, on_setattr=None, a... 
 e), 
 repr=True, eq=True, order=True, hash=None, init=True, on_setattr=None, 
 alias=None, metadata={}), just( 
 HypClass()))] 
         default    = Factory(factory=, 
 takes_self=False) 
         nested_cl  =  
         tup        = ([(_CountingAttr(counter=28522, _default=None, 
 repr=True, 
 eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, 
 metadata={}), none())], (, (), {})) 
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 _ _ 
  
 attrs_and_strategy = [(_CountingAttr(counter=28522, _default=None, 
 repr=True, 
 eq=True, order=True, hash=None, init=True, on_setattr=None, a...e), 
 repr=True, 
 eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, 
 metadata={}), just( 
 HypClass()))] 
 frozen = None 
  
     def _create_hyp_class( 
         attrs_and_strategy: list[tuple[_CountingAttr, st.SearchS 
 rategy[PosArgs]]], 
         frozen=None, 
     ) -> SearchStrategy[AttrsAndArgs]: 
         """ 
         A helper function for Hypothesis to generate attrs classes. 
  
         The result is a tuple: an attrs class, a tuple of values to 
         instantiate it, and a kwargs dict for kw-only attributes. 
         """ 
  
         def key(t): 
             return (t[0].default is not NOTHING, t[0].kw_only) 
  
 >       attrs_and_strat = sorted(attrs_and_strategy, key=key) 
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
 E       TypeError: '<' not supported between instances of 'NoneType' and 
 'bool' 
 E       while generating 'cl_and_vals' from one_of(recursive [to 
 -long-redacted] eate_dataclass, frozen=False))) 
  
 attrs_and_strategy = [(_CountingAttr(counter=28522, _default=None, 
 repr=True, 
 eq=True, order=True, hash=None, init=True, on_setattr=None, a...e), 
 repr=True, 
 eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, 
 metadata={}), just( 
 HypClass()))] 
 frozen     = None 
 key        = .key at 0x7fa766633b00> 
  
 tests/untyped.py:182: TypeError 
 ____________________ test_unmodified_generated_structuring _____ 
 _______________ 
  
     @given( 
 >       cl_and_vals=nested_typed_classes(allow_nan=False) 
                    ^^^ 
         | simple_typed_classes(allow_nan=False) 
         | simple_typed_dataclasses(allow_nan=False), 
         dv=..., 
     ) 
  
 f          = .run_test_as_given.. 
 wrapped_test 
 at 0x7fa768512c00> 
  
 tests/test_gen_dict.py:169: 
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 _ _ 
 tests/typed.py:954: in nested_typed_classes 
     cl, strat, kwarg_strat = draw( 
         allow_nan  = False 
         defaults   = 'sometimes' 
         draw       =  
         kw_only    = 'sometimes' 
         min_attrs  = 0 
         newtypes   = True 
 /usr/lib/python3/dist-packages/hypothesis/internal/conjecture/data.py:1212: 
 in 
 draw 
     return unwrapped.do_draw(self) 
            ^^^^^^^^^^^^^^^^^^^^^^^ 
         at_top_level = False 
         label      = 18174192762908001753 
         observability_enabled =  
         observe_as = None 
         self       = ConjectureData(VALID, 8 choices, frozen) 
         start_time = None 
         strategy   = recursive(lists(one_of(any_typed_attrs(), i 
 t_typed_attrs(), str_typed_attrs(), float_typed_attrs(allow_nan=False), 
 fr...al( 
     _create_hyp_nested_strategy, 
     kw_only='sometimes', 
     newtypes=True, 
     allow_nan=False, 
 ), max_leaves=20) 
         to_jsonable =  
         unwrap_strategies =  
         unwrapped  = recursive(lists(one_of(any_typed_attrs(), i 
 t_typed_attrs(), str_typed_attrs(), float_typed_attrs(allow_nan=False), 
 fr...al( 
     _create_hyp_nested_strategy, 
     kw_only='sometimes', 
     newtypes=True, 
     allow_nan=False, 
 ), max_leaves=20) 
 /usr/lib/python3/dist-packages/hypothesis/strategies/_internal/r 
 cursive.py:113: in do_draw 
     return data.draw(self.strategy) 
            ^^^^^^^^^^^^^^^^^^^^^^^^ 
         count      = 0 
         data       = ConjectureData(VALID, 8 choices, frozen) 
  
 [continued in next message] 
  
 --- SoupGate-Win32 v1.05 
  * Origin: you cannot sedate... all the things you hate (1:229/2) 

[ list messages | list forums | previous | next | reply ]

search for:

328,119 visits
(c) 1994,  bbs@darkrealms.ca