Skip to content

Commit 2e591ea

Browse files
authored
ci: Keep setuptools-scm in sync across CI (#929)
1 parent acf85ff commit 2e591ea

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ jobs:
189189
python -m
190190
pip install
191191
--user
192-
setuptools-scm~=8.2
192+
setuptools-scm
193+
--constraint=dependencies/lock-files/dist-build-constraints.txt
193194
shell: bash
194195
- name: Set the current dist version from Git
195196
id: scm-version
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# tox r -e pip-compile-build-lock --
6+
#
7+
packaging==24.1
8+
# via setuptools-scm
9+
setuptools-scm==8.1.0
10+
# via awx-plugins-core (pyproject.toml::build-system.requires)
11+
12+
# The following packages are considered to be unsafe in a requirements file:
13+
setuptools==73.0.0
14+
# via
15+
# awx-plugins-core (pyproject.toml::build-system.requires)
16+
# setuptools-scm

tox.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ commands =
153153
{posargs:}
154154
commands_post =
155155
package = skip
156+
set_env =
157+
PIP_CONSTRAINT = {toxinidir}{/}dependencies{/}lock-files{/}dist-build-constraints.txt
156158

157159

158160
[testenv:metadata-validation]

0 commit comments

Comments
 (0)