Skip to content

Python: Packaging fixes#1056

Merged
eavanvalkenburg merged 4 commits into
microsoft:mainfrom
eavanvalkenburg:packaging_fixes
Oct 1, 2025
Merged

Python: Packaging fixes#1056
eavanvalkenburg merged 4 commits into
microsoft:mainfrom
eavanvalkenburg:packaging_fixes

Conversation

@eavanvalkenburg

Copy link
Copy Markdown
Member

Motivation and Context

Some fixes that came out of testing publish:

  • removed lab from dependencies of meta package
  • setup build and publish as poe tasks
  • setup metadata for meta package
  • set homepage url to aka.ms link

Description

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

Copilot AI review requested due to automatic review settings October 1, 2025 11:34
@markwallace-microsoft markwallace-microsoft added python Usage: [Issues, PRs], Target: Python lab labels Oct 1, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR focuses on packaging improvements for the Python Agent Framework, specifically preparing the packages for publication. The changes include removing lab package from dependencies, setting up build/publish tasks, adding metadata, and standardizing homepage URLs.

  • Removed agent-framework-lab from meta package dependencies
  • Added build and publish tasks using flit and uv tools
  • Updated all package homepage URLs to use aka.ms shortlink

Reviewed Changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
python/shared_tasks.toml Added build, publish, and clean-dist tasks
python/pyproject.toml Enhanced metadata, removed lab dependency, added build/publish tasks
python/packages/*/pyproject.toml Updated homepage URLs to aka.ms shortlink
python/packages/lab/pyproject.toml Added skip build/publish tasks
python/packages/core/agent_framework/devui/init.pyi Added type stub file for devui module
python/docs/generate_docs.py Changed boolean config values from True/False to 1/0
python/LICENSE Added MIT license file

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread python/pyproject.toml Outdated
Comment thread python/docs/generate_docs.py
@markwallace-microsoft

markwallace-microsoft commented Oct 1, 2025

Copy link
Copy Markdown
Contributor

Python Test Coverage

Python Test Coverage Report •
FileStmtsMissCoverMissing
TOTAL10113179582% 
report-only-changed-files is enabled. No files were changed during this commit :)

Python Unit Test Overview

Tests Skipped Failures Errors Time
1174 95 💤 0 ❌ 0 🔥 32.288s ⏱️

@eavanvalkenburg eavanvalkenburg added this pull request to the merge queue Oct 1, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 1, 2025
@eavanvalkenburg eavanvalkenburg added this pull request to the merge queue Oct 1, 2025
Merged via the queue into microsoft:main with commit 2575e8c Oct 1, 2025
25 checks passed
ReubenBond pushed a commit to ReubenBond/agent-framework that referenced this pull request Oct 28, 2025
* small updates to setup

* post1

* reset version

* updated package status
Arturo-Quiroga-MSFT pushed a commit to Arturo-Quiroga-MSFT/agent-framework-public that referenced this pull request Nov 23, 2025
* small updates to setup

* post1

* reset version

* updated package status
test-gaia = "pytest gaia/tests --cov=agent_framework_lab_gaia --cov-report=term-missing:skip-covered"
test-lightning = "pytest lightning/tests --cov=agent_framework_lab_lightning --cov-report=term-missing:skip-covered"
test-tau2 = "pytest tau2/tests --cov=agent_framework_lab_tau2 --cov-report=term-missing:skip-covered"
build = "echo 'Skipping build'"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@eavanvalkenburg do you remember why this override was added? We haven't published the lab package in about 6 months.

@moonbox3 moonbox3 removed the lab label Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants