diff --git a/Cargo.lock b/Cargo.lock index 346e0fbcb5a..8c975563cbc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2195,7 +2195,7 @@ dependencies = [ [[package]] name = "osmesa-src" version = "17.2.0-devel" -source = "git+https://github.com/servo/osmesa-src#fe47d99acf27a9620c521d576d26dbfa1cf29372" +source = "git+https://github.com/servo/osmesa-src#206464252f31583c2338393f8b6da99780a1ebdf" [[package]] name = "osmesa-sys" diff --git a/Cargo.toml b/Cargo.toml index a8396d3480e..d23907dc986 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,3 +19,8 @@ opt-level = 3 # crate, add that here. Use the form: # # = { path = "/path/to/local/checkout" } +# +# Or for a git dependency: +# +# [patch."https://github.com/servo/"] +# = { path = "/path/to/local/checkout" } diff --git a/python/requirements.txt b/python/requirements.txt index b96c4741b05..44ee760eefd 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -8,7 +8,6 @@ mozinfo == 0.8 mozlog == 3.3 setuptools == 18.5 toml == 0.9.2 -Mako == 1.0.4 # For Python linting flake8 == 2.4.1 diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py index e0ccf8f0bd6..41aee9d5303 100644 --- a/python/servo/package_commands.py +++ b/python/servo/package_commands.py @@ -26,6 +26,8 @@ from mach.decorators import ( ) from mach.registrar import Registrar # Note: mako cannot be imported at the top level because it breaks mach bootstrap +sys.path.append(path.join(path.dirname(__file__), "..", "..", + "components", "style", "properties", "Mako-0.9.1.zip")) from servo.command_base import ( archive_deterministically,