Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
uses: actions/checkout@v4

- name: Get dependencies from apt (cache)
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@v1.4.3
if: runner.os == 'Linux'
with:
packages: build-essential cmake postgresql-server-dev-14 libproj-dev libjson-c-dev libgsl-dev libgeos-dev
packages: build-essential cmake postgresql-server-dev-16 libproj-dev libjson-c-dev libgsl-dev libgeos-dev
version: 1.0

- name: Get dependencies from homebrew (cache)
Expand Down
4 changes: 1 addition & 3 deletions pymeos/collections/time/datespan.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,9 +470,7 @@ def distance(self, other: TimeDate) -> timedelta:
elif isinstance(other, DateSet):
return self.distance(other.to_spanset())
elif isinstance(other, DateSpan):
return timedelta(
days=distance_datespan_datespan(self._inner, other._inner)
)
return timedelta(days=distance_datespan_datespan(self._inner, other._inner))
elif isinstance(other, DateSpanSet):
return timedelta(
days=distance_datespanset_datespan(self._inner, other._inner)
Expand Down
Loading