Fix deprecation warning for PyPI description check
This commit is contained in:
parent
3f59f08625
commit
cfac7463c1
|
@ -51,7 +51,7 @@ matrix:
|
||||||
stage: docs
|
stage: docs
|
||||||
env: TOXENV=docs
|
env: TOXENV=docs
|
||||||
- python: "3.7"
|
- python: "3.7"
|
||||||
env: TOXENV=readme
|
env: TOXENV=pypi-description
|
||||||
- python: "3.7"
|
- python: "3.7"
|
||||||
env: TOXENV=changelog
|
env: TOXENV=changelog
|
||||||
|
|
||||||
|
|
12
tox.ini
12
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = typing,lint,py27,py34,py35,py36,py37,pypy,pypy3,manifest,docs,readme,changelog,coverage-report
|
envlist = typing,lint,py27,py34,py35,py36,py37,pypy,pypy3,manifest,docs,pypi-description,changelog,coverage-report
|
||||||
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
@ -61,11 +61,15 @@ skip_install = true
|
||||||
commands = check-manifest
|
commands = check-manifest
|
||||||
|
|
||||||
|
|
||||||
[testenv:readme]
|
[testenv:pypi-description]
|
||||||
basepython = python3.7
|
basepython = python3.7
|
||||||
deps = readme_renderer
|
|
||||||
skip_install = true
|
skip_install = true
|
||||||
commands = python setup.py check -r -s
|
deps =
|
||||||
|
twine
|
||||||
|
pip >= 18.0.0
|
||||||
|
commands =
|
||||||
|
pip wheel -w {envtmpdir}/build --no-deps .
|
||||||
|
twine check {envtmpdir}/build/*
|
||||||
|
|
||||||
|
|
||||||
[testenv:changelog]
|
[testenv:changelog]
|
||||||
|
|
Loading…
Reference in New Issue