Skip to content

Commit

Permalink
Update the minimum Python version to 3.8 (#520)
Browse files Browse the repository at this point in the history
This PR removes support for Python 3.7, mainly because that's no longer
supported by the dependent Traits library. The minimum Python version is
now Python 3.8.
  • Loading branch information
mdickinson authored Mar 13, 2024
1 parent b4be1d8 commit fc1b8b6
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.7', '3.8', '3.10']
python-version: ['3.8', '3.10']

env:
ETS_TOOLKIT: qt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-from-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']

runs-on: ${{ matrix.os }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/weekly-scheduled-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']

runs-on: ${{ matrix.os }}

Expand All @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.7', '3.8', '3.10']
python-version: ['3.8', '3.10']

runs-on: ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion DEVELOP.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Getting started
---------------

You'll need a Python 3 environment for development. Any environment using
Python >= 3.7 will do. For example, you could create and activate a new venv
Python >= 3.8 will do. For example, you could create and activate a new venv
using something like::

python3.10 -m venv ../traits-futures && source ../traits-futures/bin/activate
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Limitations

- By design, and unlike :mod:`concurrent.futures`, |traits_futures| requires the
UI event loop to be running in order to process results.
- Requires Python 3.7 or later.
- Requires Python 3.8 or later.


Quick start
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = 'traits-futures'
description = 'Patterns for reactive background tasks'
readme = 'README.rst'
requires-python = '>=3.7'
requires-python = '>=3.8'
authors = [{name='Enthought', email='[email protected]'}]
keywords = ['background', 'concurrency', 'futures', 'gui', 'traits', 'traitsui']
classifiers = [
Expand Down

0 comments on commit fc1b8b6

Please sign in to comment.