Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834877 - dev-python/flask-compress-1.11 fails to fetch
Summary: dev-python/flask-compress-1.11 fails to fetch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-10 07:38 UTC by Agostino Sarubbo
Modified: 2022-03-18 21:37 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,2.38 KB, text/plain)
2022-03-10 07:38 UTC, Agostino Sarubbo
Details
Patch for this issue (flask-compress.diff,595 bytes, patch)
2022-03-18 01:04 UTC, Ben Chaney
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>