Skip to content

Commit

Permalink
Drop support for Python 3.5 and add 3.7 and 3.8 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dean0x7d committed Aug 29, 2020
1 parent cde1033 commit 2a07f52
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ environment:
PYPI_PASS:
secure: gqNQRQIXkXmSul5JkOKj4owHUprr3Q4gJ6U6Mtlgm4M=
matrix:
- CONDA: 35
- CONDA: 36
- CONDA: 37
install:
- git submodule update -q --init --recursive
- ps: |
Expand All @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
python:
version: 3.5
version: 3.7
setup_py_install: true
requirements_file: support/rtd_requirements.txt
14 changes: 10 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) ..)
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/benchmarks/system_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/install/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down Expand Up @@ -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',
],

Expand Down

0 comments on commit 2a07f52

Please sign in to comment.