Skip to content

Commit

Permalink
update python version
Browse files Browse the repository at this point in the history
  • Loading branch information
sitingren authored Oct 9, 2024
1 parent eb05ab4 commit 22742f8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Examples of running tests:
tox
# Run tests on specified python versions with `tox -e ENV,ENV`
tox -e py37,py38
tox -e py312,py313
# Run specific tests by filename (e.g.) `test_notice.py`
tox -- vertica_python/tests/unit_tests/test_notice.py
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

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

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)).
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)).


## Installation
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
packages=find_packages(),
license="Apache License 2.0",
# 'pip install' will check this and refuse to install the project if the version does not match.
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=[
'python-dateutil>=1.5',
],
Expand All @@ -66,12 +66,12 @@
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Database",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Database :: Front-Ends",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37,py38,py39,py310,py311,py312
envlist = py38,py39,py310,py311,py312,py313

[testenv]
passenv = *
Expand Down
4 changes: 2 additions & 2 deletions vertica_python/tests/common/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ def _load_test_config(cls, config_list):
def _setup_logger(cls, tag, log_dir, log_level):
# Setup test logger
# E.g. If the class is defined in tests/integration_tests/test_dates.py
# and test cases run under python3.7, then
# the log would write to $VP_TEST_LOG_DIR/py37/integration_tests/test_dates.log
# and test cases run under python3.9, then
# the log would write to $VP_TEST_LOG_DIR/py39/integration_tests/test_dates.log

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

0 comments on commit 22742f8

Please sign in to comment.