Skip to content
Closed
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
13 changes: 8 additions & 5 deletions src/visier_platform_sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
[tool.poetry]
name = "visier_platform_sdk"
version = "22222222.99201.1926"
version = "22222222.99201.1926.beta2"
description = "API Reference"
authors = ["Visier <alpine@visier.com>"]
license = "Apache License, Version 2.0"
readme = "README.md"
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
keywords = ["OpenAPI", "OpenAPI-Generator", "API Reference"]
repository = "https://github.com/visier/python-sdk"
keywords = ["Visier", "Visier-SDK", "API Reference"]
include = ["visier_platform_sdk/py.typed"]

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.10"

urllib3 = ">= 2.1.0, < 3.0.0"
# Workaround to fix urllib3 version conflict with `vcrpy` while using `uv` and `poetry`
urllib3 = ">= 2.1.0, < 3.0.0; platform_python_implementation !='PyPy'"
urllib3 = "<2; platform_python_implementation =='PyPy'"
python-dateutil = ">= 2.8.2"
pydantic = ">= 2"
typing-extensions = ">= 4.7.1"
Flask = ">= 3.0.0"

[tool.poetry.dev-dependencies]
pytest = ">= 7.2.1"
Expand Down
5 changes: 4 additions & 1 deletion src/visier_platform_sdk/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
urllib3 >= 2.1.0, < 3.0.0
# Workaround to fix urllib3 version conflict with `vcrpy` while using `uv` and `poetry`
urllib3 <2; platform_python_implementation =='PyPy'
urllib3 >= 2.1.0, < 3.0.0; platform_python_implementation !='PyPy'
python_dateutil >= 2.8.2
pydantic >= 2
typing-extensions >= 4.7.1
Flask >= 3.0.0
14 changes: 9 additions & 5 deletions src/visier_platform_sdk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "visier-platform-sdk"
VERSION = "22222222.99201.1926"
PYTHON_REQUIRES = ">= 3.9"
VERSION = "22222222.99201.1926.beta2"
PYTHON_REQUIRES = ">= 3.10"
REQUIRES = [
"urllib3 >= 2.1.0, < 3.0.0",
# Workaround to fix urllib3 version conflict with `vcrpy` while using `uv` and `poetry`.
# description is here: https://github.com/kevin1024/vcrpy/pull/826
"urllib3 <2; platform_python_implementation =='PyPy'",
"urllib3 >= 2.1.0, < 3.0.0; platform_python_implementation !='PyPy'",
"python-dateutil >= 2.8.2",
"Flask >= 3.0.0",
"pydantic >= 2",
"typing-extensions >= 4.7.1",
]
Expand All @@ -37,8 +41,8 @@
description="API Reference",
author="Visier",
author_email="alpine@visier.com",
url="",
keywords=["OpenAPI", "OpenAPI-Generator", "API Reference"],
url="https://github.com/visier/python-sdk",
keywords=["Visier", "Visier-SDK", "API Reference"],
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
Expand Down
2 changes: 1 addition & 1 deletion src/visier_platform_sdk/visier_platform_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "22222222.99201.1926"
__version__ = "22222222.99201.1926.beta2"

# import apis into sdk package
from visier_platform_sdk.api.basic_authentication_api import BasicAuthenticationApi
Expand Down
2 changes: 1 addition & 1 deletion src/visier_platform_sdk/visier_platform_sdk/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __init__(
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Visier-SDK/22222222.99201.1926/python'
self.user_agent = 'Visier-SDK/22222222.99201.1926.beta2/python'
self.client_side_validation = configuration.client_side_validation
self.auth_retries = auth_retries

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 22222222.99201.1926\n"\
"SDK Package Version: 22222222.99201.1926".\
"SDK Package Version: 22222222.99201.1926.beta2".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
Loading