Skip to content

Commit 4583259

Browse files
committed
Merge branch 'main' into sagerb-conda-param-deprecated-from-rsconnect-python
2 parents 39e8022 + 273c507 commit 4583259

3 files changed

Lines changed: 5 additions & 12 deletions

File tree

.github/workflows/tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
strategy:
1616
matrix:
1717
include:
18-
- os: 'ubuntu-latest'
19-
python-version: '3.7'
2018
- os: 'macos-latest'
2119
python-version: '3.8'
2220
- os: 'windows-latest'
2321
python-version: '3.9'
2422
- os: 'ubuntu-latest'
2523
python-version: '3.10'
24+
- os: 'ubuntu-latest'
25+
python-version: '3.11'
2626

2727
steps:
2828
- uses: actions/checkout@v3
@@ -37,7 +37,6 @@ jobs:
3737
python -m pip install spacy
3838
python -m pip install torch
3939
python -m pip install statsmodels
40-
python -m pip install typing_extensions==4.7.1
4140
- name: Run Tests
4241
run: |
4342
pytest -m 'not rsc_test and not docker' --cov --cov-report xml

setup.cfg

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ author_email = isabel.zimmerman@posit.co
99
license = MIT
1010
keywords = data, mlops
1111
classifiers =
12-
Programming Language :: Python :: 3.7
1312
Programming Language :: Python :: 3.8
1413
Programming Language :: Python :: 3.9
1514
Programming Language :: Python :: 3.10
@@ -20,7 +19,7 @@ packages = find:
2019
include_package_data = True
2120
zipsafe = False
2221

23-
python_requires = >=3.7
22+
python_requires = >=3.8
2423
install_requires =
2524
numpy
2625
pandas
@@ -36,7 +35,6 @@ install_requires =
3635
plotly
3736
pip-tools
3837
httpx
39-
importlib-metadata>=4.4 # NOTE: Remove when python_requires>=3.8
4038

4139
[options.extras_require]
4240
all =
@@ -58,7 +56,7 @@ dev =
5856

5957
docs =
6058
quartodoc
61-
griffe==0.25.1
59+
griffe==0.32.3
6260

6361
statsmodels =
6462
statsmodels

vetiver/tests/test_xgboost.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@
1010

1111
import vetiver # noqa
1212

13-
# hack since xgboost 2.0 dropped 3.7 support
14-
if sys.version_info[0] == 3 and sys.version_info[1] < 8:
15-
PREDICT_VALUE = 21.064373016357422
16-
else:
17-
PREDICT_VALUE = 19.963224411010742
13+
PREDICT_VALUE = 19.963224411010742
1814

1915

2016
@pytest.fixture

0 commit comments

Comments
 (0)