Skip to content

Commit 8923a4e

Browse files
committed
Remove py < 3.9 deps; Mention dropped python version support in changes
Also removes the "Modernize project definition" entry. CHANGES.rst should be written for users of the library. The entry had no relevance for end users.
1 parent 7ec1b56 commit 8923a4e

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

CHANGES.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ Changes for crate
44

55
Unreleased
66
==========
7-
- Modernize project definition to latest Python best practices. Thanks, @surister.
8-
- Exceptions: Exceptions from the BLOB API now include their full names.
7+
8+
- Exceptions from the BLOB API now include their full names.
9+
10+
- Dropped support for Python versions earlier than 3.10 as they've reached
11+
their end of life.
912

1013
2025/01/30 2.0.0
1114
================

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,13 @@ classifiers = [
4949
"Topic :: System :: Networking",
5050
]
5151
dependencies = [
52-
"importlib-metadata; python_version<'3.8'",
5352
"orjson",
5453
"urllib3",
5554
"verlib2>=0.3.1",
5655
]
5756

5857
[dependency-groups]
5958
dev = [
60-
"backports.zoneinfo<1; python_version<'3.9'",
6159
"certifi",
6260
"coverage",
6361
"mypy<1.20",

tests/client/test_cursor.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,16 @@
2020
# software solely pursuant to the terms of the relevant commercial agreement.
2121

2222
import datetime
23+
import zoneinfo
2324
from ipaddress import IPv4Address
2425
from unittest import mock
2526

2627
import pytest
27-
28-
from crate.client.exceptions import ProgrammingError
29-
30-
try:
31-
import zoneinfo
32-
except ImportError:
33-
from backports import zoneinfo
34-
3528
import pytz
3629

3730
from crate.client import connect
3831
from crate.client.converter import DataType, DefaultTypeConverter
32+
from crate.client.exceptions import ProgrammingError
3933

4034

4135
def test_cursor_fetch(mocked_connection):

0 commit comments

Comments
 (0)