Skip to content

Commit 860d9a1

Browse files
committed
build(medcat): Fix setuptools and vcs versioning (#560)
* Fix issue with package build from VCS versioning. Looks like the issue might have come from vcs_versioning instead of directly from setuptools_scm. So the previous PR may not be sufficient * Make building verbose in workflow * Stricter restriction for vcs_versioning * Fix verbosity of build process
1 parent a9e7b11 commit 860d9a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/medcat-v2_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
run: pip install --upgrade build
6767

6868
- name: Build package
69-
run: python -m build
69+
run: python -m build -v
7070

7171
- name: Upload wheel artifact
7272
uses: actions/upload-artifact@v7

medcat-v2/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ test = [] # TODO - list
133133
[build-system]
134134
# These are the assumed default build requirements from pip:
135135
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
136-
requires = ["setuptools>=43.0.0", "setuptools_scm>=8,<10.1.2", "wheel"]
136+
requires = ["setuptools>=43.0.0", "setuptools_scm>=8,<10.1.2", "vcs_versioning<2", "wheel"]
137137
build-backend = "setuptools.build_meta"
138138

139139
[tool.setuptools]

0 commit comments

Comments
 (0)