diff options
author | David Robertson <davidr@element.io> | 2023-01-17 18:04:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 18:04:44 +0000 |
commit | b88cfe6d41ede17bde4144ca12f9dc9d0ef21215 (patch) | |
tree | ecfb9dde8f961e6ebf68d5ef49e4432a99e4186c /.ci/scripts/prepare_old_deps.sh | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-b88cfe6d41ede17bde4144ca12f9dc9d0ef21215.tar.xz |
Require poetry>=1.3.2 (#14860)
* Upgrade to new lockfile format Now requires poetry >= 1.2.2 to read and poetry >= 1.3.0 to write. Cheat sheet: ``` poetry --version poetry show > scratch/before pipx upgrade poetry poetry --version poetry show > scratch/after diff scratch{before,after} && echo "no change!" ``` * Use Poetry 1.3.2 when reading or writing lockfile * Remove unneeded(?) poetry dep for cibuildwheel * Update docs * Remove redundant call to setup-python * Remove outdated comments related to Poetry 1.x * Remove outdated docs line was fixed in #13082 * Minor improvements to poetry cheat sheet * Invoke setup-python-poetry with explicit version Not sure about this. It's hardcoding versions everywhere. * Changelog * Check the lockfile is version 2.0 Might one day incorporate other checks like #14742 * Typo fixes, thanks Sean Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
Diffstat (limited to '.ci/scripts/prepare_old_deps.sh')
-rwxr-xr-x | .ci/scripts/prepare_old_deps.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/scripts/prepare_old_deps.sh b/.ci/scripts/prepare_old_deps.sh index 7e4f060b17..3398193ee5 100755 --- a/.ci/scripts/prepare_old_deps.sh +++ b/.ci/scripts/prepare_old_deps.sh @@ -53,7 +53,7 @@ with open('pyproject.toml', 'w') as f: " python3 -c "$REMOVE_DEV_DEPENDENCIES" -pip install poetry==1.2.0 +pip install poetry==1.3.2 poetry lock echo "::group::Patched pyproject.toml" |