Skip to content

Remove build system#2

Merged
zanieb merged 1 commit intomainfrom
zb/build-system
Aug 28, 2024
Merged

Remove build system#2
zanieb merged 1 commit intomainfrom
zb/build-system

Conversation

@zanieb
Copy link
Member

@zanieb zanieb commented Aug 28, 2024

@zanieb
Copy link
Member Author

zanieb commented Aug 28, 2024

I was surprised this failed

❯ uv run app/main.py
Using Python 3.12.4 interpreter at: /opt/homebrew/opt/[email protected]/bin/python3.12
Removed virtual environment at: .venv
Creating virtualenv at: .venv
Installed 33 packages in 18ms
Traceback (most recent call last):
  File "/Users/zb/workspace/uv-fastapi-example/app/main.py", line 3, in <module>
    from .dependencies import get_query_token, get_token_header
ImportError: attempted relative import with no known parent package

but uv run fastapi dev works fine.

zanieb added a commit to astral-sh/uv that referenced this pull request Aug 28, 2024
@zanieb zanieb merged commit e777a3f into main Aug 28, 2024
zanieb added a commit that referenced this pull request Aug 28, 2024
* Remove build system (#2)

* Regenerate the project and lock with the latest uv version
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