Skip to content

Commit bcafe11

Browse files
authored
Support Python 3.11+ (#55)
1 parent c4becbb commit bcafe11

File tree

5 files changed

+18
-60
lines changed

5 files changed

+18
-60
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ jobs:
99
strategy:
1010
max-parallel: 4
1111
matrix:
12-
python-version: [3.9, '3.10']
12+
python-version:
13+
- 3.11
14+
- 3.12
15+
- 3.13
1316
timeout-minutes: 5
1417

1518
steps:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Changed
9+
- Add support for Python 3.11, 3.12 and 3.13.
10+
811
### Removed
912
- Drop support for GeoIP and `guess_timezone_by_ip()`.
13+
- Drop support for Python 3.9 and 3.10.
1014

1115
## [2.2.0] - 2023-03-06
1216
### Added

poetry.lock

Lines changed: 2 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ classifiers = [
1111
"Operating System :: OS Independent",
1212
"Programming Language :: Python",
1313
"Programming Language :: Python :: 3",
14-
"Programming Language :: Python :: 3.9",
15-
"Programming Language :: Python :: 3.10",
14+
"Programming Language :: Python :: 3.11",
15+
"Programming Language :: Python :: 3.12",
16+
"Programming Language :: Python :: 3.13",
1617
"Topic :: Software Development :: Libraries :: Python Modules",
1718
]
1819
homepage = "https://doist.com"
1920
authors = ["Doist Developers <[email protected]>"]
2021
readme = "README.md"
2122

2223
[tool.poetry.dependencies]
23-
python = "^3.9"
24+
python = "^3.11"
2425

2526
[tool.poetry.dev-dependencies]
2627
pytest = "^7.1.2"

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[tox]
2-
envlist = mypy, py39, py310
2+
envlist = mypy, py311, py312, py313
33
isolated_build = True
44

55
[gh-actions]
66
python =
7-
3.9: py39, mypy
8-
3.10: py310
7+
3.11: py311, mypy
8+
3.12: py312
9+
3.13: py313
910

1011
[testenv]
1112
deps =

0 commit comments

Comments
 (0)