Skip to content

Commit 41287f7

Browse files
committed
Minimum python version now 3.10, add 3.15 to test matrix
1 parent 04c6ad1 commit 41287f7

6 files changed

Lines changed: 12 additions & 10 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
py:
16+
- "3.15"
1617
- "3.14"
1718
- "3.13"
1819
- "3.12"
1920
- "3.11"
2021
- "3.10"
21-
- "3.9"
2222
os:
2323
- ubuntu-latest
2424
steps:

‎Changes.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
v3.5.0 Wed Oct 28 2026
2+
Requires python 3.10
3+
Added python 3.15 to test matrix
24
Add warning and safeguard that overlapping/nested context managers on one instance aren't supported
35
Redact API key in error messages
46
Note: Network errors from `requests` and `aiohttp` are now raised as the new `NetworkError` / `NetworkTimeoutError`.

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ There is an [Agent Skill for working with the OpenCage Geocoding API](https://gi
2323

2424
## Usage
2525

26-
Supports Python 3.9 or newer. Starting opencage version 3.0 depends on asyncio package.
26+
Supports Python 3.10 or newer. Starting opencage version 3.0 depends on asyncio package.
2727

2828
Install the module:
2929

@@ -91,7 +91,7 @@ with OpenCageGeocode(key) as geocoder:
9191

9292
You can run requests in parallel with the `geocode_async` and `reverse_geocode_async`
9393
method which have the same parameters and response as their synronous counterparts.
94-
You will need at least Python 3.8 and the `asyncio` and `aiohttp` packages installed.
94+
You will need the `asyncio` and `aiohttp` packages installed.
9595

9696
```python
9797
async with OpenCageGeocode(key) as geocoder:

‎pyproject.toml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "opencage"
77
dynamic = ["version"]
88
description = "Wrapper module for the OpenCage Geocoder API"
99
readme = "README.md"
10-
requires-python = ">=3.9"
10+
requires-python = ">=3.10"
1111
license = "BSD-3-Clause"
1212
authors = [{name = "OpenCage GmbH", email = "info@opencagedata.com"}]
1313
keywords = ["geocoding", "geocoder"]
@@ -17,19 +17,19 @@ classifiers = [
1717
"Intended Audience :: Developers",
1818
"Operating System :: OS Independent",
1919
"Programming Language :: Python :: 3 :: Only",
20-
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
2221
"Programming Language :: Python :: 3.11",
2322
"Programming Language :: Python :: 3.12",
2423
"Programming Language :: Python :: 3.13",
2524
"Programming Language :: Python :: 3.14",
25+
"Programming Language :: Python :: 3.15",
2626
"Topic :: Scientific/Engineering :: GIS",
2727
"Topic :: Utilities",
2828
]
2929
dependencies = [
30-
"Requests>=2.31.0",
30+
"Requests>=2.33.0",
3131
"backoff>=2.2.1",
32-
"aiohttp>=3.10.5",
32+
"aiohttp>=3.14.4",
3333
]
3434

3535
[project.optional-dependencies]

‎tox.ini‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tox]
2-
envlist = py39,py310,py311,py312,py313,py314,lint
2+
envlist = py310,py311,py312,py313,py314,py315,lint
33

44
[gh]
55
python =
6+
3.15 = py315
67
3.14 = py314
78
3.13 = py313
89
3.12 = py312
910
3.11 = py311
1011
3.10 = py310
11-
3.9 = py39
1212

1313
[testenv]
1414
deps =

‎vagrant-provision.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exec $SHELL
2626
# 'exec $SHELL' doesn't work well in a provision file. Likely you need to
2727
# run the following commands manually after 'vagrant up'
2828

29-
for VERSION in 3.9 3.10 3.11 3.12 3.13 3.14; do
29+
for VERSION in 3.10 3.11 3.12 3.13 3.14 3.15; do
3030
VERSION=$(pyenv latest --known $VERSION)
3131
echo "Installing $VERSION ..."
3232
pyenv install --skip-existing $VERSION

0 commit comments

Comments
 (0)