Skip to content

added tests and fastapi typed version - #186

Merged
ulises-jeremias merged 5 commits into
Create-Python-App:mainfrom
PUSHPAK-JAISWAL:main
Jul 17, 2026
Merged

added tests and fastapi typed version#186
ulises-jeremias merged 5 commits into
Create-Python-App:mainfrom
PUSHPAK-JAISWAL:main

Conversation

@PUSHPAK-JAISWAL

Copy link
Copy Markdown
Contributor

Summary
This PR fixes local template scaffolding when using Windows-style file URLs such as file:///E:/... for template sources.

What changed
Updated local file URL parsing in the core path resolver
Fixed handling of Windows drive-letter paths so local templates resolve correctly
Added regression tests covering Windows-style file URLs
Why
Previously, Windows-based file URLs were parsed incorrectly, causing local template scaffolding to fail when pointing to a template from a local checkout.

Testing
Added regression tests for Windows file URL handling
Verified the relevant test suite passes
Smoke-tested scaffolding with a local typed FastAPI template

Closes#185

ulises-jeremiasand others added 4 commits July 16, 2026 23:36
CI does not have a sibling cpa-templates tree; keep the typed-starter
assertion for local/dev checkouts only.
Co-authored-by: Cursor <cursoragent@cursor.com>
That catalog entry lives in cpa-templates#45 and is not on main yet; keep
this PR focused on Windows file:// path resolution + unit tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@ulises-jeremias
ulises-jeremias merged commit 857d916 into Create-Python-App:mainJul 17, 2026
8 checks passed
Sign up for freeto 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.

Support Windows local file URLs for template scaffolding

2 participants

@PUSHPAK-JAISWAL@ulises-jeremias