It's been a couple of weeks and no action upstream.  I'll plan on uploading 
this unless you'd rather I hold off for some reason.

Scott K

On Wed, 24 Jan 2024 16:56:30 -0500 Scott Kitterman <deb...@kitterman.com> 
wrote:
> On Tue, 16 Jan 2024 20:41:58 +0100 Lucas Nussbaum <lu...@debian.org> wrote:
> > Source: pycountry
> > Version: 23.12.11+ds1-1
> > Severity: serious
> > Justification: FTBFS
> > Tags: trixie sid ftbfs
> > User: lu...@debian.org
> > Usertags: ftbfs-20240115 ftbfs-trixie
> > 
> > Hi,
> > 
> > During a rebuild of all packages in sid, your package failed to build
> > on amd64.
> 
> This is due to changes in the recent iso-codes upload.  the patch below fixes 
> it so it should work with either version:
> 
> --- pycountry-23.12.11+ds1.orig/src/pycountry/__init__.py
> +++ pycountry-23.12.11+ds1/src/pycountry/__init__.py
> @@ -169,7 +169,8 @@ class SubdivisionHierarchy(pycountry.db.
>              kw["parent_code"] = None
>          super().__init__(**kw)
>          self.country_code = self.code.split("-")[0]
> -        if self.parent_code is not None:
> +        if (self.parent_code is not None and
> +            self.country_code != self.parent_code.split("-")[0]):
>              self.parent_code = f"{self.country_code}-{self.parent_code}"
>  
>      @property
> 
> Please let me know if you don't want an NMU.  This will eventually cause 
> xml2rfc to be removed, so I'll NMU at some point unless you want to take 
care 
> of it first (thanks if you do).
> 
> Scott K
&references=<2567281.9CzbHMAgVU@zini-1880>

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to