diff --git a/poetry.lock b/poetry.lock index 6061f2f..02fdcfc 100644 --- a/poetry.lock +++ b/poetry.lock @@ -713,14 +713,14 @@ dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments [[package]] name = "python-dotenv" -version = "0.21.1" +version = "1.0.1" description = "Read key-value pairs from a .env file and set them as environment variables" category = "main" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "python-dotenv-0.21.1.tar.gz", hash = "sha256:1c93de8f636cde3ce377292818d0e440b6e45a82f215c3744979151fa8151c49"}, - {file = "python_dotenv-0.21.1-py3-none-any.whl", hash = "sha256:41e12e0318bebc859fcc4d97d4db8d20ad21721a6aa5047dd59f090391cb549a"}, + {file = "python-dotenv-1.0.1.tar.gz", hash = "sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca"}, + {file = "python_dotenv-1.0.1-py3-none-any.whl", hash = "sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a"}, ] [package.extras] @@ -843,4 +843,4 @@ zstd = ["zstandard (>=0.18.0)"] [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "59e7207149f1eb2ba7f0b0936c7040a4549c6cdb25e540041b9672e08e939009" +content-hash = "13991724c8773e800e6ee7654fd38cf6de6ee9d735538b54d7f4c7ac668e77aa" diff --git a/pyproject.toml b/pyproject.toml index 0a00a99..2bf8d8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "peopledatalabs" -version = "3.0.10" +version = "3.1.0" description = "Official Python client for the People Data Labs API" homepage = "https://www.peopledatalabs.com" repository = "https://github.com/peopledatalabs/peopledatalabs-python" @@ -31,7 +31,7 @@ classifiers = [ python = "^3.8" email-validator = ">=1.1,<3.0" pydantic = "^2" -python-dotenv = "^0" +python-dotenv = "<2" requests = "^2" [tool.poetry.dev-dependencies] diff --git a/requirements.txt b/requirements.txt index 35bb312..0df742d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -187,9 +187,9 @@ pydantic-core==2.18.2 ; python_version >= "3.8" and python_version < "4.0" \ pydantic==2.7.1 ; python_version >= "3.8" and python_version < "4.0" \ --hash=sha256:e029badca45266732a9a79898a15ae2e8b14840b1eabbb25844be28f0b33f3d5 \ --hash=sha256:e9dbb5eada8abe4d9ae5f46b9939aead650cd2b68f249bb3a8139dbe125803cc -python-dotenv==0.21.1 ; python_version >= "3.8" and python_version < "4.0" \ - --hash=sha256:1c93de8f636cde3ce377292818d0e440b6e45a82f215c3744979151fa8151c49 \ - --hash=sha256:41e12e0318bebc859fcc4d97d4db8d20ad21721a6aa5047dd59f090391cb549a +python-dotenv==1.0.1 ; python_version >= "3.8" and python_version < "4.0" \ + --hash=sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca \ + --hash=sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a requests==2.31.0 ; python_version >= "3.8" and python_version < "4.0" \ --hash=sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f \ --hash=sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1 diff --git a/requirements_dev.txt b/requirements_dev.txt index c8c0384..ef8211d 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -323,9 +323,9 @@ pylint==3.1.0 ; python_version >= "3.8" and python_version < "4.0" \ pytest==8.2.0 ; python_version >= "3.8" and python_version < "4.0" \ --hash=sha256:1733f0620f6cda4095bbf0d9ff8022486e91892245bb9e7d5542c018f612f233 \ --hash=sha256:d507d4482197eac0ba2bae2e9babf0672eb333017bcedaa5fb1a3d42c1174b3f -python-dotenv==0.21.1 ; python_version >= "3.8" and python_version < "4.0" \ - --hash=sha256:1c93de8f636cde3ce377292818d0e440b6e45a82f215c3744979151fa8151c49 \ - --hash=sha256:41e12e0318bebc859fcc4d97d4db8d20ad21721a6aa5047dd59f090391cb549a +python-dotenv==1.0.1 ; python_version >= "3.8" and python_version < "4.0" \ + --hash=sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca \ + --hash=sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a pyupgrade==3.8.0 ; python_version >= "3.8" and python_version < "4.0" \ --hash=sha256:08d0e6129f5e9da7e7a581bdbea689e0d49c3c93eeaf156a07ae2fd794f52660 \ --hash=sha256:1facb0b8407cca468dfcc1d13717e3a85aa37b9e6e7338664ad5bfe5ef50c867 diff --git a/src/peopledatalabs/__init__.py b/src/peopledatalabs/__init__.py index 9cf9b14..0bd8c9b 100644 --- a/src/peopledatalabs/__init__.py +++ b/src/peopledatalabs/__init__.py @@ -5,6 +5,6 @@ from .main import PDLPY -__version__ = "3.0.10" +__version__ = "3.1.0" __all__ = ["PDLPY"] diff --git a/tests/client/test_client.py b/tests/client/test_client.py index 17b0b68..4ddffdb 100644 --- a/tests/client/test_client.py +++ b/tests/client/test_client.py @@ -19,7 +19,7 @@ def test_version(): """ Version check. """ - assert __version__ == "3.0.10" + assert __version__ == "3.1.0" @pytest.mark.usefixtures("fake_api_key") diff --git a/tests/sandbox/person/test_sandbox_identify.py b/tests/sandbox/person/test_sandbox_identify.py index d16aee2..58b9294 100644 --- a/tests/sandbox/person/test_sandbox_identify.py +++ b/tests/sandbox/person/test_sandbox_identify.py @@ -31,9 +31,7 @@ def test_api_endpoint_sandbox_identify(client_sandbox_enabled): """ Tests successful execution of identify API. """ - identified = client_sandbox_enabled.person.identify( - company="browning-willis" - ) + identified = client_sandbox_enabled.person.identify(company="adams group") assert isinstance(identified, requests.Response) assert identified.status_code == 200 assert "matches" in identified.json() @@ -48,5 +46,5 @@ def test_api_endpoint_sandbox_identify_list_values_raise_validation_error( """ with pytest.raises(ValidationError): client_sandbox_enabled.person.identify( - company=["browning-willis"], + company=["adams group"], )