Skip to content

Commit

Permalink
Support Python 3.11+
Browse files Browse the repository at this point in the history
  • Loading branch information
Schnouki committed Nov 13, 2024
1 parent c4becbb commit 314eb16
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 60 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.9, '3.10']
python-version:
- 3.11
- 3.12
- 3.13
timeout-minutes: 5

steps:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Add support for Python 3.11, 3.12 and 3.13.

### Removed
- Drop support for GeoIP and `guess_timezone_by_ip()`.
- Drop support for Python 3.9 and 3.10.

## [2.2.0] - 2023-03-06
### Added
Expand Down
55 changes: 2 additions & 53 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
homepage = "https://doist.com"
authors = ["Doist Developers <dev@doist.com>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.11"

[tool.poetry.dev-dependencies]
pytest = "^7.1.2"
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[tox]
envlist = mypy, py39, py310
envlist = mypy, py311, py312, py313
isolated_build = True

[gh-actions]
python =
3.9: py39, mypy
3.10: py310
3.11: py311, mypy
3.12: py312
3.13: py313

[testenv]
deps =
Expand Down

0 comments on commit 314eb16

Please sign in to comment.