Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: move itertools to workspace dependencies #4575

Merged
merged 2 commits into from
Dec 16, 2023

Conversation

aqrln
Copy link
Member

@aqrln aqrln commented Dec 15, 2023

Move itertools to workspace dependencies to make it easier to manage its version and avoid multiple major versions.

In principle we could also update it to 0.12 without introducing multiple major versions of the dependency in our binaries: even though some of our dependencies transitively depend on itertools = "0.10", as far as I can tell, only one is used at run time (sqlformat), and it is updatable to a newer version that requires itertools = "0.12". criterion, prost-derive and prost-build all depend on older itertools even in their latest versions but they don't matter for the size of distributable binaries. I didn't do that in this PR, it can be done either here or separately. UPD: done in this PR as per request below.

Closes: https://github.com/prisma/team-orm/issues/750

@aqrln aqrln requested a review from a team as a code owner December 15, 2023 11:25
@aqrln aqrln requested review from ospfranco and Druue and removed request for a team December 15, 2023 11:25
@aqrln aqrln added this to the 5.8.0 milestone Dec 15, 2023
@aqrln aqrln self-assigned this Dec 15, 2023
Copy link
Contributor

github-actions bot commented Dec 15, 2023

WASM Size

Engine This PR Base branch Diff
WASM 3.187MiB 3.184MiB 3.129KiB
WASM (gzip) 1.199MiB 1.199MiB 386.000B

Copy link

codspeed-hq bot commented Dec 15, 2023

CodSpeed Performance Report

Merging #4575 will not alter performance

Comparing chore-move-itertools-to-workspace-dependencies (0ef131a) with main (626c13b)

Summary

✅ 11 untouched benchmarks

@miguelff
Copy link
Contributor

If it doesn't cause harm I'd also update itertools to 0.12 as part of this PR.

@aqrln
Copy link
Member Author

aqrln commented Dec 15, 2023

@miguelff done

Move `itertools` to workspace dependencies to make it easier to manage
its version.

In principle we could also update it to `0.12` without introducing
multiple major versions of the dependency: even though some of our
dependencies transitively depend on `itertools = "0.10"`, as far as I
can tell, only one is used at run time (`sqlformat`), and it is
updatable to a newer version that requires `itertools = "0.12"`.
`criterion`, `prost-derive` and `prost-build` all depend on older
itertools even in their latest versions but that doesn't matter for the
size of distributable binaries. I didn't do that in this PR, it can be
done separately.

Closes: prisma/team-orm#750
@aqrln aqrln force-pushed the chore-move-itertools-to-workspace-dependencies branch from bf53159 to 0ef131a Compare December 15, 2023 14:46
@aqrln aqrln merged commit 61928b0 into main Dec 16, 2023
73 checks passed
@aqrln aqrln deleted the chore-move-itertools-to-workspace-dependencies branch December 16, 2023 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants