diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7de845654..f991b414a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -207,8 +207,11 @@ jobs: with: python-version: "3.11" - run: | - uv sync --locked --all-extras + uv venv --python=3.11 source .venv/bin/activate + # Only pin version to ensure compatibility + uv pip install -U 'setuptools-scm>=8.1' + uv sync --locked --all-extras poe --directory ${{ matrix.version.poe-dir }} docs-build mkdir -p docs-staging/${{ matrix.version.dest-dir }}/ mv ${{ matrix.version.poe-dir }}/docs/build/* docs-staging/${{ matrix.version.dest-dir }}/ diff --git a/python/packages/autogen-agentchat/pyproject.toml b/python/packages/autogen-agentchat/pyproject.toml index 091a63a49..978989805 100644 --- a/python/packages/autogen-agentchat/pyproject.toml +++ b/python/packages/autogen-agentchat/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "autogen-agentchat" -version = "0.7.1" +version = "0.7.2" license = {file = "LICENSE-CODE"} description = "AutoGen agents and teams library" readme = "README.md" @@ -15,7 +15,7 @@ classifiers = [ "Operating System :: OS Independent", ] dependencies = [ - "autogen-core==0.7.1", + "autogen-core==0.7.2", ] [tool.ruff] diff --git a/python/packages/autogen-core/pyproject.toml b/python/packages/autogen-core/pyproject.toml index 83d5d0700..5d261d039 100644 --- a/python/packages/autogen-core/pyproject.toml +++ b/python/packages/autogen-core/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "autogen-core" -version = "0.7.1" +version = "0.7.2" license = {file = "LICENSE-CODE"} description = "Foundational interfaces and agent runtime implementation for AutoGen" readme = "README.md" diff --git a/python/packages/autogen-ext/pyproject.toml b/python/packages/autogen-ext/pyproject.toml index c1b3a73e8..d68bd0460 100644 --- a/python/packages/autogen-ext/pyproject.toml +++ b/python/packages/autogen-ext/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "autogen-ext" -version = "0.7.1" +version = "0.7.2" license = {file = "LICENSE-CODE"} description = "AutoGen extensions library" readme = "README.md" @@ -15,7 +15,7 @@ classifiers = [ "Operating System :: OS Independent", ] dependencies = [ - "autogen-core==0.7.1", + "autogen-core==0.7.2", ] [project.optional-dependencies] @@ -32,7 +32,7 @@ docker = ["docker~=7.0", "asyncio_atexit>=1.0.1"] ollama = ["ollama>=0.4.7", "tiktoken>=0.8.0"] openai = ["openai>=1.93", "tiktoken>=0.8.0", "aiofiles"] file-surfer = [ - "autogen-agentchat==0.7.1", + "autogen-agentchat==0.7.2", "magika>=0.6.1rc2", "markitdown[all]~=0.1.0a3", ] @@ -50,21 +50,21 @@ mem0-local = [ "chromadb>=1.0.0" ] web-surfer = [ - "autogen-agentchat==0.7.1", + "autogen-agentchat==0.7.2", "playwright>=1.48.0", "pillow>=11.0.0", "magika>=0.6.1rc2", "markitdown[all]~=0.1.0a3", ] magentic-one = [ - "autogen-agentchat==0.7.1", + "autogen-agentchat==0.7.2", "magika>=0.6.1rc2", "markitdown[all]~=0.1.0a3", "playwright>=1.48.0", "pillow>=11.0.0", ] video-surfer = [ - "autogen-agentchat==0.7.1", + "autogen-agentchat==0.7.2", "opencv-python>=4.5", "ffmpeg-python", "openai-whisper", diff --git a/python/packages/autogen-studio/pyproject.toml b/python/packages/autogen-studio/pyproject.toml index d03f95e1f..72817ac21 100644 --- a/python/packages/autogen-studio/pyproject.toml +++ b/python/packages/autogen-studio/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools", "setuptools-scm"] -build-backend = "setuptools.build_meta" +requires = ["hatchling"] +build-backend = "hatchling.build" [project] name = "autogenstudio" @@ -17,7 +17,6 @@ classifiers = [ "Operating System :: OS Independent", ] - dependencies = [ "pydantic", "pydantic-settings", @@ -42,21 +41,19 @@ optional-dependencies = {web = ["fastapi", "uvicorn"], database = ["psycopg"]} dynamic = ["version"] -[tool.setuptools] -include-package-data = true +[tool.hatch.version] +path = "autogenstudio/version.py" +[tool.hatch.build.targets.wheel] +packages = ["autogenstudio"] -[tool.setuptools.dynamic] -version = {attr = "autogenstudio.version.VERSION"} -readme = {file = ["README.md"]} - -[tool.setuptools.packages.find] -include = ["autogenstudio*"] -exclude = ["*.tests*"] -namespaces = false - -[tool.setuptools.package-data] -"autogenstudio" = ["*.*"] +[tool.hatch.build.targets.sdist] +include = [ + "autogenstudio/**", +] +exclude = [ + "*.tests*", +] [tool.pytest.ini_options] filterwarnings = [ diff --git a/python/uv.lock b/python/uv.lock index de2fe47a1..4126560e1 100644 --- a/python/uv.lock +++ b/python/uv.lock @@ -469,7 +469,7 @@ wheels = [ [[package]] name = "autogen-agentchat" -version = "0.7.1" +version = "0.7.2" source = { editable = "packages/autogen-agentchat" } dependencies = [ { name = "autogen-core" }, @@ -480,7 +480,7 @@ requires-dist = [{ name = "autogen-core", editable = "packages/autogen-core" }] [[package]] name = "autogen-core" -version = "0.7.1" +version = "0.7.2" source = { editable = "packages/autogen-core" } dependencies = [ { name = "jsonref" }, @@ -573,7 +573,7 @@ dev = [ [[package]] name = "autogen-ext" -version = "0.7.1" +version = "0.7.2" source = { editable = "packages/autogen-ext" } dependencies = [ { name = "autogen-core" },