Skip to content

Commit

Permalink
remove support of py35 +
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiendementen committed Jan 8, 2020
1 parent bea4d83 commit b14e1fd
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 19 deletions.
10 changes: 0 additions & 10 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ environment:
PYTHON_HOME: C:\Python36
PYTHON_VERSION: '3.6'
PYTHON_ARCH: '32'
- TOXENV: py35,codecov
TOXPYTHON: C:\Python35\python.exe
PYTHON_HOME: C:\Python35
PYTHON_VERSION: '3.5'
PYTHON_ARCH: '32'
- TOXENV: py35,codecov
TOXPYTHON: C:\Python35-x64\python.exe
PYTHON_HOME: C:\Python35-x64
PYTHON_VERSION: '3.5'
PYTHON_ARCH: '64'
- TOXENV: py36,codecov
TOXPYTHON: C:\Python36\python.exe
PYTHON_HOME: C:\Python36
Expand Down
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ matrix:
- python: '3.6'
env:
- TOXENV=docs
- env:
- TOXENV=py35,codecov
python: '3.5'
- env:
- TOXENV=py36,codecov
python: '3.6'
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ Changelog
=========


0.1.4 (2019-01-08)
------------------

* Explicit support only for python >= 3.6 (no py35 as use of f-string)
* [dev] Move local build of docs from dist/docs to docs/dist to avoid cluttering dist


0.1.3 (2019-01-08)
------------------

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ To run the tests locally::
' activate your .env virtualenv
tox

To build the documentation locally (available in the folder ``dist/docs``, entry point ``dist/docs/index.html``)::
To build the documentation locally (available in the folder ``docs/dist``, entry point ``docs/dist/index.html``)::

cd path-to-your-oasapi-folder
' activate your .env virtualenv
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def read(*names, **kwargs):
keywords=[
# eg: 'keyword1', 'keyword2', 'keyword3',
],
python_requires="!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*",
python_requires=">=3.6.*",
install_requires=["click", "jsonschema", "pyyaml"],
extras_require={
# eg:
Expand Down
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ envlist =
clean,
check,
docs,
{py35,py36,py37,py38,pypy3},
{py36,py37,py38,pypy3},
report
ignore_basepython_conflict = true

[testenv]
basepython =
pypy3: {env:TOXPYTHON:pypy3}
py35: {env:TOXPYTHON:python3.5}
{py36,docs}: {env:TOXPYTHON:python3.6}
py37: {env:TOXPYTHON:python3.7}
py38: {env:TOXPYTHON:python3.8}
Expand Down Expand Up @@ -60,8 +59,8 @@ usedevelop = true
deps =
-r{toxinidir}/docs/requirements.txt
commands =
sphinx-build {posargs:-E} -b html docs dist/docs
sphinx-build -b linkcheck docs dist/docs
sphinx-build {posargs:-E} -b html docs docs/dist
sphinx-build -b linkcheck docs docs/dist

[testenv:codecov]
deps =
Expand Down

0 comments on commit b14e1fd

Please sign in to comment.