summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-09-26 14:58:10 +0100
committerGitHub <noreply@github.com>2022-09-26 13:58:10 +0000
commitc5defa4cba91f057ebbee9711d60d739a7fbf1f1 (patch)
tree0b16493ec361ca5374287df1945d4135c056888a
parentFix mypy errors with latest canonicaljson (#13905) (diff)
downloadsynapse-c5defa4cba91f057ebbee9711d60d739a7fbf1f1.tar.xz
Correctly add Cargo.lock to sdsit (#13909)
-rw-r--r--changelog.d/13909.bugfix1
-rw-r--r--pyproject.toml2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/13909.bugfix b/changelog.d/13909.bugfix
new file mode 100644
index 0000000000..883dd72919
--- /dev/null
+++ b/changelog.d/13909.bugfix
@@ -0,0 +1 @@
+Fix packaging to include `Cargo.lock` in `sdist`.
diff --git a/pyproject.toml b/pyproject.toml
index ff0c9d1dbc..0a4242fb72 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -86,8 +86,8 @@ include = [
     { path = "tests", format = "sdist" },
     { path = "UPGRADE.rst", format = "sdist" },
     { path = "Cargo.toml", format = "sdist" },
+    { path = "Cargo.lock", format = "sdist" },
     { path = "rust/Cargo.toml", format = "sdist" },
-    { path = "rust/Cargo.lock", format = "sdist" },
     { path = "rust/build.rs", format = "sdist" },
     { path = "rust/src/**", format = "sdist" },
 ]