Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1708643

Summary: python-blosc FTBFS with python3.8 / nonresponsive maintainer
Product: [Fedora] Fedora Reporter: Patrik Kopkan <pkopkan>
Component: python-bloscAssignee: Thibault North <thibault.north>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, thibault.north, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-13 21:57:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1686977    
Attachments:
Description Flags
Full log from Copr none

Description Patrik Kopkan 2019-05-10 12:52:37 UTC
python-blosc-1.5.1-4 fails to build due to removing platform.linux_distribution function in python3.8: https://docs.python.org/3.7/library/platform.html#platform.linux_distribution

Traceback (most recent call last):
  File "/usr/bin/copr-rpmbuild", line 158, in main
    action(args, config)
  File "/usr/bin/copr-rpmbuild", line 288, in build_rpm
    builder.run()
  File "/usr/lib/python3.6/site-packages/copr_rpmbuild/builders/mock.py", line 40, in run
    self.produce_rpm(srpm, configdir, self.resultdir)
  File "/usr/lib/python3.6/site-packages/copr_rpmbuild/builders/mock.py", line 124, in produce_rpm
    raise RuntimeError("Build failed")
RuntimeError: Build failed

Comment 1 Miro Hrončok 2019-05-10 13:08:15 UTC
Created attachment 1566664 [details]
Full log from Copr

Relevant part of the log:

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.bwU8Rw
+ umask 022
+ cd /builddir/build/BUILD
+ cd python-blosc-1.5.1
+ cd /
+ PYTHONPATH=/builddir/build/BUILDROOT/python-blosc-1.5.1-4.fc31.x86_64/usr/lib64/python3.8/site-packages
+ /usr/bin/python3 -c 'import sys, blosc; sys.exit(blosc.test())'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/builddir/build/BUILDROOT/python-blosc-1.5.1-4.fc31.x86_64/usr/lib64/python3.8/site-packages/blosc/test.py", line 301, in run
    blosc.print_versions()
  File "/builddir/build/BUILDROOT/python-blosc-1.5.1-4.fc31.x86_64/usr/lib64/python3.8/site-packages/blosc/toplevel.py", line 718, in print_versions
    print("Linux dist: %s" % " ".join(platform.linux_distribution()[:-1]))
AttributeError: module 'platform' has no attribute 'linux_distribution'
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
python-blosc version: 1.5.1
Blosc version: 1.16.3 ($Date:: 2019-03-08 #$)
Compressors available: ['blosclz', 'lz4', 'lz4hc', 'snappy', 'zlib', 'zstd']
Compressor library versions:
  BloscLZ: 1.1.0
  LZ4: 1.8.3
  Snappy: unknown
  Zlib: 1.2.11
  Zstd: 1.4.0
Python version: 3.8.0a3 (default, Mar 27 2019, 11:02:53) 
[GCC 9.0.1 20190320 (Red Hat 9.0.1-0.11)]
Platform: Linux-4.16.13-300.fc28.x86_64-x86_64 (#1 SMP Wed May 30 14:31:00 UTC 2018)

Comment 2 Miro Hrončok 2019-07-10 11:38:18 UTC
Please respond.

Comment 3 Zbigniew Jędrzejewski-Szmek 2019-07-13 21:57:47 UTC
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/build/970379/

Comment 4 Red Hat Bugzilla 2023-09-12 01:47:13 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days