Skip to content

Commit

Permalink
Remove support for EOL Python 3.6 (#260)
Browse files Browse the repository at this point in the history
* Upgrade GitHub actions to their latest versions

actions/setup-python now always requires specifying a Python version.

* Remove support for EOL Python 3.6

Python 3.6 went EOL on 2021-12-23. It is no longer receiving bug fixes,
including for security issues.

Remove the testing resources and support for EOL Pythons.

Co-authored-by: Dan Blanchard <dan.blanchard@gmail.com>
  • Loading branch information
jdufresne and dan-blanchard committed Jun 27, 2022
1 parent a80d3df commit e31c288
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Expand Up @@ -7,9 +7,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: python -m pip install pre-commit
- name: Run pre-commit
Expand All @@ -19,12 +21,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy3.9"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -32,7 +32,7 @@ Detects
Our ISO-8859-2 and windows-1250 (Hungarian) probers have been temporarily
disabled until we can retrain the models.

Requires Python 3.6+.
Requires Python 3.7+.

Installation
------------
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Expand Up @@ -21,7 +21,6 @@ classifiers =
Operating System :: OS Independent
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 All @@ -32,7 +31,7 @@ classifiers =
Topic :: Text Processing :: Linguistic

[options]
python_requires = >=3.6
python_requires = >=3.7
packages = find:

[options.entry_points]
Expand Down

0 comments on commit e31c288

Please sign in to comment.