Skip to content

Commit

Permalink
pep517.build is dead or dying.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Oct 4, 2020
1 parent c985e0b commit 4b72251
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install pep517
- name: Evade 'pypa/pep517#74'
run: python -m pip install -U setuptools setuptools-scm pip wheel
if: startsWith(matrix.python-version, 'pypy')
run: python -m pip install build
- name: Create packages
run: python -m pep517.build .
run: python -m build .
- uses: actions/upload-artifact@master
with:
name: dist-${{ matrix.os }}-${{ matrix.python-version }}
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ commands =
perf: {envpython} {toxinidir}/jsonschema/benchmarks/issue232.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/issue232.json
perf: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/json_schema_test_suite.json

build: {envpython} -m pep517.check {toxinidir}
build: {envpython} -m build {toxinidir} --outdir {envtmpdir}/dist
deps =
build: pep517
build: build

perf: pyperf

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

[testenv:readme]
deps =
build
docutils
pep517
twine
commands =
{envpython} -m pep517.build --out-dir {envtmpdir}/dist {toxinidir}
{envpython} -m build --outdir {envtmpdir}/dist {toxinidir}
{envpython} -m twine check {envtmpdir}/dist/*
{envbindir}/rst2html5.py --halt=warning {toxinidir}/CHANGELOG.rst /dev/null

Expand Down

0 comments on commit 4b72251

Please sign in to comment.