Skip to content

Commit d742691

Browse files
committed
Add python 3.13, remove python 3.7
1 parent 160bcb4 commit d742691

File tree

5 files changed

+20
-11
lines changed

5 files changed

+20
-11
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Install Dependencies
3737
run: |
3838
python -m pip install --upgrade pip
39-
python -m pip install cibuildwheel==2.16.2
39+
python -m pip install cibuildwheel==2.22.0
4040
4141
- name: Build Source Distribution
4242
if: matrix.os == 'ubuntu-latest' && matrix.arch != 'aarch64'

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:
18-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
18+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"]
1919
# Note, clang is used on macos, even though it says gcc
2020
os: [ubuntu-latest, windows-latest, macos-latest]
2121

@@ -71,7 +71,7 @@ jobs:
7171
runs-on: ubuntu-latest
7272
strategy:
7373
matrix:
74-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
74+
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"]
7575

7676
steps:
7777
- name: Checkout Code
@@ -94,7 +94,7 @@ jobs:
9494
name: Tests on aarch64
9595
strategy:
9696
matrix:
97-
pyver: [cp38-cp38, cp39-cp39, cp310-cp310, cp311-cp311, cp312-cp312]
97+
pyver: [cp38-cp38, cp39-cp39, cp310-cp310, cp311-cp311, cp312-cp312, cp313-cp313]
9898
runs-on: ubuntu-latest
9999
env:
100100
py: /opt/python/${{ matrix.pyver }}/bin/python

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
Unreleased
22
---
33

4+
### Added
5+
6+
- Support for Python 3.13 (issue
7+
[#80](https://github.com/SethMMorton/fastnumbers/issues/80))
8+
9+
### Removed
10+
11+
- Support for Python 3.7
12+
413
[5.1.0] - 2023-11-28
514
---
615

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = [
88
{name = "Seth M. Morton", email = "drtuba78@gmail.com"},
99
]
1010
dynamic = ["version"]
11-
requires-python = ">=3.7"
11+
requires-python = ">=3.8"
1212
description = "Super-fast and clean conversions to numbers."
1313
readme = "README.rst"
1414
license = {text = "MIT"}
@@ -24,12 +24,12 @@ classifiers = [
2424
"License :: OSI Approved :: MIT License",
2525
"Natural Language :: English",
2626
"Programming Language :: Python :: 3",
27-
"Programming Language :: Python :: 3.7",
2827
"Programming Language :: Python :: 3.8",
2928
"Programming Language :: Python :: 3.9",
3029
"Programming Language :: Python :: 3.10",
3130
"Programming Language :: Python :: 3.11",
3231
"Programming Language :: Python :: 3.12",
32+
"Programming Language :: Python :: 3.13",
3333
"Topic :: Scientific/Engineering :: Information Analysis",
3434
"Topic :: Utilities",
3535
"Topic :: Text Processing",

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = lint, mypy, py37, py38, py39, py310, py311, py12
7+
envlist = lint, mypy, py38, py39, py310, py311, py312, py313
88
# Other valid environments are:
99
# format
1010
# lint
1111
# mypy
1212
# docs
1313
# bump
1414
# clean
15-
# py{37,38,39,310,311,312}-prof (to update the profiling data}
15+
# py{38,39,310,311,312,313}-prof (to update the profiling data}
1616

1717
# Don't error out if a user hasn't installed all python versions.
1818
skip_missing_interpreters =
@@ -89,9 +89,6 @@ deps = setuptools_scm
8989
commands = {envpython} dev/bump.py {posargs:}
9090

9191
# For running profiling.
92-
[testenv:py37-prof]
93-
commands = {envpython} profiling/profile.py profiling/results-3.7.md
94-
9592
[testenv:py38-prof]
9693
commands = {envpython} profiling/profile.py profiling/results-3.8.md
9794

@@ -106,3 +103,6 @@ commands = {envpython} profiling/profile.py profiling/results-3.11.md
106103

107104
[testenv:py312-prof]
108105
commands = {envpython} profiling/profile.py profiling/results-3.12.md
106+
107+
[testenv:py313-prof]
108+
commands = {envpython} profiling/profile.py profiling/results-3.13.md

0 commit comments

Comments
 (0)