Merge pull request #944 from hydrosquall/cameron.yick/end-of-life-python-37

dev: update tested and recommended python versions
This commit is contained in:
Cameron Yick
2024-02-04 20:13:02 -05:00
committed by GitHub
2 changed files with 10 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9']
python-version: ['3.10', '3.11', '3.12']
WITH_PANDAS: [false, true]
steps:
@@ -27,8 +27,13 @@ jobs:
- name: Install dependencies
env:
WITH_PANDAS: ${{ matrix.WITH_PANDAS }}
# Install setuptools for the newer versions
# https://docs.python.org/3/whatsnew/3.12.html
run: |
python -m pip install --upgrade pip
if [ "$(python --version | cut -d ' ' -f 2 | cut -d '.' -f 1,2)" = "3.12" ]; then
pip install setuptools
fi
python setup.py develop
python -m pip install flake8 pytest-cov coverage vcrpy black
tools/install_pandas.sh

View File

@@ -66,9 +66,11 @@ setup(
'Natural Language :: English',
'Topic :: Office/Business :: Financial :: Investment',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'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',
],
test_suite='tests',
tests_require=test_requirements,