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

Relax python-dotenv Version #133

Merged
merged 5 commits into from
May 14, 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
10 changes: 5 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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]
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/peopledatalabs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
from .main import PDLPY


__version__ = "3.0.10"
__version__ = "3.1.0"

__all__ = ["PDLPY"]
2 changes: 1 addition & 1 deletion tests/client/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
6 changes: 2 additions & 4 deletions tests/sandbox/person/test_sandbox_identify.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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"],
)