Skip to content
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
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 ~= 2.6.1
urllib3 ~= 2.8
4 changes: 2 additions & 2 deletions .openapi-generator/custom_templates/setup.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ VERSION = "{{packageVersion}}"
# http://pypi.python.org/pypi/setuptools

REQUIRES = [
"urllib3 >= 2.6.1",
"urllib3 >= 2.8.0",
"python-dateutil",
{{#asyncio}}
"aiohttp >= 3.0.0",
Expand All @@ -41,7 +41,7 @@ setup(
author_email="{{infoEmail}}{{^infoEmail}}team@openapitools.org{{/infoEmail}}",
url="{{packageUrl}}",
keywords=["OpenAPI", "OpenAPI-Generator", "{{{appName}}}"],
python_requires=">=3.6",
python_requires=">=3.10",
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
Expand Down
2 changes: 1 addition & 1 deletion gooddata-api-client/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
python_dateutil >= 2.5.3
setuptools >= 21.0.0
urllib3 ~= 2.6.1
urllib3 ~= 2.8
4 changes: 2 additions & 2 deletions gooddata-api-client/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# http://pypi.python.org/pypi/setuptools

REQUIRES = [
"urllib3 >= 2.6.1",
"urllib3 >= 2.8.0",
"python-dateutil",
]

Expand All @@ -37,7 +37,7 @@
author_email="support@gooddata.com",
url="",
keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI definition"],
python_requires=">=3.6",
python_requires=">=3.10",
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
Expand Down
3 changes: 3 additions & 0 deletions packages/gooddata-dbt/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,6 @@ source = [
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.pytest]
strict = true
3 changes: 3 additions & 0 deletions packages/gooddata-eval/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@ allowed-unresolved-imports = ["openai.**", "gooddata_api_client.**"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.pytest]
strict = true
5 changes: 4 additions & 1 deletion packages/gooddata-fdw/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test = [
"pytest-json-report==1.5.0",
"vcrpy~=8.3.0",
# TODO - Bump the version together with bumping the version of openapi generator
"urllib3~=2.7.0",
"urllib3~=2.8",
"pyyaml",
"tests_support",
]
Expand All @@ -77,3 +77,6 @@ source = [
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.pytest]
strict = true
3 changes: 3 additions & 0 deletions packages/gooddata-flexconnect/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,6 @@ source = [
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.pytest]
strict = true
3 changes: 3 additions & 0 deletions packages/gooddata-flight-server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,6 @@ source = [
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.pytest]
strict = true
5 changes: 4 additions & 1 deletion packages/gooddata-pandas/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test = [
"pytest-snapshot==0.9.0",
"pytest-order~=1.5.0",
"vcrpy~=8.3.0",
"urllib3~=2.7.0",
"urllib3~=2.8",
"python-dotenv~=1.2.3",
"pyyaml",
"tests_support",
Expand All @@ -88,3 +88,6 @@ source = [
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.pytest]
strict = true
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@

index_types = [
# reference to the columns key
"region",
dict(reg="region"),
pytest.param("region", id="column_key"),
pytest.param(dict(reg="region"), id="column_key_dict"),
# label_id, i.e. obj id without "label/" prefix - index can reference only attributes
"region",
dict(region="region"),
pytest.param("region", id="label_id"),
pytest.param(dict(region="region"), id="label_id_dict"),
# object identifier in string form
"label/region",
dict(reg="label/region"),
pytest.param("label/region", id="obj_id_str"),
pytest.param(dict(reg="label/region"), id="obj_id_str_dict"),
# Attribute instance
Attribute(local_id="abcd", label=ObjId(id="region", type="label")),
dict(region=Attribute(local_id="abcd", label=ObjId(id="region", type="label"))),
pytest.param(Attribute(local_id="abcd", label=ObjId(id="region", type="label")), id="attribute"),
pytest.param(dict(region=Attribute(local_id="abcd", label=ObjId(id="region", type="label"))), id="attribute_dict"),
# ObjId instance
ObjId(id="region", type="label"),
dict(region=ObjId(id="region", type="label")),
pytest.param(ObjId(id="region", type="label"), id="obj_id"),
pytest.param(dict(region=ObjId(id="region", type="label")), id="obj_id_dict"),
]


Expand Down
5 changes: 4 additions & 1 deletion packages/gooddata-pipelines/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"pydantic (>=2.9.2,<3.0.0)",
"requests (>=2.32.3,<3.0.0)",
"requests (>=2.33.0,<3.0.0)",
"types-requests (>1.0.0,<3.0.0)",
"gooddata-sdk~=1.76.0",
"boto3 (>=1.39.3,<2.0.0)",
Expand Down Expand Up @@ -44,3 +44,6 @@ source = [
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.pytest]
strict = true
7 changes: 5 additions & 2 deletions packages/gooddata-sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies = [
"cattrs>=22.1.0,<=26.1.0",
"brotli==1.2.0",
"requests>=2.33.0,<3.0.0",
"python-dotenv>=1.0.0,<2.0.0",
"python-dotenv>=1.2.2,<2.0.0",
"gooddata-code-convertors>=11.57.0",
]
classifiers = [
Expand Down Expand Up @@ -68,7 +68,7 @@ test = [
"pytest-snapshot==0.9.0",
"pytest-order~=1.5.0",
"vcrpy~=8.3.0",
"urllib3~=2.7.0",
"urllib3~=2.8",
"python-dotenv~=1.2.3",
"deepdiff~=9.1.0",
"tests_support",
Expand All @@ -93,3 +93,6 @@ source = [
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.pytest]
strict = true
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import copy
from pathlib import Path

import pytest
from gooddata_sdk import (
CatalogAssigneeIdentifier,
CatalogDeclarativeUser,
Expand Down Expand Up @@ -581,7 +580,6 @@ def test_user_replace_user_groups(test_config):
assert user_2.user_groups == user_groups


@pytest.mark.dependency(name="test_get_user_permissions")
@gd_vcr.use_cassette(str(_fixtures_dir / "test_get_user_permissions.yaml"))
def test_get_user_permissions(test_config):
"""Test retrieving user permissions.
Expand Down Expand Up @@ -644,7 +642,6 @@ def test_manage_user_permissions(test_config):
safe_delete(sdk.catalog_user.manage_user_permissions, user_id, origin_permissions)


@pytest.mark.dependency(name="test_get_user_group_permissions")
@gd_vcr.use_cassette(str(_fixtures_dir / "test_get_user_group_permissions.yaml"))
def test_get_user_group_permissions(test_config):
"""Test retrieving user group permissions.
Expand Down
40 changes: 21 additions & 19 deletions uv.lock

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

Loading