Skip to content

Commit 36a3bc3

Browse files
committed
Add Python 3.13 support and remove Python 3.8
Also update the warnings ignored by pytest.
1 parent 6aae0dc commit 36a3bc3

File tree

5 files changed

+14
-17
lines changed

5 files changed

+14
-17
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
py:
24+
- "3.13"
2425
- "3.12"
2526
- "3.11"
2627
- "3.10"
2728
- "3.9"
28-
- "3.8"
2929
os:
3030
- ubuntu-latest
3131
- windows-latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The project's documentation is available at https://dynamo-pandas.readthedocs.io
1616

1717

1818
## Requirements
19-
* `python>=3.8`
19+
* `python>=3.9`
2020
* `pandas>=1.2`
2121
* `boto3`
2222

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ ignore-semiprivate = true
1212
exclude = [".vscode", "setup.py"]
1313
color = true
1414
verbose = 1
15+
16+
[tool.pytest.ini_options]
17+
filterwarnings = [
18+
"ignore:distutils Version classes are deprecated:DeprecationWarning", # numpy 1.20 (python39-pandas12 env)
19+
"ignore:datetime.datetime.utcnow:DeprecationWarning", # botocore python >= 3.12
20+
]

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ def find_meta(meta):
3737
long_description=read("README.md"),
3838
long_description_content_type="text/markdown",
3939
packages=find_packages(),
40-
python_requires=">=3.8",
40+
python_requires=">=3.9",
4141
install_requires=["pandas>=1.2"],
4242
extras_require={"boto3": ["boto3"]},
4343
classifiers=[
4444
"Development Status :: 5 - Production/Stable",
4545
"License :: OSI Approved :: MIT License",
4646
"Programming Language :: Python :: 3",
47-
"Programming Language :: Python :: 3.8",
4847
"Programming Language :: Python :: 3.9",
4948
"Programming Language :: Python :: 3.10",
5049
"Programming Language :: Python :: 3.11",
5150
"Programming Language :: Python :: 3.12",
51+
"Programming Language :: Python :: 3.13",
5252
],
5353
)

tox.ini

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tox]
22
minversion = 4
3-
envlist = py{38, 39}-pandas12, py{38, 39, 310, 311, 312}-pandaslatest, linting
3+
envlist = py39-pandas12, py{39, 310, 311, 312, 313}-pandaslatest, linting
44

55
[gh]
66
python =
7+
3.12 = py313-pandaslatest
78
3.12 = py312-pandaslatest
89
3.11 = py311-pandaslatest
910
3.10 = py310-pandaslatest, linting
1011
3.9 = py39-pandas12, py39-pandaslatest
11-
3.8 = py38-pandas12, py38-pandaslatest
1212

1313
[testenv]
1414
setenv =
@@ -19,24 +19,15 @@ setenv =
1919
download = true
2020
deps =
2121
.[boto3]
22-
-rrequirements-test.txt
22+
-r requirements-test.txt
2323
pandas12: pandas>=1.2,<1.3
2424
pandas12: numpy<=1.20
2525
commands = pytest -v --cov={envsitepackagesdir}/dynamo_pandas --cov-report term-missing {posargs}
2626

2727
[testenv:linting]
28-
basepython = python310
28+
basepython = python313
2929
deps = pre-commit
3030
skipdist = true
3131
usedevelop = true
3232
skipinstall = true
3333
commands = pre-commit run --all-files
34-
35-
[pytest]
36-
filterwarnings =
37-
; error
38-
ignore:.*is a deprecated alias:DeprecationWarning
39-
ignore:numpy.ufunc size changed:RuntimeWarning
40-
ignore:The distutils package:DeprecationWarning
41-
ignore:distutils Version classes are deprecated:DeprecationWarning
42-
ignore:.*Pyarrow:DeprecationWarning

0 commit comments

Comments
 (0)