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 1718350

Summary: python-libsass fails to build with Python 3.8
Product: [Fedora] Fedora Reporter: Petr Viktorin <pviktori>
Component: python-libsassAssignee: Marcel Plch <mplch>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, mplch
Target Milestone: ---Keywords: Reopened
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-06-19 10:21:25 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    

Description Petr Viktorin 2019-06-07 14:25:22 UTC
python-libsass fails to build with Python 3.8.0b1.

It looks like the issue is not with Python; probably with libsass:
 pysass.cpp: In function ‘void _add_custom_import_extensions(Sass_Options*, PyObject*)’:
 pysass.cpp:515:9: error: ‘sass_option_push_import_extension’ was not declared in this scope
   515 |         sass_option_push_import_extension(options, PyBytes_AS_STRING(ext));
       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00926313-python-libsass/

For all our attempts to build python-libsass with Python 3.8, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-libsass/

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.8:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/

Let us know here if you have any questions.

Comment 1 Marcel Plch 2019-06-11 13:01:04 UTC
This is not due to Python 3.8, but due to incompatible libsass and python-libsass packages in rawhide.
This will be resolved by updating python-libsass, see https://bugzilla.redhat.com/show_bug.cgi?id=1697038

Comment 2 Miro Hrončok 2019-06-17 10:04:53 UTC
Please keep this open. If not resolved, the package won't install with Python 3.8.

Comment 3 Marcel Plch 2019-06-19 10:21:25 UTC
Resolved by updating to a compatible version (0.18.0) with current libsass in rawhide.