mirror of
https://github.com/hydrosquall/tiingo-python.git
synced 2025-12-19 04:34:20 +01:00
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:
7
.github/workflows/python-package.yml
vendored
7
.github/workflows/python-package.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ['3.7', '3.8', '3.9']
|
python-version: ['3.10', '3.11', '3.12']
|
||||||
WITH_PANDAS: [false, true]
|
WITH_PANDAS: [false, true]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -27,8 +27,13 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
env:
|
env:
|
||||||
WITH_PANDAS: ${{ matrix.WITH_PANDAS }}
|
WITH_PANDAS: ${{ matrix.WITH_PANDAS }}
|
||||||
|
# Install setuptools for the newer versions
|
||||||
|
# https://docs.python.org/3/whatsnew/3.12.html
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
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 setup.py develop
|
||||||
python -m pip install flake8 pytest-cov coverage vcrpy black
|
python -m pip install flake8 pytest-cov coverage vcrpy black
|
||||||
tools/install_pandas.sh
|
tools/install_pandas.sh
|
||||||
|
|||||||
6
setup.py
6
setup.py
@@ -66,9 +66,11 @@ setup(
|
|||||||
'Natural Language :: English',
|
'Natural Language :: English',
|
||||||
'Topic :: Office/Business :: Financial :: Investment',
|
'Topic :: Office/Business :: Financial :: Investment',
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.6',
|
|
||||||
'Programming Language :: Python :: 3.7',
|
|
||||||
'Programming Language :: Python :: 3.8',
|
'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',
|
test_suite='tests',
|
||||||
tests_require=test_requirements,
|
tests_require=test_requirements,
|
||||||
|
|||||||
Reference in New Issue
Block a user