From 310bb215df207be3a329c80fcfecaed715fdf5f4 Mon Sep 17 00:00:00 2001 From: feder-cr <85809106+feder-cr@users.noreply.github.com> Date: Fri, 3 Jul 2026 21:15:20 +0200 Subject: [PATCH] Allow the invisible-core git dependency to install Hatchling refuses a direct-reference dependency (invisible-core @ git+...) unless allow-direct-references is opted in, so a clean pip install from git failed at metadata generation. Enable it so the wrapper installs. --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index a79a4e7..6a38c8c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,12 @@ invisible-playwright = "invisible_playwright.cli:main" Homepage = "https://github.com/feder-cr/invisible_playwright" Issues = "https://github.com/feder-cr/invisible_playwright/issues" +[tool.hatch.metadata] +# invisible-core is pinned by a direct git reference (see [project].dependencies). +# Hatchling refuses direct references unless this is opted in — without it a clean +# `pip install git+.../invisible_playwright` fails at metadata generation. +allow-direct-references = true + [tool.hatch.build.targets.wheel] packages = ["src/invisible_playwright"] exclude = ["*.bak", "*-bak"]