Skip to content

Commit dafdfe1

Browse files
committed
CI: updates for Python 3.12 and new packaging style.
1 parent 711c61d commit dafdfe1

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.appveyor.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
shallow_clone: true # download the zip instead of the whole history
2+
shallow_clone: false # download the zip instead of the whole history
33

44
build: false
55

@@ -17,6 +17,12 @@ environment:
1717
# - PYTHON_VERSION: 3.7
1818
# TARGET_ARCH: "x64"
1919
# MINICONDA: C:\Miniconda3-x64
20+
- PYTHON_VERSION: 3.12
21+
TARGET_ARCH: "x86"
22+
MINICONDA: C:\Miniconda3
23+
- PYTHON_VERSION: 3.11
24+
TARGET_ARCH: "x86"
25+
MINICONDA: C:\Miniconda3
2026
- PYTHON_VERSION: 3.10
2127
TARGET_ARCH: "x86"
2228
MINICONDA: C:\Miniconda3
@@ -26,9 +32,6 @@ environment:
2632
- PYTHON_VERSION: 3.8
2733
TARGET_ARCH: "x86"
2834
MINICONDA: C:\Miniconda3
29-
- PYTHON_VERSION: 3.7
30-
TARGET_ARCH: "x86"
31-
MINICONDA: C:\Miniconda3
3235

3336
install:
3437
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
@@ -37,7 +40,7 @@ install:
3740
- conda info -a
3841
- "conda create -q -n test-environment python=%PYTHON_VERSION% pandas matplotlib pytest"
3942
- activate test-environment
40-
- pip install -e .[extras]
43+
- pip install .[extras]
4144

4245
test_script:
4346
- py.test -vv

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: ["3.8", "3.9", "3.10", "3.11"]
12+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1313
os: [ubuntu-latest, windows-latest, macos-latest]
1414

1515
runs-on: ${{ matrix.os }}
@@ -25,7 +25,8 @@ jobs:
2525
run: |
2626
python -m pip install --upgrade pip
2727
python -m pip install pandas matplotlib pytest
28-
python -m pip install -e .[extras]
28+
git fetch --unshallow
29+
python -m pip install .[extras]
2930
3031
- name: Test
3132
run: |

0 commit comments

Comments
 (0)