Skip to content

Commit

Permalink
Merge pull request #15 from randomir/feature/drop-py35
Browse files Browse the repository at this point in the history
Drop py35 support
  • Loading branch information
randomir committed May 13, 2021
2 parents a833a23 + cd27245 commit 23356e9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 37 deletions.
6 changes: 0 additions & 6 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ environment:
secure: 9/YAQhmz9Kb1ZeXzhBYeQA==

matrix:
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37"
Expand All @@ -18,12 +16,8 @@ environment:
- PYTHON: "C:\\Python39-x64"

install:
- "%PYTHON%\\python.exe --version"
- "%PYTHON%\\python.exe -m pip install -r requirements.txt -r tests\\requirements.txt"

# required to link py35 (x86 and x64)
- set PATH=%PATH%;C:\Program Files (x86)\Windows Kits\8.1\bin\x86

build_script:
- "%PYTHON%\\python.exe setup.py build_ext --inplace"

Expand Down
27 changes: 1 addition & 26 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@ jobs:
docker:
- image: circleci/python:3.6

test-3.5:
<<: *test-linux-template
docker:
- image: circleci/python:3.5

#
# macos
#
Expand Down Expand Up @@ -156,12 +151,6 @@ jobs:
PYTHON: 3.6.5
MACOSX_DEPLOYMENT_TARGET: 10.9

test-osx-3.5:
<<: *test-osx-template
environment:
PYTHON: 3.5.5
MACOSX_DEPLOYMENT_TARGET: 10.9

#
# docs
#
Expand Down Expand Up @@ -217,7 +206,7 @@ jobs:
name: Build wheels
command: |
for PYBIN in /opt/python/*/bin; do
"${PYBIN}/python" -c "import sys; sys.exit((3,5)<=sys.version_info<(3,10))" && continue
"${PYBIN}/python" -c "import sys; sys.exit((3,6)<=sys.version_info<(3,10))" && continue
"${PYBIN}/pip" install -r requirements.txt
"${PYBIN}/pip" wheel . -w ./wheelhouse
"${PYBIN}/python" setup.py sdist -d ./dist
Expand Down Expand Up @@ -312,12 +301,6 @@ jobs:
PYTHON: 3.6.5
MACOSX_DEPLOYMENT_TARGET: 10.9

deploy-osx-3.5:
<<: *deploy-osx-template
environment:
PYTHON: 3.5.5
MACOSX_DEPLOYMENT_TARGET: 10.9


workflows:
version: 2
Expand All @@ -327,12 +310,10 @@ workflows:
- test-3.8
- test-3.7
- test-3.6
- test-3.5
- test-osx-3.9
- test-osx-3.8
- test-osx-3.7
- test-osx-3.6
- test-osx-3.5
- test-docs

deploy:
Expand Down Expand Up @@ -373,9 +354,3 @@ workflows:
only: /^[0-9]+(\.[0-9]+)*((\.dev|rc)([0-9]+)?)?$/
branches:
ignore: /.*/
- deploy-osx-3.5:
filters:
tags:
only: /^[0-9]+(\.[0-9]+)*((\.dev|rc)([0-9]+)?)?$/
branches:
ignore: /.*/
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sphinx
sphinx>=4.0.0,<5.0.0
sphinx_rtd_theme
recommonmark
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
numpy==1.18.5
dimod==0.9.12
numpy==1.19.4
dimod==0.9.14
cython==0.29.21
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,13 @@ def finalize_options(self):
'Operating System :: OS Independent',
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]

python_requires = '>=3.5'
python_requires = '>=3.6'

setup(
name=package_info['__package_name__'],
Expand Down

0 comments on commit 23356e9

Please sign in to comment.