Skip to content

Commit 605cec7

Browse files
authored
Add testing for Python 3.12 (#698)
* Add testing for Python 3.12 * Add pyzmq * Skip keplergl * Fix build error * Add setuptools
1 parent 98077c0 commit 605cec7

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/docs-build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
miniconda-version: latest
4242

4343
- name: Cache dependencies
44-
uses: actions/cache@v3
44+
uses: actions/cache@v4
4545
with:
4646
path: ~/.cache/pip
4747
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
@@ -80,7 +80,7 @@ jobs:
8080
mkdocs build
8181
8282
- name: Deploy to Netlify
83-
uses: nwtgck/actions-netlify@v2.0
83+
uses: nwtgck/actions-netlify@v2.1
8484
with:
8585
publish-dir: "./site"
8686
production-branch: master

.github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
miniconda-version: latest
4141

4242
- name: Cache dependencies
43-
uses: actions/cache@v3
43+
uses: actions/cache@v4
4444
with:
4545
path: ~/.cache/pip
4646
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}

.github/workflows/installation.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.11"]
16+
python-version: ["3.12"]
1717
steps:
1818
- uses: actions/checkout@v4
1919
- name: Set up Python
2020
uses: actions/setup-python@v5
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Install package
24-
run: pip install .
24+
run: pip install setuptools .
2525
- name: Test import
2626
run: python -c "import leafmap; print('leafmap import successful')"

.github/workflows/ubuntu.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1717

1818
defaults:
1919
run:
@@ -43,7 +43,7 @@ jobs:
4343
miniconda-version: latest
4444

4545
- name: Cache dependencies
46-
uses: actions/cache@v3
46+
uses: actions/cache@v4
4747
with:
4848
path: ~/.cache/pip
4949
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
@@ -58,7 +58,7 @@ jobs:
5858
- name: Install GDAL
5959
run: |
6060
conda install -c conda-forge mamba --yes
61-
mamba install -c conda-forge gdal pyproj --yes
61+
mamba install -c conda-forge gdal pyproj pyzmq --yes
6262
6363
# - name: Test GDAL installation
6464
# run: |
@@ -67,8 +67,8 @@ jobs:
6767

6868
- name: Install dependencies
6969
run: |
70-
pip install -r requirements.txt -r requirements_dev.txt
71-
pip install .
70+
# pip install -r requirements.txt -r requirements_dev.txt
71+
pip install .
7272
7373
- name: Test import
7474
run: python -c "import leafmap; print('leafmap import successful')"

.github/workflows/windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
miniconda-version: latest
3232

3333
- name: Cache dependencies
34-
uses: actions/cache@v3
34+
uses: actions/cache@v4
3535
with:
3636
path: ~/.cache/pip
3737
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}

0 commit comments

Comments
 (0)