File tree 3 files changed +12
-12
lines changed 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ jobs:
172
172
env :
173
173
ANSIBLE_PYLIBSSH_TRACING : >-
174
174
${{ fromJSON(needs.pre-setup.outputs.profiling_enabled) && 1 || 0 }}
175
- PEP517_ARGS : --binary
175
+ PEP517_BUILD_ARGS : --wheel
176
176
PY_COLORS : 1
177
177
TOXENV : build-wheels-pip,delocate-macos-wheels,metadata-validation
178
178
TOX_PARALLEL_NO_SPINNER : 1
@@ -580,7 +580,7 @@ jobs:
580
580
env :
581
581
ANSIBLE_PYLIBSSH_TRACING : >-
582
582
${{ fromJSON(needs.pre-setup.outputs.profiling_enabled) && 1 || 0 }}
583
- PEP517_ARGS : --source
583
+ PEP517_BUILD_ARGS : --sdist
584
584
PY_COLORS : 1
585
585
TOXENV : build-dists,metadata-validation
586
586
TOX_PARALLEL_NO_SPINNER : 1
Original file line number Diff line number Diff line change
1
+ Switched using `pep517 <https://pep517.rtfd.io >`__ lib to
2
+ `build <https://pypa-build.rtfd.io >`__ CLI -- :user: `webknjaz `
Original file line number Diff line number Diff line change 1
1
[tox]
2
2
envlist = python
3
- minversion = 3.19 .0
3
+ minversion = 3.21 .0
4
4
requires =
5
5
setuptools >= 40.9.0
6
6
pip >= 19.0.3
@@ -91,7 +91,7 @@ setenv =
91
91
[dists]
92
92
setenv =
93
93
{[testenv]setenv}
94
- PEP517_OUT_DIR = {env:PEP517_OUT_DIR:{toxinidir}/ dist}
94
+ PEP517_OUT_DIR = {env:PEP517_OUT_DIR:{toxinidir}{/} dist}
95
95
96
96
97
97
[testenv:cleanup-dists]
@@ -118,18 +118,16 @@ isolated_build = true
118
118
usedevelop = false
119
119
skip_install = true
120
120
deps =
121
- # NOTE: v0.7.0 added support for backend-path in pyproject.toml but
122
- # NOTE: why not use something newer if we can?
123
- pep517 >= 0.8.2
121
+ build >= 0.3.1, < 0.4.0
124
122
passenv =
125
- PEP517_ARGS
123
+ PEP517_BUILD_ARGS
126
124
setenv =
127
125
{[dists]setenv}
128
126
commands =
129
- {envpython} -m pep517. build \
130
- {env:PEP517_ARGS:--source --binary} \
131
- --out-dir { env:PEP517_OUT_DIR } \
132
- {toxinidir}
127
+ {envpython} -m build \
128
+ --outdir ' {env:PEP517_OUT_DIR}{/} ' \
129
+ {posargs:{ env:PEP517_BUILD_ARGS:--sdist --wheel} } \
130
+ ' {toxinidir}'
133
131
134
132
135
133
[testenv:build-wheels-pip]
You can’t perform that action at this time.
0 commit comments