diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b2c6b6b0..5623079a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.10'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.10'] env: REALM: test diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a66c9844..42e372cb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 diff --git a/README.md b/README.md index 69c41184..0aac2804 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/setup.py b/setup.py index 8610686a..7b5a7fe9 100644 --- a/setup.py +++ b/setup.py @@ -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', ], @@ -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", diff --git a/tox.ini b/tox.ini index f3f18cd6..9bb5abcc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37,py38,py39,py310,py311,py312 +envlist = py38,py39,py310,py311,py312,py313 [testenv] passenv = * diff --git a/vertica_python/tests/common/base.py b/vertica_python/tests/common/base.py index c1a8727b..36811a1d 100644 --- a/vertica_python/tests/common/base.py +++ b/vertica_python/tests/common/base.py @@ -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')