Skip to content

Release 0.0.36 - #55

Merged
Apakottur merged 2 commits into
mainfrom
fix/wheel-packaging
Jul 10, 2026
Merged

Release 0.0.36#55
Apakottur merged 2 commits into
mainfrom
fix/wheel-packaging

Conversation

@Apakottur

@Apakottur Apakottur commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Fix the release configuration which was broken when we switched from poetry to uv, and try another release.

Apakottur and others added 2 commits July 10, 2026 14:03
The uv migration (#50) moved the package from `shpyx/` to a flat `src/`
directory but left `packages = ["shpyx"]`, so hatchling found no package and
0.0.35 shipped only dist-info with no importable code.

Adopt the standard src-layout (`src/shpyx/`), which hatchling auto-detects
from the project name (no `packages` config needed). Internal imports are now
relative, and tests import the installed `shpyx` package rather than `src`, so
a broken wheel would fail the test run instead of silently releasing.

Bumps to 0.0.36 to release the fix.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Switch package-internal imports to absolute (`from shpyx.errors import ...`)
and set flake8-tidy-imports `ban-relative-imports = "all"` so ruff enforces it
(TID252 only bans parent-relative imports by default, which is why `from .x`
was not flagged).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Apakottur Apakottur changed the title Fix empty wheel: adopt src/shpyx layout Release 0.0.36 Jul 10, 2026
@Apakottur
Apakottur merged commit bc22395 into main Jul 10, 2026
22 checks passed
@Apakottur
Apakottur deleted the fix/wheel-packaging branch July 10, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant