Skip to content

Commit

Permalink
Drop support for python 3.8 (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertyw authored Oct 26, 2024
1 parent 535ea45 commit ba12aad
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.13

- name: Install dependencies
run: |
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,16 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
django-version: ['4.2', '5.0', '5.1', 'main']
postgres-version: ['12', '16']
mariadb-version: ['10.6', '10.11', '11.2']
exclude:
# Django 5.0 doesn't support python <=3.9 (https://docs.djangoproject.com/en/5.0/faq/install/)
- python-version: '3.8'
django-version: '5.0'
- python-version: '3.9'
django-version: '5.0'

# Django 5.1 doesn't support python <=3.9 (https://docs.djangoproject.com/en/5.1/faq/install/)
- python-version: '3.8'
django-version: '5.1'
- python-version: '3.9'
django-version: '5.1'

Expand All @@ -33,8 +29,6 @@ jobs:
postgres-version: '12'

# Django main doesn't support python <=3.9 (https://docs.djangoproject.com/en/5.1/faq/install/)
- python-version: '3.8'
django-version: 'main'
- python-version: '3.9'
django-version: 'main'

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Silk is a live profiling and inspection tool for the Django framework. Silk inte
Silk has been tested with:

* Django: 4.2, 5.0, 5.1
* Python: 3.8, 3.9, 3.10, 3.11, 3.12, 3.13
* Python: 3.9, 3.10, 3.11, 3.12, 3.13

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ Requirements
------------

* Django: 4.2, 5.0, 5.1
* Python: 3.8, 3.9, 3.10, 3.11, 3.12, 3.13
* Python: 3.9, 3.10, 3.11, 3.12, 3.13
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
Expand All @@ -42,6 +41,6 @@
'autopep8',
'gprof2dot>=2017.09.19',
],
python_requires='>=3.8',
python_requires='>=3.9',
setup_requires=['setuptools_scm'],
)
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
Expand Down

0 comments on commit ba12aad

Please sign in to comment.