Commit 322a827
build(medcat): Pin stuptools_scm to avoid wider sdist discovery. (#559)
It looks like setuptools_scm==10.1.2 (as opposed to 10.1.1) does a much wider discovery for sdist during project build. This reults in the build process attempting to use all sub-projects in the repo, which causes the build to fail.
I don't fully understand what caused this change or why it was made here (in a patch version). But for now, the simplest solution would be to pin setuptools_scm to where it still worked.
PS:
I do intend to try and find another workaround for this. We don't want to be stuck using an old version of our build system. But I didn't see an obious way to do that without loosing other existing functionality (i.e setting root='.' in setuptools_scm config in pyproject.toml would probably cause that issue).
PPS:
The changelog for 10.1.1..10.1.2 for setuptools_scm is here: pypa/setuptools-scm@setuptools-scm-v10.1.1...setuptools-scm-v10.1.2
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>1 parent bd69eab commit 322a827
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
0 commit comments