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
17 changes: 16 additions & 1 deletion libraries/microsoft-agents-a365-notifications/setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import sys
from pathlib import Path
from os import environ
from setuptools import setup

# Get version from environment variable set by CI/CD
# This will be set by setuptools-git-versioning in the CI pipeline
package_version = environ.get("AGENT365_PYTHON_SDK_PACKAGE_VERSION", "0.0.0")

# Add versioning helper to path
helper_path = Path(__file__).parent.parent.parent / "versioning" / "helper"
sys.path.insert(0, str(helper_path))

from setup_utils import get_dynamic_dependencies

# Use minimum version strategy:
# - Internal packages get: >= current_base_version (e.g., >= 0.1.0)
# - Automatically updates when you build new versions
# - Consumers can upgrade to any higher version
setup(
version=package_version,
install_requires=get_dynamic_dependencies(
use_compatible_release=False, # No upper bound
use_exact_match=False, # Not exact match
),
)
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies = [
"opentelemetry-exporter-otlp >= 1.36.0",
"pydantic >= 2.0.0",
"typing-extensions >= 4.0.0",
"microsoft-agents-a365-runtime >= 0.1.0"
"microsoft-agents-a365-runtime >= 0.0.0"
]

[project.urls]
Expand Down
17 changes: 16 additions & 1 deletion libraries/microsoft-agents-a365-observability-core/setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import sys
from pathlib import Path
from os import environ
from setuptools import setup

# Get version from environment variable set by CI/CD
# This will be set by setuptools-git-versioning in the CI pipeline
package_version = environ.get("AGENT365_PYTHON_SDK_PACKAGE_VERSION", "0.0.0")

# Add versioning helper to path
helper_path = Path(__file__).parent.parent.parent / "versioning" / "helper"
sys.path.insert(0, str(helper_path))

from setup_utils import get_dynamic_dependencies

