Closed jtomasek closed 10 years ago
Hi,
this might have to do with line 7 in _grid-framework.scss:
@mixin make-grid-columns($i: 1, $list: ".col-xs-#{$i}, .col-sm-#{$i}, .col-md-#{$i}, .col-lg-#{$i}") {
it looks like variable $i is used in the same definition it is itself defined in. No idea if that's valid scss or not.
Addendum: I could reproduce this problem when running pyscss from pypi, but it seems fixed in the current dev branch. strike that, I didn't know what I was doing.
Ah, fixed in master. We were still doing textual interpolation on function calls before trying to parse the arguments (yikes).
I have a local test that asserts Bootstrap master compiles with pyscss master, now. And the output is... very similar to Ruby's. When it's identical maybe I can add a real test. :)
Is this already released? If not, when can we expect a release?
Still waiting to hear back from the original author. At the moment I'm not sure whether I broke anything of his.
I think @jtomasek is on vacation. It would be great if we could get this into Horizon before the release and use Bootstrap 3.2. Thank you for fixing it, by the way.
I put out a prerelease, 1.3.0.a1. Just pass --pre
to pip install
to get it.
Thanks for fixing it and for prerelease!
Hmm, it seems that it doesn't work with django-pyscss anymore, investigating further. For now I just have:
>>> import django_pyscss.compressor.DjangoScssFilter
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/home/sheep/horizon/.venv/lib/python2.7/site-packages/django_pyscss/compressor.py", line 8, in <module>
from django_pyscss.scss import DjangoScss
File "/home/sheep/horizon/.venv/lib/python2.7/site-packages/django_pyscss/scss.py", line 9, in <module>
from scss import (
ImportError: cannot import name dequote
Ok, this is a bug in django-pyscss and it's being fixed there https://github.com/fusionbox/django-pyscss/issues/19
I attempted to hack around this in the 1.2.x
branch; the solution is pretty bad, but what we were doing was already pretty bad, so :)
If you can confirm that that works, I can do a 1.2.1 release.
That is great, I will test it first thing tomorrow in the morning. Thank you!
@eevee it works like a charm, thank you for going out of your way to accomodate us! I will add >=1.2.1<1.3 to our requirements.
Phew, glad to see this resolved :) 1.2.1 is now on PyPI for real.
I am getting following error with the 3.2.0 version of Twitter Bootstrap.
I think there is a problem with evaluation of some expression in /scss/bootstrap/mixins/_grid-framework.scss