Bug 1817779

Summary: python-scss fails to build with setuptools 46+
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-scssAssignee: Matthias Runge <mrunge>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, mhroncok, mplch, mrunge, puiterwijk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-scss-1.3.7-1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-20 06:44:23 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: 1785415, 1803234    

Description Miro Hrončok 2020-03-27 00:00:01 UTC
python-scss fails to build with setuptools 46+

+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s'
Traceback (most recent call last):
  File "/builddir/build/BUILD/pyScss-1.3.5/setup.py", line 9, in <module>
    from setuptools import setup, Extension, Feature
ImportError: cannot import name 'Feature' from 'setuptools' (/usr/lib/python3.9/site-packages/setuptools/__init__.py)
error: Bad exit status from /var/tmp/rpm-tmp.b4MOzv (%build)


See https://github.com/pypa/setuptools/issues/65#issuecomment-576010662

This blocks the Python 3.9 rebuild.

For the build logs with Python 3.9, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01321109-python-scss/

For all our attempts to build python-scss with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-scss/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.9:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Let us know here if you have any questions.

Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Miro Hrončok 2020-04-18 11:19:55 UTC
Could you please have a look? The upstream fix is https://github.com/Kronuz/pyScss/pull/386 included in 1.3.6+.

Comment 2 Matthias Runge 2020-04-20 06:44:23 UTC
Thank you for the pointer.
I've built 1.3.7 in rawhide.

Comment 3 Miro Hrončok 2020-04-20 09:35:51 UTC
Thanks.