File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 20
20
with :
21
21
python-version : ${{ matrix.python-version }}
22
22
- name : Install dependencies
23
- run : python -m pip install pep517
24
- - name : Evade 'pypa/pep517#74'
25
- run : python -m pip install -U setuptools setuptools-scm pip wheel
26
- if : startsWith(matrix.python-version, 'pypy')
23
+ run : python -m pip install build
27
24
- name : Create packages
28
- run : python -m pep517. build .
25
+ run : python -m build .
29
26
- uses : actions/upload-artifact@master
30
27
with :
31
28
name : dist-${{ matrix.os }}-${{ matrix.python-version }}
Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ commands =
37
37
perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/issue232.json
38
38
perf: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/json_schema_test_suite.json
39
39
40
- build: {envpython} -m pep517.check {toxinidir}
40
+ build: {envpython} -m build {toxinidir} --outdir {envtmpdir}/dist
41
41
deps =
42
- build: pep517
42
+ build: build
43
43
44
44
perf: pyperf
45
45
@@ -54,11 +54,11 @@ commands = {envbindir}/bandit --recursive {toxinidir}/jsonschema
54
54
55
55
[testenv:readme]
56
56
deps =
57
+ build
57
58
docutils
58
- pep517
59
59
twine
60
60
commands =
61
- {envpython} -m pep517. build --out-dir {envtmpdir}/dist {toxinidir}
61
+ {envpython} -m build --outdir {envtmpdir}/dist {toxinidir}
62
62
{envpython} -m twine check {envtmpdir}/dist/*
63
63
{envbindir}/rst2html5.py --halt =warning {toxinidir}/CHANGELOG.rst /dev/null
64
64
You can’t perform that action at this time.
0 commit comments