Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: bump the major-dependencies group with 2 updates #96

Merged
merged 3 commits into from
Jul 8, 2024
Merged
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 setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
keywords=["gis"],
install_requires=[
"arcgis==2.3.*",
"geopandas==0.14.*",
"geopandas>=0.14,<1.1",
"geodatasets==2023.12.*",
"pg8000>=1.29,<1.32",
"psycopg2-binary==2.9.*",
"pygsheets==2.0.*",
"pyogrio>=0.9.0,<0.10",
"pysftp==0.2.9",
"SQLAlchemy>=1.4,<2.1",
],
Expand Down
7 changes: 3 additions & 4 deletions tests/test_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
from datetime import datetime, timedelta
from pathlib import Path

import geodatasets
import geopandas as gpd
import numpy as np
import pandas as pd
import pytest
import requests
import requests_mock
import ujson
from pandas import testing as tm

from palletjack import extract
from pandas import testing as tm


class TestGSheetsLoader:
Expand Down Expand Up @@ -622,9 +622,8 @@ class TestPostgresLoader:
def test_get_postgres_connection(self, mocker):

mocker.patch.object(
gpd, "read_postgis", return_value=gpd.read_file(gpd.datasets.get_path("naturalearth_lowres"))
gpd, "read_postgis", return_value=gpd.read_file(geodatasets.get_path("naturalearth land"))
)

loader = extract.PostgresLoader("host", "app", "user", "password")
dataframe = loader.read_table_into_dataframe("table", "name", "4326", "geometry")

Expand Down
Loading