Skip to content

Commit bd0eca4

Browse files
committed
MOD: Drop support for Python 3.8
1 parent 07b3b9c commit bd0eca4

File tree

17 files changed

+17
-32
lines changed

17 files changed

+17
-32
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [ubuntu-latest, macos-latest, windows-latest]
13-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
13+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1414
name: build - Python ${{ matrix.python-version }} (${{ matrix.os }})
1515
runs-on: ${{ matrix.os }}
1616

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.43.0 - TBD
4+
5+
#### Breaking changes
6+
- Removed support for Python 3.8 due to end of life
7+
38
## 0.42.0 - 2024-09-23
49

510
#### Enhancements

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# databento-python
22

33
[![test](https://github.com/databento/databento-python/actions/workflows/test.yml/badge.svg?branch=dev)](https://github.com/databento/databento-python/actions/workflows/test.yml)
4-
![python](https://img.shields.io/badge/python-3.8+-blue.svg)
4+
![python](https://img.shields.io/badge/python-3.9+-blue.svg)
55
[![pypi-version](https://img.shields.io/pypi/v/databento)](https://pypi.org/project/databento)
66
[![license](https://img.shields.io/github/license/databento/databento-python?color=blue)](./LICENSE)
77
[![code-style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
@@ -28,16 +28,16 @@ You can find our full client API reference on the [Historical Reference](https:/
2828
[Examples](https://databento.com/docs/examples?historical=python&live=python) section for various tutorials and code samples.
2929

3030
## Requirements
31-
The library is fully compatible with the latest distribution of Anaconda 3.8 and above.
31+
The library is fully compatible with the latest distribution of Anaconda 3.9 and above.
3232
The minimum dependencies as found in the `pyproject.toml` are also listed below:
33-
- python = "^3.8"
33+
- python = "^3.9"
3434
- aiohttp = "^3.8.3"
3535
- databento-dbn = "0.20.1"
3636
- numpy= ">=1.23.5"
3737
- pandas = ">=1.5.3"
3838
- pip-system-certs = ">=4.0" (Windows only)
3939
- pyarrow = ">=13.0.0"
40-
- requests = ">=2.24.0"
40+
- requests = ">=2.25.1"
4141
- zstandard = ">=0.21.0"
4242

4343
## Installation

databento/common/constants.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
from typing import Final
42

53
import numpy as np

databento/common/iterator.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import itertools
42
from collections.abc import Iterable
53
from typing import TypeVar

notebooks/quickstart.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2236,7 +2236,7 @@
22362236
"name": "python",
22372237
"nbconvert_exporter": "python",
22382238
"pygments_lexer": "ipython3",
2239-
"version": "3.8.17"
2239+
"version": "3.9.16"
22402240
}
22412241
},
22422242
"nbformat": 4,

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repository = "https://github.com/databento/databento-python"
2727
"Bug Tracker" = "https://github.com/databento/databento-python/issues"
2828

2929
[tool.poetry.dependencies]
30-
python = "^3.8"
30+
python = "^3.9"
3131
aiohttp = [
3232
{version = "^3.8.3", python = "<3.12"},
3333
{version = "^3.9.0", python = "^3.12"}
@@ -40,7 +40,7 @@ numpy = [
4040
pandas = ">=1.5.3"
4141
pip-system-certs = {version=">=4.0", markers="platform_system == 'Windows'"}
4242
pyarrow = ">=13.0.0"
43-
requests = ">=2.24.0"
43+
requests = ">=2.25.1"
4444
zstandard = ">=0.21.0"
4545

4646
[tool.poetry.group.dev.dependencies]
@@ -63,7 +63,7 @@ build-backend = "poetry.core.masonry.api"
6363
line_length = 100
6464

6565
[tool.mypy]
66-
python_version = 3.8
66+
python_version = 3.9
6767
disallow_untyped_defs = true
6868
disallow_any_generics = true
6969
disallow_subclassing_any = true

tests/conftest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Pytest fixtures.
33
"""
44

5-
from __future__ import annotations
6-
75
import asyncio
86
import logging
97
import pathlib

tests/mockliveserver/__main__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import argparse
42
import asyncio
53
import logging

tests/mockliveserver/fixture.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import asyncio
42
import contextlib
53
import os

0 commit comments

Comments
 (0)