>>> Downloading 'https://files.pythonhosted.org/packages/source/b/binaryornot/binaryornot-0.4.4.tar.gz' --2021-01-16 21:28:00-- https://files.pythonhosted.org/packages/source/b/binaryornot/binaryornot-0.4.4.tar.gz Resolving files.pythonhosted.org... 2a04:4e42:9::319, 151.101.37.63 Connecting to files.pythonhosted.org|2a04:4e42:9::319|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://files.pythonhosted.org/packages/a7/fe/7ebfec74d49f97fc55cd38240c7a7d08134002b1e14be8c3897c0dd5e49b/binaryornot-0.4.4.tar.gz [following] --2021-01-16 21:28:00-- https://files.pythonhosted.org/packages/a7/fe/7ebfec74d49f97fc55cd38240c7a7d08134002b1e14be8c3897c0dd5e49b/binaryornot-0.4.4.tar.gz Reusing existing connection to [files.pythonhosted.org]:443. HTTP request sent, awaiting response... 200 OK Length: 371054 (362K) [binary/octet-stream] Saving to: ‘/var/cache/distfiles/binaryornot-0.4.4.tar.gz.__download__’ /var/cache/distfiles/binar 100%[=====================================>] 362.36K --.-KB/s in 0.08s 2021-01-16 21:28:00 (4.49 MB/s) - ‘/var/cache/distfiles/binaryornot-0.4.4.tar.gz.__download__’ saved [371054/371054] !!! Fetched file: binaryornot-0.4.4.tar.gz VERIFY FAILED! !!! Reason: Filesize does not match recorded size !!! Got: 371054 !!! Expected: 372361 Refetching... File renamed to '/var/cache/distfiles/binaryornot-0.4.4.tar.gz._checksum_failure_.l9rht_lq' !!! Couldn't download 'binaryornot-0.4.4.tar.gz'. Aborting. * Fetch failed for 'dev-python/binaryornot-0.4.4-r1' Reproducible: Always
Any reasons not using mirrors? e.g. http://distfiles.gentoo.org/distfiles/a8/binaryornot-0.4.4.tar.gz Seems new tarball removes a lot of CI stuff that shouldn't be included. This may(?) need attention given I see some other differences e.g. old mirrored 0.4.4 tarball has 0.4.3 version in setup.py: -version = '0.4.3' +version = '0.4.4'
Because it's interesting to identify changes like that? :) I currently have GENTOO_MIRRORS set to a location on my FTP, which is populate by my binhost after updates. I guess I could add the default GENTOO_MIRRORS in there, will see.
Upstream really shouldn't redo releases like that (and I thought pypi forbids that entirely). I'll do a proper diff and verify whether there's no foul play here.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22525f970d958bfe6716eccb00f25e9a4495af97 commit 22525f970d958bfe6716eccb00f25e9a4495af97 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-01-17 10:35:11 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-01-17 10:36:06 +0000 dev-python/binaryornot: Use new upstream tarball Upstream has apparently redone the release. The new tarball removes some unnecessary files (including .pyc files that shouldn't be there) and fixes the version number, so we do not need the patch anymore. Closes: https://bugs.gentoo.org/765688 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/binaryornot/Manifest | 2 +- ...aryornot-0.4.4-r1.ebuild => binaryornot-0.4.4-r2.ebuild} | 8 +++----- .../files/binaryornot-0.4.4-fix-version-number.patch | 13 ------------- 3 files changed, 4 insertions(+), 19 deletions(-)