Skip to content

Commit 8f97f09

Browse files
author
Siting Ren
authored
Update CI test to Python v3.13 (#567)
1 parent 70d3133 commit 8f97f09

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.10']
11+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.10']
1212

1313
env:
1414
REALM: test

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Examples of running tests:
125125
tox
126126

127127
# Run tests on specified python versions with `tox -e ENV,ENV`
128-
tox -e py37,py38
128+
tox -e py312,py313
129129

130130
# Run specific tests by filename (e.g.) `test_notice.py`
131131
tox -- vertica_python/tests/unit_tests/test_notice.py

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
Please check out [release notes](https://github.com/vertica/vertica-python/releases) to learn about the latest improvements.
1414

15-
vertica-python has been tested with Vertica 24.3.0 and Python 3.7/3.8/3.9/3.10/3.11/3.12. Feel free to submit issues and/or pull requests (Read up on our [contributing guidelines](#contributing-guidelines)).
15+
vertica-python has been tested with Vertica 24.3.0 and Python 3.8/3.9/3.10/3.11/3.12/3.13. Feel free to submit issues and/or pull requests (Read up on our [contributing guidelines](#contributing-guidelines)).
1616

1717

1818
## Installation

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
packages=find_packages(),
5757
license="Apache License 2.0",
5858
# 'pip install' will check this and refuse to install the project if the version does not match.
59-
python_requires=">=3.7",
59+
python_requires=">=3.8",
6060
install_requires=[
6161
'python-dateutil>=1.5',
6262
],
@@ -66,12 +66,12 @@
6666
"License :: OSI Approved :: Apache Software License",
6767
"Programming Language :: Python",
6868
"Programming Language :: Python :: 3",
69-
"Programming Language :: Python :: 3.7",
7069
"Programming Language :: Python :: 3.8",
7170
"Programming Language :: Python :: 3.9",
7271
"Programming Language :: Python :: 3.10",
7372
"Programming Language :: Python :: 3.11",
7473
"Programming Language :: Python :: 3.12",
74+
"Programming Language :: Python :: 3.13",
7575
"Topic :: Database",
7676
"Topic :: Database :: Database Engines/Servers",
7777
"Topic :: Database :: Front-Ends",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py37,py38,py39,py310,py311,py312
2+
envlist = py38,py39,py310,py311,py312,py313
33

44
[testenv]
55
passenv = *

vertica_python/tests/common/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ def _load_test_config(cls, config_list):
111111
def _setup_logger(cls, tag, log_dir, log_level):
112112
# Setup test logger
113113
# E.g. If the class is defined in tests/integration_tests/test_dates.py
114-
# and test cases run under python3.7, then
115-
# the log would write to $VP_TEST_LOG_DIR/py37/integration_tests/test_dates.log
114+
# and test cases run under python3.9, then
115+
# the log would write to $VP_TEST_LOG_DIR/py39/integration_tests/test_dates.log
116116

117117
testfile = os.path.splitext(os.path.basename(inspect.getsourcefile(cls)))[0]
118118
logfile = os.path.join(log_dir, tag, testfile + '.log')

0 commit comments

Comments
 (0)