Skip to content

Commit

Permalink
Remove support for Python 3.6 (it's "end of life" December 23, 2021) (#…
Browse files Browse the repository at this point in the history
…2141)

* Remove support for Python 3.6 (it's "end of life" December 23, 2021)

* Two more files

Co-authored-by: Barry Hart <barry.hart@mailchimp.com>
  • Loading branch information
barrywhart and Barry Hart committed Dec 19, 2021
1 parent f41c5d1 commit 0b1ec94
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-tests.yml
Expand Up @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ]
python-version: [ '3.7', '3.8', '3.9', '3.10' ]
name: Python ${{ matrix.python-version }} tests
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions docs/source/gettingstarted.rst
Expand Up @@ -28,7 +28,7 @@ which should give you a sensible read out and not an error.
.. code-block:: bash
$ python --version
Python 3.6.7
Python 3.9.1
For most people, their installation of python will come with
:code:`pip` (the python package manager) preinstalled. To confirm
Expand All @@ -37,7 +37,7 @@ this you can type :code:`pip --version` similar to python above.
.. code-block:: bash
$ pip --version
pip 10.0.1 from ...
pip 21.3.1 from ...
If however, you do have python installed but not :code:`pip`, then
the best instructions for what to do next are `on the python website`_.
Expand Down
3 changes: 1 addition & 2 deletions plugins/sqlfluff-templater-dbt/setup.cfg
Expand Up @@ -28,7 +28,6 @@ classifiers =
Operating System :: Microsoft :: Windows
Programming Language :: Python
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 Expand Up @@ -56,7 +55,7 @@ keywords =

[options]
packages = find:
python_requires = >=3.6
python_requires = >=3.7
install_requires =
sqlfluff>=0.7.0
dbt-core>=0.17
Expand Down
4 changes: 1 addition & 3 deletions requirements.txt
Expand Up @@ -6,11 +6,9 @@ cached-property
chardet
click>=7.1
colorama>=0.3
# dataclasses backport for python 3.6
dataclasses; python_version < '3.7'
# Used for diffcover plugin
diff-cover>=2.5.0
# importlib_metadata backport for python 3.6 & 3.7
# importlib_metadata backport for python 3.7
importlib_metadata; python_version < '3.8'
Jinja2
# oyaml is like pyyaml but preserves orderings
Expand Down
7 changes: 2 additions & 5 deletions setup.cfg
Expand Up @@ -28,7 +28,6 @@ classifiers =
Operating System :: Microsoft :: Windows
Programming Language :: Python
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 Expand Up @@ -58,7 +57,7 @@ keywords =
package_dir =
=src
packages = find:
python_requires = >=3.6
python_requires = >=3.7
install_requires =
# Used for finding os-specific application config dirs
appdirs
Expand All @@ -68,11 +67,9 @@ install_requires =
chardet
click>=7.1
colorama>=0.3
# dataclasses backport for python 3.6
dataclasses; python_version < '3.7'
# Used for diffcover plugin
diff-cover>=2.5.0
# importlib_metadata backport for python 3.6 & 3.7
# importlib_metadata backport for python 3.7
importlib_metadata; python_version < '3.8'
Jinja2
# oyaml is like pyyaml but preserves orderings
Expand Down

0 comments on commit 0b1ec94

Please sign in to comment.