From 39d6889b8b1b6fb8e2a85dfa4498292191ddbbd1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 07:02:55 +0000 Subject: [PATCH 1/3] Initial plan From 659b01fbbd241a6287b09cf82a8ee3da709deefc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 07:04:27 +0000 Subject: [PATCH 2/3] Fix pyproject.toml: add build-system and project sections for editable installs Agent-Logs-Url: https://github.com/microsoft/FLAML/sessions/c14543a0-cc16-4a5a-9d4d-c8163a6e56e5 Co-authored-by: thinkall <3197038+thinkall@users.noreply.github.com> --- pyproject.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 33cf99d1df..051f8b9cad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,16 @@ +[build-system] +requires = ["setuptools>=64", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "FLAML" +dynamic = ["version", "description", "readme", "dependencies", "optional-dependencies", "classifiers"] +requires-python = ">=3.10" +license = { file = "LICENSE" } + +[tool.setuptools.dynamic] +version = { attr = "flaml.version.__version__" } + [metadata] license_file = "LICENSE" description-file = "README.md" From 000dd594e2e8becb1c53360e6543d26334c2fa0c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Apr 2026 12:54:02 +0000 Subject: [PATCH 3/3] Fix pyproject.toml: use legacy backend, remove project table and non-standard metadata section Agent-Logs-Url: https://github.com/microsoft/FLAML/sessions/df35ec46-67c3-4ab9-8949-700102d5b1a7 Co-authored-by: thinkall <3197038+thinkall@users.noreply.github.com> --- pyproject.toml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 051f8b9cad..36b9b056cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,19 +1,6 @@ [build-system] requires = ["setuptools>=64", "wheel"] -build-backend = "setuptools.build_meta" - -[project] -name = "FLAML" -dynamic = ["version", "description", "readme", "dependencies", "optional-dependencies", "classifiers"] -requires-python = ">=3.10" -license = { file = "LICENSE" } - -[tool.setuptools.dynamic] -version = { attr = "flaml.version.__version__" } - -[metadata] -license_file = "LICENSE" -description-file = "README.md" +build-backend = "setuptools.build_meta:__legacy__" [tool.pytest.ini_options] addopts = '-m "not conda"'