Skip to content

Commit

Permalink
ci: pin syn to 1.0 for MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Mar 23, 2023
1 parent cc41315 commit df4fb07
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,14 @@ def set_minimal_package_versions(session: nox.Session, venv_backend="none"):
"parking_lot": "0.11.0",
# 1.0.77 needs basic-toml which has edition 2021
"trybuild": "1.0.76",
# pins to avoid syn 2.0 (which requires Rust 1.56)
"ghost": "0.1.8",
"serde": "1.0.156",
"serde_derive": "1.0.156",
"cxx": "1.0.92",
"cxxbridge-macro": "1.0.92",
"cxx-build": "1.0.92",
"syn": "1.0.109",
}

# run cargo update first to ensure that everything is at highest
Expand Down Expand Up @@ -470,7 +478,7 @@ def load_pkg_versions():
return pkg_versions

pkg_versions = load_pkg_versions()
for (pkg_name, min_version) in min_pkg_versions.items():
for pkg_name, min_version in min_pkg_versions.items():
versions = pkg_versions.get(pkg_name, [])
for version in versions:
if version != min_version:
Expand Down

0 comments on commit df4fb07

Please sign in to comment.