Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 834877

Summary: dev-python/flask-compress-1.11 fails to fetch
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Aaron W. Swenson <titanofold>
Status: RESOLVED FIXED    
Severity: normal CC: arthurzam, chaneybenjamini, harrisl, leonchik1976, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
Patch for this issue

Description Agostino Sarubbo gentoo-dev 2022-03-10 07:38:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/flask-compress-1.11 fails to fetch.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-03-10 07:38:29 UTC
Created attachment 766685 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-03-10 07:38:30 UTC
Error(s) that match a know pattern:


 * Fetch failed for 'dev-python/flask-compress-1.11', Log file:
Comment 3 Ben Chaney 2022-03-18 01:04:52 UTC
Created attachment 767285 [details, diff]
Patch for this issue

I believe the issue is that the URL is generated as https://files.pythonhosted.org/packages/source/f/Flask-Compress/Flask-Compress-1.11.tar.gz rather than as https://files.pythonhosted.org/packages/source/F/Flask-Compress/Flask-Compress-1.11.tar.gz (note the case of the 'f' after /source/). I have attached a patch that should solve this.
Comment 4 Ulrich Müller gentoo-dev 2022-03-18 21:37:48 UTC
commit 49951ac2ee6d69c848090239154a2a786341edc4
Author: Ulrich Müller <ulm@gentoo.org>
Date:   Fri Mar 18 22:34:02 2022 +0100

    dev-python/flask-compress: Fix fetch failure
    
    Thanks to Ben Chaney for providing a fix.
    
    Closes: https://bugs.gentoo.org/834877
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>