# Use minimum version strategy:
# - Internal packages get: >= current_base_version (e.g., >= 0.1.0)
# - Automatically updates when you build new versions
# - Consumers can upgrade to any higher version
setup(
version=package_version,
install_requires=get_dynamic_dependencies(
use_compatible_release=False, # No upper bound
use_exact_match=False, # Not exact match
),
)
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
license = "MIT"
keywords = ["observability", "telemetry", "tracing", "opentelemetry", "agent-framework", "agents", "ai"]
dependencies = [
"microsoft-agents-a365-observability-core >= 0.1.0",
"microsoft-agents-a365-observability-core >= 0.0.0",
"opentelemetry-api >= 1.36.0",
"opentelemetry-sdk >= 1.36.0",
"opentelemetry-instrumentation >= 0.47b0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import sys
from pathlib import Path
from os import environ
from setuptools import setup

# Get version from environment variable set by CI/CD
# This will be set by setuptools-git-versioning in the CI pipeline
package_version = environ.get("AGENT365_PYTHON_SDK_PACKAGE_VERSION", "0.0.0")

# Add versioning helper to path
helper_path = Path(__file__).parent.parent.parent / "versioning" / "helper"
sys.path.insert(0, str(helper_path))

from setup_utils import get_dynamic_dependencies

# Use minimum version strategy:
# - Internal packages get: >= current_base_version (e.g., >= 0.1.0)
# - Automatically updates when you build new versions
# - Consumers can upgrade to any higher version
setup(
version=package_version,
install_requires=get_dynamic_dependencies(
use_compatible_release=False, # No upper bound
use_exact_match=False, # Not exact match
),
)
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
license = {text = "MIT"}
keywords = ["observability", "telemetry", "tracing", "opentelemetry", "langchain", "agents", "ai"]
dependencies = [
"microsoft-agents-a365-observability-core >= 0.1.0",
"microsoft-agents-a365-observability-core >= 0.0.0",
"langchain >= 0.1.0",
"langchain-core >= 0.1.0",
"opentelemetry-api >= 1.36.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import sys
from pathlib import Path
from os import environ
from setuptools import setup

# Get version from environment variable set by CI/CD
# This will be set by setuptools-git-versioning in the CI pipeline
package_version = environ.get("AGENT365_PYTHON_SDK_PACKAGE_VERSION", "0.0.0")

# Add versioning helper to path
helper_path = Path(__file__).parent.parent.parent / "versioning" / "helper"
sys.path.insert(0, str(helper_path))

from setup_utils import get_dynamic_dependencies

# Use minimum version strategy:
# - Internal packages get: >= current_base_version (e.g., >= 0.1.0)
# - Automatically updates when you build new versions
# - Consumers can upgrade to any higher version
setup(
version=package_version,
install_requires=get_dynamic_dependencies(
use_compatible_release=False, # No upper bound
use_exact_match=False, # Not exact match
),
)
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
license = {text = "MIT"}
keywords = ["observability", "telemetry", "tracing", "opentelemetry", "openai", "agents", "ai"]
dependencies = [
"microsoft-agents-a365-observability-core >= 0.1.0",
"microsoft-agents-a365-observability-core >= 0.0.0",
"openai-agents >= 0.2.6",
"opentelemetry-api >= 1.36.0",
"opentelemetry-sdk >= 1.36.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import sys
from pathlib import Path
from os import environ
from setuptools import setup

# Get version from environment variable set by CI/CD
# This will be set by setuptools-git-versioning in the CI pipeline
package_version = environ.get("AGENT365_PYTHON_SDK_PACKAGE_VERSION", "0.0.0")

# Add versioning helper to path
helper_path = Path(__file__).parent.parent.parent / "versioning" / "helper"
sys.path.insert(0, str(helper_path))

from setup_utils import get_dynamic_dependencies

# Use minimum version strategy:
# - Internal packages get: >= current_base_version (e.g., >= 0.1.0)
# - Automatically updates when you build new versions
# - Consumers can upgrade to any higher version
setup(
version=package_version,
install_requires=get_dynamic_dependencies(
use_compatible_release=False, # No upper bound
use_exact_match=False, # Not exact match
),
)
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ classifiers = [
]
license = {text = "MIT"}
keywords = ["observability", "telemetry", "tracing", "opentelemetry", "semantic-kernel", "agents", "ai"]
# Note: Internal package versions (microsoft-agents-a365-*) are automatically set at build time
# The placeholder below will be replaced with >= {current_version} by setup.py
dependencies = [
"microsoft-agents-a365-observability-core >= 0.1.0",
"microsoft-agents-a365-observability-core >= 0.0.0",
"semantic-kernel >= 1.0.0",
"opentelemetry-api >= 1.36.0",
"opentelemetry-sdk >= 1.36.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import sys
from pathlib import Path
from os import environ
from setuptools import setup

# Get version from environment variable set by CI/CD
# This will be set by setuptools-git-versioning in the CI pipeline
package_version = environ.get("AGENT365_PYTHON_SDK_PACKAGE_VERSION", "0.0.0")

# Add versioning helper to path
helper_path = Path(__file__).parent.parent.parent / "versioning" / "helper"
sys.path.insert(0, str(helper_path))

from setup_utils import get_dynamic_dependencies

# Use minimum version strategy:
# - Internal packages get: >= current_base_version (e.g., >= 0.1.0)
# - Automatically updates when you build new versions
# - Consumers can upgrade to any higher version
setup(
version=package_version,
install_requires=get_dynamic_dependencies(
use_compatible_release=False, # No upper bound
use_exact_match=False, # Not exact match
),
)
17 changes: 16 additions & 1 deletion libraries/microsoft-agents-a365-runtime/setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import sys
from pathlib import Path
from os import environ
from setuptools import setup

# Get version from environment variable set by CI/CD
# This will be set by setuptools-git-versioning in the CI pipeline
package_version = environ.get("AGENT365_PYTHON_SDK_PACKAGE_VERSION", "0.0.0")

# Add versioning helper to path
helper_path = Path(__file__).parent.parent.parent / "versioning" / "helper"
sys.path.insert(0, str(helper_path))

from setup_utils import get_dynamic_dependencies

# Use minimum version strategy:
# - Internal packages get: >= current_base_version (e.g., >= 0.1.0)
# - Automatically updates when you build new versions
# - Consumers can upgrade to any higher version
setup(
version=package_version,
install_requires=get_dynamic_dependencies(
use_compatible_release=False, # No upper bound
use_exact_match=False, # Not exact match
),
)
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ classifiers = [
]
license = {text = "MIT"}
dependencies = [
"microsoft-agents-a365-tooling >= 0.1.0",
"microsoft-agents-a365-tooling >= 0.0.0",
"microsoft-agents-hosting-core >= 0.4.0, < 0.6.0",
"agent-framework-azure-ai >= 0.1.0",
"azure-identity >= 1.12.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import sys
from pathlib import Path
from os import environ
from setuptools import setup

# Get version from environment variable set by CI/CD
# This will be set by setuptools-git-versioning in the CI pipeline
package_version = environ.get("AGENT365_PYTHON_SDK_PACKAGE_VERSION", "0.0.0")

# Add versioning helper to path
helper_path = Path(__file__).parent.parent.parent / "versioning" / "helper"
sys.path.insert(0, str(helper_path))

from setup_utils import get_dynamic_dependencies

# Use minimum version strategy:
# - Internal packages get: >= current_base_version (e.g., >= 0.1.0)
# - Automatically updates when you build new versions
# - Consumers can upgrade to any higher version
setup(
version=package_version,
install_requires=get_dynamic_dependencies(
use_compatible_release=False, # No upper bound
use_exact_match=False, # Not exact match
),
)
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ classifiers = [
]
license = {text = "MIT"}
dependencies = [
"microsoft-agents-a365-tooling >= 0.1.0",
"microsoft-agents-a365-tooling >= 0.0.0",
"azure-ai-projects >= 1.0.0",
"azure-ai-agents >= 1.0.0b251001",
"azure-identity >= 1.12.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import sys
from pathlib import Path
from os import environ
from setuptools import setup

# Get version from environment variable set by CI/CD
# This will be set by setuptools-git-versioning in the CI pipeline
package_version = environ.get("AGENT365_PYTHON_SDK_PACKAGE_VERSION", "0.0.0")

# Add versioning helper to path
helper_path = Path(__file__).parent.parent.parent / "versioning" / "helper"
sys.path.insert(0, str(helper_path))

from setup_utils import get_dynamic_dependencies

# Use minimum version strategy:
# - Internal packages get: >= current_base_version (e.g., >= 0.1.0)
# - Automatically updates when you build new versions
# - Consumers can upgrade to any higher version
setup(
version=package_version,
install_requires=get_dynamic_dependencies(
use_compatible_release=False, # No upper bound
use_exact_match=False, # Not exact match
),
)
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ classifiers = [
]
license = {text = "MIT"}
dependencies = [
"microsoft-agents-a365-tooling >= 0.1.0",
"microsoft-agents-a365-tooling >= 0.0.0",
"openai-agents",
"asyncio-throttle",
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import sys
from pathlib import Path
from os import environ
from setuptools import setup

# Get version from environment variable set by CI/CD
# This will be set by setuptools-git-versioning in the CI pipeline
package_version = environ.get("AGENT365_PYTHON_SDK_PACKAGE_VERSION", "0.0.0")

# Add versioning helper to path
helper_path = Path(__file__).parent.parent.parent / "versioning" / "helper"
sys.path.insert(0, str(helper_path))

from setup_utils import get_dynamic_dependencies

# Use minimum version strategy:
# - Internal packages get: >= current_base_version (e.g., >= 0.1.0)
# - Automatically updates when you build new versions
# - Consumers can upgrade to any higher version
setup(
version=package_version,
install_requires=get_dynamic_dependencies(
use_compatible_release=False, # No upper bound
use_exact_match=False, # Not exact match
),
)
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ classifiers = [
]
license = {text = "MIT"}
dependencies = [
"microsoft-agents-a365-tooling >= 0.1.0",
"microsoft-agents-a365-tooling >= 0.0.0",
"semantic-kernel >= 1.0.0",
"aiohttp >= 3.8.0",
]
Expand Down
Loading
Loading