Skip to content

🐛 fix(api): restore public class definitions - #321

Merged
gaborbernat merged 1 commit into
tox-dev:mainfrom
gaborbernat:fix/public-class-module
Nov 13, 2026
Merged

gaborbernat merged 1 commit into
tox-dev:mainfrom
gaborbernat:fix/public-class-module

Conversation

@gaborbernat

@gaborbernat gaborbernat commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

The simplint adoption moved Index and IndexServer behind package re-exports. The classes remained importable from devpi_process, but their methods identified private modules and reported new source paths.

Both classes and their methods are defined in devpi_process again, restoring their original module and source identity. The package uses inline lint exceptions for these established definitions.

@gaborbernat gaborbernat added the bug Something isn't working label Nov 13, 2026
The simplint adoption moved Index and IndexServer into private modules.
Assigning __module__ on the classes alone left method introspection and
source paths changed. Define both classes at the package root again.
@gaborbernat
gaborbernat force-pushed the fix/public-class-module branch from d19c191 to e76eca6 Compare November 13, 2026 01:42
@gaborbernat gaborbernat changed the title 🐛 fix(api): preserve class module identity 🐛 fix(api): restore public class definitions Nov 13, 2026
@gaborbernat
gaborbernat merged commit f62e5a1 into tox-dev:main Nov 13, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant