Project

Profile

Help

Bug #6563

open

Missing py stubs in saxonche (12.5)

Added by Yannick Einsweiler 7 days ago. Updated 7 days ago.

Status:
New
Priority:
Normal
Category:
Python Build
Start date:
2024-10-18
Due date:
% Done:

100%

Estimated time:
Applies to branch:
12
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.5
Fixed in version:
SaxonC Languages:
Python
SaxonC Platforms:
All
SaxonC Architecture:
x86_64

Description

SaxonC 12.5 Python wheels do not include the stubs, which are essential for IDEs to provide autocompletion, type inference, and better code assistance.

Stubs (.pyi files) are required when the library is a compiled C extension, or IDEs like PyCharm can't properly infer types, methods, or classes, making development harder due to the lack of autocomplete and reference resolution.


Related issues

Copied from SaxonC - Bug #6277: How to build saxonche 12 under Windows?ClosedO'Neil Delpratt2023-12-03

Actions
Actions #1

Updated by Yannick Einsweiler 7 days ago

  • Copied from Bug #6277: How to build saxonche 12 under Windows? added
Actions #2

Updated by Yannick Einsweiler 7 days ago

Luckily someone created a separate package for that saxonche-stubs (https://pypi.org/project/saxonche-stubs/#description) but it's a subset and could become outdated. Ideally, the stubs should be part of the main library distribution.

Actions #3

Updated by O'Neil Delpratt 7 days ago

  • SaxonC Platforms All added
  • SaxonC Platforms deleted (Linux)

Thanks for creating this bug issue. Yes this is something we should do and is on our todo list.

Please register to edit this issue

Also available in: Atom PDF