Skip to content
Open
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
12 changes: 6 additions & 6 deletions integration/test_tenant_mgt.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ def test_update_tenant():
tenant = tenant_mgt.create_tenant(
display_name='py-update-test', allow_password_sign_up=True, enable_email_link_sign_in=True)
try:
tenant = tenant_mgt.update_tenant(
updated_tenant = tenant_mgt.update_tenant(
tenant.tenant_id, display_name='updated-py-tenant', allow_password_sign_up=False,
enable_email_link_sign_in=False)
assert isinstance(tenant, tenant_mgt.Tenant)
assert tenant.tenant_id == tenant.tenant_id
assert tenant.display_name == 'updated-py-tenant'
assert tenant.allow_password_sign_up is False
assert tenant.enable_email_link_sign_in is False
assert isinstance(updated_tenant, tenant_mgt.Tenant)
assert updated_tenant.tenant_id == tenant.tenant_id
assert updated_tenant.display_name == 'updated-py-tenant'
assert updated_tenant.allow_password_sign_up is False
assert updated_tenant.enable_email_link_sign_in is False
finally:
tenant_mgt.delete_tenant(tenant.tenant_id)

Expand Down
26 changes: 13 additions & 13 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
astroid == 3.3.11
pylint == 3.3.9
pytest >= 8.4.2
pytest-cov >= 2.4.0
astroid == 4.3.4
pylint == 4.1.3
pytest >= 9.2.0
pytest-cov >= 7.1.0
Comment on lines +1 to +4

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The specified versions for astroid (4.3.4), pylint (4.1.3), pytest (9.2.0), and pytest-cov (7.1.0) do not exist on PyPI. The current stable major versions are astroid 3.x, pylint 3.x, pytest 8.x, and pytest-cov 6.x. Using non-existent versions will cause installation and CI/CD failures.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gemini-code-assist The latest astroid v4.3.4 (released on Oct 8, exists)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the confusion. You are correct that astroid 3.x and 4.x versions exist. My previous assessment was based on a stale index. Thank you for the clarification.

pytest-localserver >= 0.10.0
pytest-asyncio >= 0.26.0
pytest-mock >= 3.15.1
pytest-asyncio >= 1.4.1
pytest-mock >= 3.17.0
Comment on lines +6 to +7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The specified versions for pytest-asyncio (1.4.1) and pytest-mock (3.17.0) do not exist on PyPI. The current stable versions are pytest-asyncio 0.25.x and pytest-mock 3.14.x. Using non-existent versions will cause installation and CI/CD failures.

respx == 0.23.1

cachecontrol >= 0.14.3
google-api-core[grpc] >= 2.25.1, < 3.0.0dev; platform.python_implementation != 'PyPy'
google-cloud-firestore >= 2.27.0; platform.python_implementation != 'PyPy'
google-cloud-storage >= 3.1.1
pyjwt[crypto] >= 2.12.1
cryptography < 44.0.0; platform.python_implementation == 'PyPy' and python_version < '3.11'
httpx[http2] == 0.28.1
cachecontrol >= 0.14.4
google-api-core[grpc] >= 2.44.0, < 3.0.0dev; platform.python_implementation != 'PyPy'
google-cloud-firestore >= 2.34.1; platform.python_implementation != 'PyPy'
google-cloud-storage >= 3.17.1
pyjwt[crypto] >= 2.15.1
cryptography >= 50.0.2
Comment on lines +11 to +15

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

Several of the specified runtime dependency versions do not exist on PyPI:\n- google-cloud-firestore>=2.34.1 (current stable is 2.19.x)\n- google-cloud-storage>=3.17.1 (current stable is 2.19.x)\n- pyjwt[crypto]>=2.15.1 (current stable is 2.10.x)\n- cryptography>=50.0.2 (current stable is 44.x)\n\nUsing non-existent versions will cause installation failures.

httpx[http2] == 0.28.1
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[tool:pytest]
testpaths = tests
asyncio_default_fixture_loop_scope = function
asyncio_default_test_loop_scope = class
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
long_description = ('The Firebase Admin Python SDK enables server-side (backend) Python developers '
'to integrate Firebase into their services and applications.')
install_requires = [
'cachecontrol>=0.14.3',
'google-api-core[grpc] >= 2.25.1, < 3.0.0dev; platform.python_implementation != "PyPy"',
'google-cloud-firestore>=2.21.0; platform.python_implementation != "PyPy"',
'google-cloud-storage>=3.1.1',
'pyjwt[crypto] >= 2.10.1',
'cryptography < 44.0.0; platform.python_implementation == "PyPy" and python_version < "3.11"',
'cachecontrol>=0.14.4',
'google-api-core[grpc] >= 2.44.0, < 3.0.0dev; platform.python_implementation != "PyPy"',
'google-cloud-firestore>=2.34.1; platform.python_implementation != "PyPy"',
'google-cloud-storage>=3.17.1',
'pyjwt[crypto] >= 2.15.1',
'cryptography >= 50.0.2',
Comment on lines +41 to +45

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

Several of the specified runtime dependency versions in install_requires do not exist on PyPI:\n- google-api-core[grpc] >= 2.44.0 (current stable is 2.24.x)\n- google-cloud-firestore >= 2.34.1 (current stable is 2.19.x)\n- google-cloud-storage >= 3.17.1 (current stable is 2.19.x)\n- pyjwt[crypto] >= 2.15.1 (current stable is 2.10.x)\n- cryptography >= 50.0.2 (current stable is 44.x)\n\nUsing non-existent versions will cause installation failures for downstream users of this library.

'httpx[http2] == 0.28.1',
]

Expand Down
Loading