Skip to content

Commit 4b72251

Browse files
committed
pep517.build is dead or dying.
1 parent c985e0b commit 4b72251

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/packaging.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,9 @@ jobs:
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- 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
2724
- name: Create packages
28-
run: python -m pep517.build .
25+
run: python -m build .
2926
- uses: actions/upload-artifact@master
3027
with:
3128
name: dist-${{ matrix.os }}-${{ matrix.python-version }}

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ commands =
3737
perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/issue232.json
3838
perf: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/json_schema_test_suite.json
3939

40-
build: {envpython} -m pep517.check {toxinidir}
40+
build: {envpython} -m build {toxinidir} --outdir {envtmpdir}/dist
4141
deps =
42-
build: pep517
42+
build: build
4343

4444
perf: pyperf
4545

@@ -54,11 +54,11 @@ commands = {envbindir}/bandit --recursive {toxinidir}/jsonschema
5454

5555
[testenv:readme]
5656
deps =
57+
build
5758
docutils
58-
pep517
5959
twine
6060
commands =
61-
{envpython} -m pep517.build --out-dir {envtmpdir}/dist {toxinidir}
61+
{envpython} -m build --outdir {envtmpdir}/dist {toxinidir}
6262
{envpython} -m twine check {envtmpdir}/dist/*
6363
{envbindir}/rst2html5.py --halt=warning {toxinidir}/CHANGELOG.rst /dev/null
6464

0 commit comments

Comments
 (0)