Skip to content

Commit

Permalink
Remove support for Python 3.6
Browse files Browse the repository at this point in the history
Ubuntu 20.04 with Python 3.8 has been supported for a while. Meanwhile,
Python 3.6 was released about five years ago, and is nearing the end of
official support.
  • Loading branch information
andreyv authored and stefano-maggiolo committed Dec 21, 2021
1 parent 2054a4f commit d713424
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ We get around Python flexible type system in several ways:
* we are fairly verbose with naming, trying to help the reader with following the types;
* we follow our type annotation system for method and function docstrings (planning to switch to [PEP 484](https://www.python.org/dev/peps/pep-0484/)); see later for the format.

We support Python 3 only, requiring at least version 3.6.
We support Python 3 only, requiring at least version 3.8.

# Docstring type annotation format

Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ on:
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- 3.8
- 3.6

services:
postgres:
Expand All @@ -31,10 +26,9 @@ jobs:
with:
submodules: true

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: 3.8

- name: Install dependencies
run: >-
Expand Down
2 changes: 1 addition & 1 deletion docs/Installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ These are our requirements (in particular we highlight those that are not usuall
* `GNU compiler collection <https://gcc.gnu.org/>`_ (in particular the C compiler ``gcc``);

* `Python <http://www.python.org/>`_ >= 3.6;
* `Python <http://www.python.org/>`_ >= 3.8;

* `libcg <http://libcg.sourceforge.net/>`_;

Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ def run(self):
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: "
"GNU Affero General Public License v3",
Expand Down

0 comments on commit d713424

Please sign in to comment.