Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
strategy:
matrix:
include:
- os: 'ubuntu-latest'
python-version: '3.7'
- os: 'macos-latest'
python-version: '3.8'
- os: 'windows-latest'
python-version: '3.9'
- os: 'ubuntu-latest'
python-version: '3.10'
- os: 'ubuntu-latest'
python-version: '3.11'

steps:
- uses: actions/checkout@v3
Expand All @@ -37,7 +37,6 @@ jobs:
python -m pip install spacy
python -m pip install torch
python -m pip install statsmodels
python -m pip install typing_extensions==4.7.1
- name: Run Tests
run: |
pytest -m 'not rsc_test and not docker' --cov --cov-report xml
Expand Down
6 changes: 2 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ author_email = isabel.zimmerman@posit.co
license = MIT
keywords = data, mlops
classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -20,7 +19,7 @@ packages = find:
include_package_data = True
zipsafe = False

python_requires = >=3.7
python_requires = >=3.8
install_requires =
numpy
pandas
Expand All @@ -36,7 +35,6 @@ install_requires =
plotly
pip-tools
httpx
importlib-metadata>=4.4 # NOTE: Remove when python_requires>=3.8

[options.extras_require]
all =
Expand All @@ -58,7 +56,7 @@ dev =

docs =
quartodoc
griffe==0.25.1
griffe==0.32.3

statsmodels =
statsmodels
Expand Down
6 changes: 1 addition & 5 deletions vetiver/tests/test_xgboost.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@

import vetiver # noqa

# hack since xgboost 2.0 dropped 3.7 support
if sys.version_info[0] == 3 and sys.version_info[1] < 8:
PREDICT_VALUE = 21.064373016357422
else:
PREDICT_VALUE = 19.963224411010742
PREDICT_VALUE = 19.963224411010742


@pytest.fixture
Expand Down