swig/.github/workflows
William S Fulton f06d86749c [Python] Fix empty classes and imported bases in .pyi files
A generated stub class with no wrapped members had an empty suite, which
is invalid Python syntax. Stubs could also refer to base classes from
%imported modules without importing the corresponding Python proxy
module, leaving those names unresolved.

Track whether each stub class emits a member and use an ellipsis when
its body would otherwise be empty. Collect modules referenced through
%import and emit them before declarations, using the same package and
relative import rules as the generated Python proxy.

Keep annotation tests active with -pyi by parsing annotations from the
generated stub instead of expecting them on runtime objects. Include
each generated .pyi file in multi-module Pyrefly checks.

Add Python 3.14 Linux CI configurations for -pyi -typehints with and
without -builtin.

See #3473.

Assisted-by: Codex (GPT-5.6 Sol)
2026-08-04 23:41:57 +01:00
..
cmake.yml Improve YML (#3482) 2026-06-23 15:29:25 +01:00
linux.yml [Python] Fix empty classes and imported bases in .pyi files 2026-08-04 23:41:57 +01:00
macos.yml add lua 5.5 on ubuntu testing 2026-07-11 23:05:36 +01:00
windows.yml [CI] Update setup-msvc-dev to v4 to drop the Node.js 20 warning 2026-08-01 09:42:44 +01:00