Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from Dec 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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