diff --git a/.appveyor.yml b/.appveyor.yml index c1360115..3c55686d 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -9,8 +9,8 @@ environment: PYPI_PASS: secure: gqNQRQIXkXmSul5JkOKj4owHUprr3Q4gJ6U6Mtlgm4M= matrix: - - CONDA: 35 - CONDA: 36 + - CONDA: 37 install: - git submodule update -q --init --recursive - ps: | @@ -29,6 +29,7 @@ build_script: - mkdir build && cd build && cmake -A "%CMAKE_ARCH%" -DPB_WERROR=ON -DPB_NATIVE_SIMD=OFF .. - cmake --build . --config Release -- /m /v:m /logger:"%AppVeyorLogger%" test_script: +- activate base - cmake --build . --config Release --target tests -- /v:m deploy_script: - ps: | diff --git a/.readthedocs.yml b/.readthedocs.yml index 2303b262..0f9d9166 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,4 +1,4 @@ python: - version: 3.5 + version: 3.7 setup_py_install: true requirements_file: support/rtd_requirements.txt diff --git a/.travis.yml b/.travis.yml index 7f99da7c..144d4fe9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,19 +9,25 @@ matrix: include: - os: linux compiler: gcc-4.8 - env: PYTHON=3.5 + env: PYTHON=3.6 + - os: linux + compiler: gcc-4.8 + env: PYTHON=3.7 - os: linux compiler: gcc-4.8 + env: PYTHON=3.8 + - os: osx + osx_image: xcode7.3 env: PYTHON=3.6 - os: osx osx_image: xcode7.3 - env: PYTHON=3.5 + env: PYTHON=3.7 - os: osx osx_image: xcode7.3 - env: PYTHON=3.6 + env: PYTHON=3.8 - os: linux compiler: gcc-4.8 - env: PYTHON=3.6 SDIST DEBUG + env: PYTHON=3.7 SDIST DEBUG install: # call cmake first to download dependencies which will be included in the sdist - (mkdir build && cd build && cmake -DPYTHON_EXECUTABLE=$(which python) ..) diff --git a/changelog.md b/changelog.md index e0eb028b..fb0d3206 100644 --- a/changelog.md +++ b/changelog.md @@ -10,6 +10,9 @@ [#21](https://github.com/dean0x7d/pybinding/issues/21), and [#23](https://github.com/dean0x7d/pybinding/issues/23). +* Dropped support for Python 3.5. You must have Python 3.6 or newer to install this version. + + ## v0.9.4 | 2017-07-13 * Fixed issues with multi-orbital models: matrix onsite terms were not set correctly if all the diff --git a/docs/benchmarks/system_build.py b/docs/benchmarks/system_build.py index 40b585f5..eb29dba2 100755 --- a/docs/benchmarks/system_build.py +++ b/docs/benchmarks/system_build.py @@ -5,7 +5,7 @@ The considered system sizes can be changed in the `__name__ == '__main__'` section at the bottom. -Requires Python >= 3.5 and the following packages which can be installed using pip: +Requires Python >= 3.6 and the following packages which can be installed using pip: - memory_profiler - psutil (memory_profiler will be slow without it) diff --git a/docs/install/index.rst b/docs/install/index.rst index c5f9d565..535b7992 100644 --- a/docs/install/index.rst +++ b/docs/install/index.rst @@ -3,7 +3,7 @@ Installation Pybinding can be installed on Windows, Linux or Mac, with the following prerequisites: -* `Python`_ 3.5 or newer (Python 2.x is not supported) +* `Python`_ 3.6 or newer (Python 2.x is not supported) * The `SciPy`_ stack of scientific packages, with required versions: * numpy >= v1.12 diff --git a/readme.md b/readme.md index bca7565d..b817726b 100644 --- a/readme.md +++ b/readme.md @@ -34,7 +34,7 @@ See the [documentation] for more details. Pybinding can be installed on Windows, Linux or Mac, with the following prerequisites: -* [Python] 3.5 or newer (Python 2.x is not supported) +* [Python] 3.6 or newer (Python 2.x is not supported) * The [SciPy] stack of scientific packages, with required versions: * numpy >= v1.12 * scipy >= v0.19 diff --git a/setup.py b/setup.py index 7e25a77c..0fdde969 100644 --- a/setup.py +++ b/setup.py @@ -12,8 +12,8 @@ from setuptools.command.egg_info import manifest_maker -if sys.version_info[:2] < (3, 5): - print("Python >= 3.5 is required.") +if sys.version_info[:2] < (3, 6): + print("Python >= 3.6 is required.") sys.exit(-1) @@ -118,8 +118,9 @@ def changelog(): 'License :: OSI Approved :: BSD License', 'Programming Language :: C++', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: Implementation :: CPython', ],