Bug 1718350 - python-libsass fails to build with Python 3.8
Summary: python-libsass fails to build with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-libsass
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Marcel Plch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-06-07 14:25 UTC by Petr Viktorin (pviktori)
Modified: 2019-06-19 10:21 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-06-19 10:21:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Viktorin (pviktori) 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.


Note You need to log in before you can comment on or make changes to this bug.