From 8b7e19ef45c1890a0cda0b8424f4a169482222b7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Sep 2023 22:46:35 +0000 Subject: [PATCH 1/4] Bump codecov/codecov-action from 3 to 4 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index f14b0c1a..1e485a12 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -82,7 +82,7 @@ ${{ env.RUN_TEST }} - name: ${{ matrix.os }}, ${{ matrix.environment-file }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml From 1c941f6ddcf0bde9b9ee25e0ed0acdcafcb20686 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Mon, 23 Oct 2023 23:11:38 -0400 Subject: [PATCH 2/4] fix broken imports --- esda/getisord.py | 4 +++- esda/smoothing.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/esda/getisord.py b/esda/getisord.py index 9c7e1018..bec973ed 100644 --- a/esda/getisord.py +++ b/esda/getisord.py @@ -6,7 +6,9 @@ import warnings -from libpysal.common import np, stats +import numpy as np +import scipy.stats as stats + from libpysal.weights.spatial_lag import lag_spatial as slag from libpysal.weights.util import fill_diagonal diff --git a/esda/smoothing.py b/esda/smoothing.py index 1cebbd9c..9707afaa 100644 --- a/esda/smoothing.py +++ b/esda/smoothing.py @@ -23,7 +23,10 @@ import warnings from functools import reduce +import numpy as np + from libpysal.cg import ( + KDTree, LineSegment, Point, Ray, @@ -34,7 +37,6 @@ get_points_dist, get_segment_point_dist, ) -from libpysal.common import KDTree, np from libpysal.common import requires as _requires from libpysal.weights.distance import Kernel from libpysal.weights.spatial_lag import lag_spatial as slag From 247a1b988cf8e531381cbdc46a6620bdda2b6b97 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Mon, 23 Oct 2023 23:16:31 -0400 Subject: [PATCH 3/4] codecov GHA v3 --- .github/workflows/testing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 1e485a12..f14b0c1a 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -82,7 +82,7 @@ ${{ env.RUN_TEST }} - name: ${{ matrix.os }}, ${{ matrix.environment-file }} - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml From 2aba5ae18c51ede8681551be994bc6ef8b3ff176 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Tue, 24 Oct 2023 09:08:46 -0400 Subject: [PATCH 4/4] Update esda/getisord.py Co-authored-by: Martin Fleischmann --- esda/getisord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esda/getisord.py b/esda/getisord.py index bec973ed..dfac2872 100644 --- a/esda/getisord.py +++ b/esda/getisord.py @@ -7,7 +7,7 @@ import warnings import numpy as np -import scipy.stats as stats +from scipy import stats from libpysal.weights.spatial_lag import lag_spatial as slag from libpysal.weights.util import fill_diagonal