Skip to content

Commit 4d40e8a

Browse files
authored
Adjust Python versions (#32)
1 parent df42c43 commit 4d40e8a

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/on-commit.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
python-version: ['3.6', '3.8', '3.10', '3.11-dev', 'pypy3.9']
13+
python-version: ['3.8', '3.10', '3.12', '3.13', '3.14', 'pypy3.11']
1414

1515
steps:
1616
- uses: actions/checkout@v3
@@ -20,6 +20,7 @@ jobs:
2020
python-version: ${{ matrix.python-version }}
2121
cache: 'pip'
2222
cache-dependency-path: 'requirements/test.txt'
23+
allow-prereleases: true
2324
- name: Install dependencies
2425
run: python -m pip install -r requirements/test.txt
2526
- name: Test with pytest
@@ -30,10 +31,10 @@ jobs:
3031

3132
steps:
3233
- uses: actions/checkout@v3
33-
- name: Set up Python 3.10
34+
- name: Set up Python 3.13
3435
uses: actions/setup-python@v4
3536
with:
36-
python-version: '3.10'
37+
python-version: '3.13'
3738
cache: 'pip'
3839
cache-dependency-path: 'requirements/style.txt'
3940
- name: Install dependencies

.github/workflows/on-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
- uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0
16-
- name: Set up Python 3.10
16+
- name: Set up Python 3.13
1717
uses: actions/setup-python@v4
1818
with:
19-
python-version: '3.10'
19+
python-version: '3.13'
2020
cache: 'pip'
2121
cache-dependency-path: 'requirements/publish.txt'
2222
- name: Install dependencies

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = 'setuptools.build_meta'
66
name = 'simplefractions'
77
description = 'Find the simplest fraction for a given float or interval'
88
readme = 'README.md'
9-
requires-python = '>=3.6'
9+
requires-python = '>=3.8'
1010
authors = [{name = 'Mark Dickinson', email = '[email protected]'}]
1111
keywords = ['fractions', 'continued fractions', 'approximation']
1212
classifiers = [
@@ -21,7 +21,7 @@ dynamic = ['version']
2121
source = 'https://github.com/mdickinson/simplefractions'
2222

2323
[tool.black]
24-
target-version = ['py36']
24+
target-version = ['py38']
2525

2626
[tool.isort]
2727
profile = 'black'

0 commit comments

Comments
 (0)