Skip to content

Commit 7d86fe4

Browse files
authored
Merge pull request #252 from frreiss/python
Update Python version for CI
2 parents df7ad2c + ff085bb commit 7d86fe4

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

.github/workflows/run_tests.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,13 @@ jobs:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
python-version: [3.7, 3.8, 3.9]
22-
# Test against Pandas 1.2, 1.3, and latest version
23-
pandas-version: ["1.2.*", "1.3.*", ""]
24-
exclude:
25-
# Test all Pandas versions with Python 3.8, exclude others
26-
- python-version: 3.7
27-
pandas-version: "1.1.*"
28-
- python-version: 3.7
29-
pandas-version: "1.2.*"
30-
- python-version: 3.8
31-
pandas-version: "1.1.*"
32-
- python-version: 3.8
33-
pandas-version: "1.2.*"
21+
python-version: [3.11, 3.12]
22+
# Test against older version(s) of Pandas and latest version
23+
pandas-version: ["2.2.*", ""]
24+
#exclude:
25+
# Uncomment to exclude combinations we don't expect to work
26+
# - python-version: 3.13
27+
# pandas-version: "1.3.*"
3428

3529
steps:
3630
- uses: actions/checkout@v2

config/dev_reqs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pytest
77
pyyaml
88
transformers>=3.0.0
99
# SpaCy models aren't stable across point releases
10-
spacy==3.6.0
10+
spacy>=3.7.0,<3.8
1111
ipywidgets
1212
ibm-watson
1313
twine

env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# Use environment variables if present.
1313
# (-z predicate means "unset or empty string")
1414
if [ -z "$PYTHON_VERSION" ]; then
15-
PYTHON_VERSION="3.8"
15+
PYTHON_VERSION="3.12"
1616
fi
1717
ENV_NAME="pd"
1818

0 commit comments

Comments
 (0)