Skip to content

Commit

Permalink
[MRG+1] Remove Python 3.6 support (#472)
Browse files Browse the repository at this point in the history
* Remove Python 3.6 support

* Update README
  • Loading branch information
aaronreidsmith authored Jan 2, 2022
1 parent 1c79ae5 commit 4adbc5a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 33 deletions.
31 changes: 2 additions & 29 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
# larger unit tests, and to avoid multiple setup steps that can slow the pipeline down
test-sanity:
docker:
- image: python:3.6
- image: python:3.7
working_directory: ~/pmdarima
steps:
- checkout
Expand Down Expand Up @@ -132,15 +132,6 @@ jobs:
# --- Unit tests ---
# These are all executed on `machine` executors, since they require DinD to build the whl
# files and perform the whl repair for manylinux support.
test-unit-cpython36:
machine:
image: circleci/classic:latest
working_directory: ~/pmdarima
steps:
- checkout
- build-test-and-persist:
pythonversion: "3.6"

test-unit-cpython37:
machine:
image: circleci/classic:latest
Expand Down Expand Up @@ -210,16 +201,6 @@ jobs:
#
# ############################################

deploy-cpython36-whl:
machine:
image: circleci/classic:latest
working_directory: ~/pmdarima
steps:
- checkout
- restore-whl-file:
key: "3.6"
- deploy-to-pypi

deploy-cpython37-whl:
machine:
image: circleci/classic:latest
Expand Down Expand Up @@ -268,7 +249,7 @@ jobs:
# GH_TOKEN (the personal Git token with pushes enabled)
deploy-doc:
docker:
- image: python:3.6
- image: python:3.7
working_directory: ~/pmdarima
steps:
- checkout
Expand All @@ -287,8 +268,6 @@ workflows:
# run on test and tag
- test-sanity:
filters: *test-filters
- test-unit-cpython36:
filters: *test-filters
- test-unit-cpython37:
filters: *test-filters
- test-unit-cpython38:
Expand All @@ -302,7 +281,6 @@ workflows:
- testing-passed:
requires:
- test-sanity
- test-unit-cpython36
- test-unit-cpython37
- test-unit-cpython38
- test-unit-cpython39
Expand All @@ -317,11 +295,6 @@ workflows:
- testing-passed
filters: *test-filters

- deploy-cpython36-whl:
filters: *deploy-filters
requires:
- deploy-doc

- deploy-cpython37-whl:
filters: *deploy-filters
requires:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [windows-latest, macos-10.15]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10']
architecture: ['x86', 'x64']
exclude:
# Don't build 32-bit on Mac
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![CircleCI](https://circleci.com/gh/alkaline-ml/pmdarima.svg?style=svg)](https://circleci.com/gh/alkaline-ml/pmdarima)
[![Github Actions Status](https://github.com/alkaline-ml/pmdarima/workflows/Mac%20and%20Windows%20Builds/badge.svg?branch=master)](https://github.com/alkaline-ml/pmdarima/actions?query=workflow%3A%22Mac+and+Windows+Builds%22+branch%3Amaster)
[![codecov](https://codecov.io/gh/alkaline-ml/pmdarima/branch/master/graph/badge.svg)](https://codecov.io/gh/alkaline-ml/pmdarima)
![Supported versions](https://img.shields.io/badge/python-3.6+-blue.svg)
![Supported versions](https://img.shields.io/badge/python-3.7+-blue.svg)
![Downloads](https://img.shields.io/badge/dynamic/json?color=blue&label=downloads&query=%24.total&url=https%3A%2F%2Fstore.zapier.com%2Fapi%2Frecords%3Fsecret%3D1e061b29db6c4f15af01103d403b0237)
![Downloads/Week](https://img.shields.io/badge/dynamic/json?color=blue&label=downloads%2Fweek&query=%24.weekly&url=https%3A%2F%2Fstore.zapier.com%2Fapi%2Frecords%3Fsecret%3D1e061b29db6c4f15af01103d403b0237)

Expand Down
2 changes: 2 additions & 0 deletions doc/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ v0.8.1) will document the latest features.

* Add support for Python 3.10

* Remove support for Python 3.6


`v1.8.4 <http://alkaline-ml.com/pmdarima/1.8.4/>`_
--------------------------------------------------
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import builtins

# Minimum allowed version
MIN_PYTHON = (3, 6)
MIN_PYTHON = (3, 7)

# Hacky (!!), adopted from sklearn. This sets a global variable
# so pmdarima __init__ can detect if it's being loaded in the setup
Expand Down Expand Up @@ -238,7 +238,6 @@ def do_setup():
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand Down

0 comments on commit 4adbc5a

Please sign in to comment.