Skip to content

Commit 0717428

Browse files
authored
Polars update ci (#1433)
* update ci to run tests on polars-dev PRs Signed-off-by: cosmicBboy <[email protected]> * fix type Signed-off-by: cosmicBboy <[email protected]> * use Union type Signed-off-by: cosmicBboy <[email protected]> * update deps Signed-off-by: cosmicBboy <[email protected]> * fix lint Signed-off-by: cosmicBboy <[email protected]> * loosen pylint contraints, fix strategies circular import Signed-off-by: cosmicBboy <[email protected]> --------- Signed-off-by: cosmicBboy <[email protected]>
1 parent c316b92 commit 0717428

35 files changed

+167
-182
lines changed

.github/workflows/ci-tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
branches:
1111
- main
1212
- dev
13+
- polars-dev
1314
- bugfix
1415
- "release/*"
1516

.pylintrc

+6-1
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,9 @@ disable=
4848
unnecessary-dunder-call,
4949
use-dict-literal,
5050
invalid-name,
51-
import-outside-toplevel
51+
import-outside-toplevel,
52+
missing-class-docstring,
53+
missing-function-docstring,
54+
fixme,
55+
too-many-locals,
56+
redefined-outer-name

ci/requirements-py3.10-pandas1.5.3-pydantic1.10.11.txt

+4-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ beautifulsoup4==4.12.2 # via furo, nbconvert
2020
black==23.9.1 # via -r requirements.in
2121
bleach==6.0.0 # via nbconvert
2222
certifi==2023.7.22 # via fiona, pyproj, requests
23-
cffi==1.15.1 # via argon2-cffi-bindings, cryptography
23+
cffi==1.15.1 # via argon2-cffi-bindings
2424
cfgv==3.4.0 # via pre-commit
2525
chardet==5.2.0 # via frictionless
2626
charset-normalizer==3.2.0 # via requests
@@ -31,8 +31,7 @@ cloudpickle==2.2.1 # via dask, distributed, doit
3131
colorama==0.4.6 # via typer
3232
colorlog==6.7.0 # via nox
3333
commonmark==0.9.1 # via recommonmark
34-
coverage[toml]==7.3.1 # via coverage, pytest-cov
35-
cryptography==42.0.2 # via secretstorage
34+
coverage[toml]==7.3.1 # via pytest-cov
3635
dask==2023.9.2 # via -r requirements.in, distributed
3736
defusedxml==0.7.1 # via nbconvert
3837
dill==0.3.7 # via pylint
@@ -64,7 +63,6 @@ isodate==0.6.1 # via frictionless
6463
isoduration==20.11.0 # via jsonschema
6564
isort==5.12.0 # via -r requirements.in, pylint
6665
jaraco-classes==3.3.0 # via keyring
67-
jeepney==0.8.0 # via keyring, secretstorage
6866
jinja2==3.1.3 # via distributed, frictionless, jupyter-server, jupyterlab-server, nbconvert, sphinx
6967
json5==0.9.14 # via asv, jupyterlab-server
7068
jsonpointer==2.4 # via jsonschema
@@ -115,6 +113,7 @@ petl==1.7.14 # via frictionless
115113
pkginfo==1.9.6 # via jupyterlite-pyodide-kernel, twine
116114
platformdirs==3.10.0 # via black, jupyter-core, pylint, virtualenv
117115
pluggy==1.3.0 # via pytest
116+
polars==0.20.10 # via -r requirements.in
118117
pre-commit==3.4.0 # via -r requirements.in
119118
prometheus-client==0.17.1 # via jupyter-server
120119
protobuf==4.24.3 # via -r requirements.in, ray
@@ -152,7 +151,6 @@ rfc3986-validator==0.1.1 # via jsonschema, jupyter-events
152151
rich==13.5.2 # via twine, typer
153152
rpds-py==0.10.3 # via jsonschema, referencing
154153
scipy==1.11.2 # via -r requirements.in
155-
secretstorage==3.3.3 # via keyring
156154
send2trash==1.8.2 # via jupyter-server
157155
shapely==2.0.1 # via -r requirements.in, geopandas
158156
shellingham==1.5.3 # via typer
@@ -187,7 +185,7 @@ tornado==6.3.3 # via distributed, jupyter-client, jupyter-server, ter
187185
traitlets==5.10.0 # via jupyter-client, jupyter-core, jupyter-events, jupyter-server, nbclient, nbconvert, nbformat
188186
twine==4.0.2 # via -r requirements.in
189187
typeguard==4.1.5 # via -r requirements.in
190-
typer[all]==0.9.0 # via frictionless, typer
188+
typer[all]==0.9.0 # via frictionless
191189
types-click==7.1.8 # via -r requirements.in
192190
types-pkg-resources==0.1.3 # via -r requirements.in
193191
types-pytz==2023.3.0.1 # via -r requirements.in, pandas-stubs

ci/requirements-py3.10-pandas1.5.3-pydantic2.3.0.txt

+4-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ beautifulsoup4==4.12.2 # via furo, nbconvert
2121
black==23.9.1 # via -r requirements.in
2222
bleach==6.0.0 # via nbconvert
2323
certifi==2023.7.22 # via fiona, pyproj, requests
24-
cffi==1.15.1 # via argon2-cffi-bindings, cryptography
24+
cffi==1.15.1 # via argon2-cffi-bindings
2525
cfgv==3.4.0 # via pre-commit
2626
chardet==5.2.0 # via frictionless
2727
charset-normalizer==3.2.0 # via requests
@@ -32,8 +32,7 @@ cloudpickle==2.2.1 # via dask, distributed, doit
3232
colorama==0.4.6 # via typer
3333
colorlog==6.7.0 # via nox
3434
commonmark==0.9.1 # via recommonmark
35-
coverage[toml]==7.3.1 # via coverage, pytest-cov
36-
cryptography==42.0.2 # via secretstorage
35+
coverage[toml]==7.3.1 # via pytest-cov
3736
dask==2023.9.2 # via -r requirements.in, distributed
3837
defusedxml==0.7.1 # via nbconvert
3938
dill==0.3.7 # via pylint
@@ -65,7 +64,6 @@ isodate==0.6.1 # via frictionless
6564
isoduration==20.11.0 # via jsonschema
6665
isort==5.12.0 # via -r requirements.in, pylint
6766
jaraco-classes==3.3.0 # via keyring
68-
jeepney==0.8.0 # via keyring, secretstorage
6967
jinja2==3.1.3 # via distributed, frictionless, jupyter-server, jupyterlab-server, nbconvert, sphinx
7068
json5==0.9.14 # via asv, jupyterlab-server
7169
jsonpointer==2.4 # via jsonschema
@@ -116,6 +114,7 @@ petl==1.7.14 # via frictionless
116114
pkginfo==1.9.6 # via jupyterlite-pyodide-kernel, twine
117115
platformdirs==3.10.0 # via black, jupyter-core, pylint, virtualenv
118116
pluggy==1.3.0 # via pytest
117+
polars==0.20.10 # via -r requirements.in
119118
pre-commit==3.4.0 # via -r requirements.in
120119
prometheus-client==0.17.1 # via jupyter-server
121120
protobuf==4.24.3 # via -r requirements.in, ray
@@ -154,7 +153,6 @@ rfc3986-validator==0.1.1 # via jsonschema, jupyter-events
154153
rich==13.5.2 # via twine, typer
155154
rpds-py==0.10.3 # via jsonschema, referencing
156155
scipy==1.11.2 # via -r requirements.in
157-
secretstorage==3.3.3 # via keyring
158156
send2trash==1.8.2 # via jupyter-server
159157
shapely==2.0.1 # via -r requirements.in, geopandas
160158
shellingham==1.5.3 # via typer
@@ -189,7 +187,7 @@ tornado==6.3.3 # via distributed, jupyter-client, jupyter-server, ter
189187
traitlets==5.10.0 # via jupyter-client, jupyter-core, jupyter-events, jupyter-server, nbclient, nbconvert, nbformat
190188
twine==4.0.2 # via -r requirements.in
191189
typeguard==4.1.5 # via -r requirements.in
192-
typer[all]==0.9.0 # via frictionless, typer
190+
typer[all]==0.9.0 # via frictionless
193191
types-click==7.1.8 # via -r requirements.in
194192
types-pkg-resources==0.1.3 # via -r requirements.in
195193
types-pytz==2023.3.0.1 # via -r requirements.in, pandas-stubs

ci/requirements-py3.10-pandas2.0.3-pydantic1.10.11.txt

+4-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ beautifulsoup4==4.12.2 # via furo, nbconvert
2020
black==23.9.1 # via -r requirements.in
2121
bleach==6.0.0 # via nbconvert
2222
certifi==2023.7.22 # via fiona, pyproj, requests
23-
cffi==1.15.1 # via argon2-cffi-bindings, cryptography
23+
cffi==1.15.1 # via argon2-cffi-bindings
2424
cfgv==3.4.0 # via pre-commit
2525
chardet==5.2.0 # via frictionless
2626
charset-normalizer==3.2.0 # via requests
@@ -31,8 +31,7 @@ cloudpickle==2.2.1 # via dask, distributed, doit
3131
colorama==0.4.6 # via typer
3232
colorlog==6.7.0 # via nox
3333
commonmark==0.9.1 # via recommonmark
34-
coverage[toml]==7.3.1 # via coverage, pytest-cov
35-
cryptography==42.0.2 # via secretstorage
34+
coverage[toml]==7.3.1 # via pytest-cov
3635
dask==2023.9.2 # via -r requirements.in, distributed
3736
defusedxml==0.7.1 # via nbconvert
3837
dill==0.3.7 # via pylint
@@ -64,7 +63,6 @@ isodate==0.6.1 # via frictionless
6463
isoduration==20.11.0 # via jsonschema
6564
isort==5.12.0 # via -r requirements.in, pylint
6665
jaraco-classes==3.3.0 # via keyring
67-
jeepney==0.8.0 # via keyring, secretstorage
6866
jinja2==3.1.3 # via distributed, frictionless, jupyter-server, jupyterlab-server, nbconvert, sphinx
6967
json5==0.9.14 # via asv, jupyterlab-server
7068
jsonpointer==2.4 # via jsonschema
@@ -115,6 +113,7 @@ petl==1.7.14 # via frictionless
115113
pkginfo==1.9.6 # via jupyterlite-pyodide-kernel, twine
116114
platformdirs==3.10.0 # via black, jupyter-core, pylint, virtualenv
117115
pluggy==1.3.0 # via pytest
116+
polars==0.20.10 # via -r requirements.in
118117
pre-commit==3.4.0 # via -r requirements.in
119118
prometheus-client==0.17.1 # via jupyter-server
120119
protobuf==4.24.3 # via -r requirements.in, ray
@@ -152,7 +151,6 @@ rfc3986-validator==0.1.1 # via jsonschema, jupyter-events
152151
rich==13.5.2 # via twine, typer
153152
rpds-py==0.10.3 # via jsonschema, referencing
154153
scipy==1.11.2 # via -r requirements.in
155-
secretstorage==3.3.3 # via keyring
156154
send2trash==1.8.2 # via jupyter-server
157155
shapely==2.0.1 # via -r requirements.in, geopandas
158156
shellingham==1.5.3 # via typer
@@ -187,7 +185,7 @@ tornado==6.3.3 # via distributed, jupyter-client, jupyter-server, ter
187185
traitlets==5.10.0 # via jupyter-client, jupyter-core, jupyter-events, jupyter-server, nbclient, nbconvert, nbformat
188186
twine==4.0.2 # via -r requirements.in
189187
typeguard==4.1.5 # via -r requirements.in
190-
typer[all]==0.9.0 # via frictionless, typer
188+
typer[all]==0.9.0 # via frictionless
191189
types-click==7.1.8 # via -r requirements.in
192190
types-pkg-resources==0.1.3 # via -r requirements.in
193191
types-pytz==2023.3.0.1 # via -r requirements.in, pandas-stubs

ci/requirements-py3.10-pandas2.0.3-pydantic2.3.0.txt

+4-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ beautifulsoup4==4.12.2 # via furo, nbconvert
2121
black==23.9.1 # via -r requirements.in
2222
bleach==6.0.0 # via nbconvert
2323
certifi==2023.7.22 # via fiona, pyproj, requests
24-
cffi==1.15.1 # via argon2-cffi-bindings, cryptography
24+
cffi==1.15.1 # via argon2-cffi-bindings
2525
cfgv==3.4.0 # via pre-commit
2626
chardet==5.2.0 # via frictionless
2727
charset-normalizer==3.2.0 # via requests
@@ -32,8 +32,7 @@ cloudpickle==2.2.1 # via dask, distributed, doit
3232
colorama==0.4.6 # via typer
3333
colorlog==6.7.0 # via nox
3434
commonmark==0.9.1 # via recommonmark
35-
coverage[toml]==7.3.1 # via coverage, pytest-cov
36-
cryptography==42.0.2 # via secretstorage
35+
coverage[toml]==7.3.1 # via pytest-cov
3736
dask==2023.9.2 # via -r requirements.in, distributed
3837
defusedxml==0.7.1 # via nbconvert
3938
dill==0.3.7 # via pylint
@@ -65,7 +64,6 @@ isodate==0.6.1 # via frictionless
6564
isoduration==20.11.0 # via jsonschema
6665
isort==5.12.0 # via -r requirements.in, pylint
6766
jaraco-classes==3.3.0 # via keyring
68-
jeepney==0.8.0 # via keyring, secretstorage
6967
jinja2==3.1.3 # via distributed, frictionless, jupyter-server, jupyterlab-server, nbconvert, sphinx
7068
json5==0.9.14 # via asv, jupyterlab-server
7169
jsonpointer==2.4 # via jsonschema
@@ -116,6 +114,7 @@ petl==1.7.14 # via frictionless
116114
pkginfo==1.9.6 # via jupyterlite-pyodide-kernel, twine
117115
platformdirs==3.10.0 # via black, jupyter-core, pylint, virtualenv
118116
pluggy==1.3.0 # via pytest
117+
polars==0.20.10 # via -r requirements.in
119118
pre-commit==3.4.0 # via -r requirements.in
120119
prometheus-client==0.17.1 # via jupyter-server
121120
protobuf==4.24.3 # via -r requirements.in, ray
@@ -154,7 +153,6 @@ rfc3986-validator==0.1.1 # via jsonschema, jupyter-events
154153
rich==13.5.2 # via twine, typer
155154
rpds-py==0.10.3 # via jsonschema, referencing
156155
scipy==1.11.2 # via -r requirements.in
157-
secretstorage==3.3.3 # via keyring
158156
send2trash==1.8.2 # via jupyter-server
159157
shapely==2.0.1 # via -r requirements.in, geopandas
160158
shellingham==1.5.3 # via typer
@@ -189,7 +187,7 @@ tornado==6.3.3 # via distributed, jupyter-client, jupyter-server, ter
189187
traitlets==5.10.0 # via jupyter-client, jupyter-core, jupyter-events, jupyter-server, nbclient, nbconvert, nbformat
190188
twine==4.0.2 # via -r requirements.in
191189
typeguard==4.1.5 # via -r requirements.in
192-
typer[all]==0.9.0 # via frictionless, typer
190+
typer[all]==0.9.0 # via frictionless
193191
types-click==7.1.8 # via -r requirements.in
194192
types-pkg-resources==0.1.3 # via -r requirements.in
195193
types-pytz==2023.3.0.1 # via -r requirements.in, pandas-stubs

ci/requirements-py3.11-pandas1.5.3-pydantic1.10.11.txt

+4-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ beautifulsoup4==4.12.2 # via furo, nbconvert
2020
black==23.9.1 # via -r requirements.in
2121
bleach==6.0.0 # via nbconvert
2222
certifi==2023.7.22 # via fiona, pyproj, requests
23-
cffi==1.15.1 # via argon2-cffi-bindings, cryptography
23+
cffi==1.15.1 # via argon2-cffi-bindings
2424
cfgv==3.4.0 # via pre-commit
2525
chardet==5.2.0 # via frictionless
2626
charset-normalizer==3.2.0 # via requests
@@ -31,8 +31,7 @@ cloudpickle==2.2.1 # via dask, distributed, doit
3131
colorama==0.4.6 # via typer
3232
colorlog==6.7.0 # via nox
3333
commonmark==0.9.1 # via recommonmark
34-
coverage[toml]==7.3.1 # via coverage, pytest-cov
35-
cryptography==42.0.2 # via secretstorage
34+
coverage[toml]==7.3.1 # via pytest-cov
3635
dask==2023.9.2 # via -r requirements.in, distributed
3736
defusedxml==0.7.1 # via nbconvert
3837
dill==0.3.7 # via pylint
@@ -63,7 +62,6 @@ isodate==0.6.1 # via frictionless
6362
isoduration==20.11.0 # via jsonschema
6463
isort==5.12.0 # via -r requirements.in, pylint
6564
jaraco-classes==3.3.0 # via keyring
66-
jeepney==0.8.0 # via keyring, secretstorage
6765
jinja2==3.1.3 # via distributed, frictionless, jupyter-server, jupyterlab-server, nbconvert, sphinx
6866
json5==0.9.14 # via asv, jupyterlab-server
6967
jsonpointer==2.4 # via jsonschema
@@ -114,6 +112,7 @@ petl==1.7.14 # via frictionless
114112
pkginfo==1.9.6 # via jupyterlite-pyodide-kernel, twine
115113
platformdirs==3.10.0 # via black, jupyter-core, pylint, virtualenv
116114
pluggy==1.3.0 # via pytest
115+
polars==0.20.10 # via -r requirements.in
117116
pre-commit==3.4.0 # via -r requirements.in
118117
prometheus-client==0.17.1 # via jupyter-server
119118
protobuf==4.24.3 # via -r requirements.in, ray
@@ -151,7 +150,6 @@ rfc3986-validator==0.1.1 # via jsonschema, jupyter-events
151150
rich==13.5.2 # via twine, typer
152151
rpds-py==0.10.3 # via jsonschema, referencing
153152
scipy==1.11.2 # via -r requirements.in
154-
secretstorage==3.3.3 # via keyring
155153
send2trash==1.8.2 # via jupyter-server
156154
shapely==2.0.1 # via -r requirements.in, geopandas
157155
shellingham==1.5.3 # via typer
@@ -185,7 +183,7 @@ tornado==6.3.3 # via distributed, jupyter-client, jupyter-server, ter
185183
traitlets==5.10.0 # via jupyter-client, jupyter-core, jupyter-events, jupyter-server, nbclient, nbconvert, nbformat
186184
twine==4.0.2 # via -r requirements.in
187185
typeguard==4.1.5 # via -r requirements.in
188-
typer[all]==0.9.0 # via frictionless, typer
186+
typer[all]==0.9.0 # via frictionless
189187
types-click==7.1.8 # via -r requirements.in
190188
types-pkg-resources==0.1.3 # via -r requirements.in
191189
types-pytz==2023.3.0.1 # via -r requirements.in, pandas-stubs

ci/requirements-py3.11-pandas1.5.3-pydantic2.3.0.txt

+4-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ beautifulsoup4==4.12.2 # via furo, nbconvert
2121
black==23.9.1 # via -r requirements.in
2222
bleach==6.0.0 # via nbconvert
2323
certifi==2023.7.22 # via fiona, pyproj, requests
24-
cffi==1.15.1 # via argon2-cffi-bindings, cryptography
24+
cffi==1.15.1 # via argon2-cffi-bindings
2525
cfgv==3.4.0 # via pre-commit
2626
chardet==5.2.0 # via frictionless
2727
charset-normalizer==3.2.0 # via requests
@@ -32,8 +32,7 @@ cloudpickle==2.2.1 # via dask, distributed, doit
3232
colorama==0.4.6 # via typer
3333
colorlog==6.7.0 # via nox
3434
commonmark==0.9.1 # via recommonmark
35-
coverage[toml]==7.3.1 # via coverage, pytest-cov
36-
cryptography==42.0.2 # via secretstorage
35+
coverage[toml]==7.3.1 # via pytest-cov
3736
dask==2023.9.2 # via -r requirements.in, distributed
3837
defusedxml==0.7.1 # via nbconvert
3938
dill==0.3.7 # via pylint
@@ -64,7 +63,6 @@ isodate==0.6.1 # via frictionless
6463
isoduration==20.11.0 # via jsonschema
6564
isort==5.12.0 # via -r requirements.in, pylint
6665
jaraco-classes==3.3.0 # via keyring
67-
jeepney==0.8.0 # via keyring, secretstorage
6866
jinja2==3.1.3 # via distributed, frictionless, jupyter-server, jupyterlab-server, nbconvert, sphinx
6967
json5==0.9.14 # via asv, jupyterlab-server
7068
jsonpointer==2.4 # via jsonschema
@@ -115,6 +113,7 @@ petl==1.7.14 # via frictionless
115113
pkginfo==1.9.6 # via jupyterlite-pyodide-kernel, twine
116114
platformdirs==3.10.0 # via black, jupyter-core, pylint, virtualenv
117115
pluggy==1.3.0 # via pytest
116+
polars==0.20.10 # via -r requirements.in
118117
pre-commit==3.4.0 # via -r requirements.in
119118
prometheus-client==0.17.1 # via jupyter-server
120119
protobuf==4.24.3 # via -r requirements.in, ray
@@ -153,7 +152,6 @@ rfc3986-validator==0.1.1 # via jsonschema, jupyter-events
153152
rich==13.5.2 # via twine, typer
154153
rpds-py==0.10.3 # via jsonschema, referencing
155154
scipy==1.11.2 # via -r requirements.in
156-
secretstorage==3.3.3 # via keyring
157155
send2trash==1.8.2 # via jupyter-server
158156
shapely==2.0.1 # via -r requirements.in, geopandas
159157
shellingham==1.5.3 # via typer
@@ -187,7 +185,7 @@ tornado==6.3.3 # via distributed, jupyter-client, jupyter-server, ter
187185
traitlets==5.10.0 # via jupyter-client, jupyter-core, jupyter-events, jupyter-server, nbclient, nbconvert, nbformat
188186
twine==4.0.2 # via -r requirements.in
189187
typeguard==4.1.5 # via -r requirements.in
190-
typer[all]==0.9.0 # via frictionless, typer
188+
typer[all]==0.9.0 # via frictionless
191189
types-click==7.1.8 # via -r requirements.in
192190
types-pkg-resources==0.1.3 # via -r requirements.in
193191
types-pytz==2023.3.0.1 # via -r requirements.in, pandas-stubs

0 commit comments

Comments
 (0)