Skip to content

Commit 94023dd

Browse files
committed
merge main
2 parents 015d120 + 31ac0c7 commit 94023dd

29 files changed

+1830
-519
lines changed

.github/workflows/unittests.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,19 @@
1919
strategy:
2020
matrix:
2121
os: ['ubuntu-latest']
22-
environment-file: [ci/37-minimal.yaml, ci/37.yaml, ci/38.yaml, ci/39.yaml, ci/310.yaml]
22+
environment-file: [
23+
ci/38-minimal.yaml,
24+
ci/39.yaml,
25+
ci/310.yaml,
26+
ci/311.yaml,
27+
ci/311-dev.yaml
28+
]
2329
include:
24-
- environment-file: ci/310.yaml
30+
- environment-file: ci/311.yaml
2531
os: macos-latest
26-
- environment-file: ci/310.yaml
32+
- environment-file: ci/311.yaml
2733
os: windows-latest
34+
fail-fast: false
2835

2936
steps:
3037
- name: checkout repo
@@ -35,6 +42,7 @@
3542
with:
3643
environment-file: ${{ matrix.environment-file }}
3744
micromamba-version: 'latest'
45+
channel-priority: 'flexible'
3846

3947
- name: run tests - bash
4048
shell: bash -l {0}

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
2-
- repo: https://github.com/psf/black
3-
rev: 22.6.0
4-
hooks:
5-
- id: black
6-
language_version: python3
2+
- repo: https://github.com/psf/black
3+
rev: 22.10.0
4+
hooks:
5+
- id: black
6+
language_version: python3

ci/310.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ channels:
33
- conda-forge
44
dependencies:
55
- python=3.10
6-
- appdirs
6+
- platformdirs
77
- beautifulsoup4
88
- jinja2
9-
- pandas>=1.0
10-
- scipy>=1.0
9+
- pandas
10+
- scipy
1111
- xarray
1212
# testing
1313
- codecov
@@ -16,12 +16,11 @@ dependencies:
1616
- pytest-cov
1717
- pytest-xdist
1818
# optional
19-
- geopandas>=0.7.0
19+
- geopandas
2020
- joblib
2121
- networkx
2222
- numba
2323
- packaging
24-
- xarray
2524
- zstd
2625
# for docs build action (this env only)
2726
- nbsphinx

ci/311-dev.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: test
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python=3.11
6+
- platformdirs
7+
- beautifulsoup4
8+
- jinja2
9+
- pandas
10+
- scipy
11+
- xarray
12+
# testing
13+
- codecov
14+
- matplotlib
15+
- pytest
16+
- pytest-cov
17+
- pytest-xdist
18+
# optional
19+
- geopandas
20+
- joblib
21+
- networkx
22+
- packaging
23+
- zstd
24+
- Cython
25+
- pip
26+
- pip:
27+
# dev versions of packages
28+
- --pre --extra-index https://pypi.anaconda.org/scipy-wheels-nightly/simple
29+
- scipy
30+
- pandas
31+
- git+https://github.com/shapely/shapely.git@main
32+
- git+https://github.com/geopandas/geopandas.git@main
33+
- git+https://github.com/pydata/xarray.git@main

ci/38.yaml renamed to ci/311.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: test
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.8
6-
- appdirs
5+
- python=3.11
6+
- platformdirs
77
- beautifulsoup4
88
- jinja2
9-
- pandas>=1.0
10-
- scipy>=1.0
9+
- pandas
10+
- scipy
1111
- xarray
1212
# testing
1313
- codecov
@@ -16,10 +16,10 @@ dependencies:
1616
- pytest-cov
1717
- pytest-xdist
1818
# optional
19-
- geopandas>=0.7.0
19+
- geopandas>=0.12.0
2020
- joblib
2121
- networkx
22-
- numba
2322
- packaging
23+
- shapely>=2.0b1
2424
- xarray
2525
- zstd

ci/37.yaml renamed to ci/311_shapely_dev.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: test
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.7
6-
- appdirs
5+
- python=3.11
6+
- platformdirs
77
- beautifulsoup4
88
- jinja2
99
- pandas>=1.0
@@ -15,11 +15,17 @@ dependencies:
1515
- pytest
1616
- pytest-cov
1717
- pytest-xdist
18-
- networkx=2.7
1918
# optional
20-
- geopandas>=0.7.0
19+
- geopandas>=0.12.0
2120
- joblib
22-
- numba
21+
- networkx
2322
- packaging
23+
- shapely>=2.0b1
2424
- xarray
2525
- zstd
26+
# for docs build action (this env only)
27+
- nbsphinx
28+
- numpydoc
29+
- sphinx
30+
- sphinxcontrib-bibtex
31+
- sphinx_bootstrap_theme

ci/37-minimal.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

ci/38-minimal.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: test
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python=3.8
6+
- beautifulsoup4=4.10
7+
- jinja2=3.0
8+
- pandas=1.3
9+
- scipy=1.8
10+
- xarray=0.18
11+
# testing
12+
- codecov
13+
- matplotlib
14+
- pytest
15+
- pytest-cov
16+
- pytest-xdist
17+
# optional
18+
- geopandas>=0.10.0
19+
- shapely=1.8
20+
- joblib
21+
- networkx=2.7
22+
- numba=0.54
23+
- packaging
24+
- zstd
25+
- pip
26+
- pip:
27+
- platformdirs==2.0.2

ci/39.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ channels:
33
- conda-forge
44
dependencies:
55
- python=3.9
6-
- appdirs
6+
- platformdirs
77
- beautifulsoup4
88
- jinja2
9-
- pandas>=1.0
10-
- scipy>=1.0
9+
- pandas
10+
- scipy
1111
- xarray
1212
# testing
1313
- codecov
@@ -16,10 +16,9 @@ dependencies:
1616
- pytest-cov
1717
- pytest-xdist
1818
# optional
19-
- geopandas>=0.7.0
19+
- geopandas
2020
- joblib
2121
- networkx
2222
- numba
2323
- packaging
24-
- xarray
2524
- zstd

docs/installation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Installation
44
============
55

6-
libpysal supports python >= `3.7`_ only. Please make sure that you are
6+
libpysal supports python >= `3.8`_ only. Please make sure that you are
77
operating in a python 3 environment.
88

99
Installing released version
@@ -14,7 +14,7 @@ conda
1414

1515
libpysal is available through conda::
1616

17-
17+
1818
conda install -c conda-forge libpysal
1919

2020

@@ -50,7 +50,7 @@ to your local clone and submitting a pull request to `pysal/libpysal`_, you can
5050
contribute to libpysal development.
5151

5252

53-
.. _3.7: https://docs.python.org/3.7/
53+
.. _3.7: https://docs.python.org/3.8/
5454
.. _Python Package Index: https://pypi.org/project/libpysal/
5555
.. _pysal/libpysal: https://github.com/pysal/libpysal
5656
.. _fork: https://help.github.com/articles/fork-a-repo/

0 commit comments

Comments
 (0)