-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
removed the constraint to use latest version of libsass #24464
Conversation
jenkins run a11y |
jenkins run all |
191f8c5
to
672a22f
Compare
jenkins run a11y |
after fixing the errors thrown by
I'm assuming the footprint of changes in this PR is way too much for |
I don't fully understand why adding Dart sass is the new preferred implementation of SASS (see docs: https://sass-lang.com/dart-sass). If you're looking to make an upgrade and swapping Libsass for Dart SASS isn't a huge lift that would be an ideal route to go since we'll need to do that eventually anyway. |
@abutterworth it looks like Dart Sass doesn't have python implementation available, we'd need NodsJs installation to be part of every build to compile .scss files (assuming we can replace |
As far as I can tell, we only use |
jenkins run all |
Your PR has finished running tests. The following contexts failed:
|
📣 💥 Heads-up: You must either rebase onto master or merge master into your branch to avoid breaking the build. We recently removed diff-quality and introduced lint-amnesty. This means that the automated quality check that has run on your branch doesn't work the same way it will on master. If you have introduced any quality failures, they might pass on the PR but then break the build on master. This branch has been detected to not have commit 2e33565 as an ancestor. Here's how to see for yourself:
If you have any questions, please reach out to the Architecture team (either #edx-shared-architecture on Open edX Slack or #architecture on edX internal). |
@abutterworth @davidjoy Any feedback on my previous question on this PR? We still need to upgrade or replace this package. |
@jmbowman There's a series of PRs to upgrade libsass to latest and update our theme and styles to support the latest. I think we should upgrade to Dart SASS soon, but I think we should take these first iterative steps on libsass/bootstrap/paragon upgrade:
Dart SASS includes updates to the way SASS can import partials via |
closing in favor of @abutterworth 's work on upgrading |
edx-platform is still using
libsass
version 0.10.0 that was released in 2015, this PR intends to upgradelibsas
to use the latest version available i.e 0.20.1since then there has been quite a few new rules/checks in SCSS that
@extend
inside media queries!optional
specified to avoid errors during compilationI've added
scss_modernizer.py
to automatically select all@extend
in scss files and add!optional
as required bylibsass