From 458cf84506f4ff896b76ed61380db530f3e0bdaf Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Fri, 23 Oct 2026 11:23:31 -0400 Subject: [PATCH 1/2] Fix CI installation of the stub package --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81caf5a..4f3deca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,11 +32,11 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies + shell: bash run: | - python -m pip install pip==21.1.2 # last version that works for editable install + mypy python -m pip install pyside2 pytest mypy==${{ matrix.mypy-version }} - pip install -e . - pip list + python -m pip install . + python -m pip list - name: run tests run: | From 71ed4c3dfed4f85885f0df7cab5e8120db0580ca Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Fri, 23 Oct 2026 11:29:40 -0400 Subject: [PATCH 2/2] Include stub packages when building with older setuptools --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 8cd1a45..b0ce5ae 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,6 +19,9 @@ classifiers = Typing :: Stubs Only [options] +packages = + PySide2-stubs + shiboken2-stubs package_dir = PySide2-stubs = PySide2-stubs shiboken2-stubs = shiboken2-stubs