Skip to content

Switch to absolute URLs in readmes so links aren't broken on PyPI.#105

Merged
erikrose merged 1 commit into
mainfrom
erik/beta-readme-fixes
Jun 2, 2026
Merged

Switch to absolute URLs in readmes so links aren't broken on PyPI.#105
erikrose merged 1 commit into
mainfrom
erik/beta-readme-fixes

Conversation

@erikrose
Copy link
Copy Markdown
Member

@erikrose erikrose commented Jun 2, 2026

Also add a conditional quick-start step to install Flask or Bottle, because our examples fail at build time when those aren't around.

Also add a conditional quick-start step to install Flask or Bottle, because our examples fail at build time when those aren't around.
@erikrose erikrose requested a review from posborne June 2, 2026 00:28
Comment thread README.md
```
```
pip install Bottle
```
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should really avoid having users do pip install steps at all in favor of having dependencies be modeled in pyproject.toml for relevant examples and pushing uv; I glossed over the pip instructions on first read and think it is detrimental given our prior decision to make uv the paved path and the greater importance of having an isolated virtualenv or similar for targeting the wasm environment.

The manual steps listed are likely to go away in favor of templates for a better getting-started experience, but even then I think as-is, this is probably pushing users down a suboptimal path. Even though there's pretty good flexibility in terms of how things can be done, I think it may be better to document as if use of uv is what is to be used.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine. I wrote it in terms of pip because I have 20 years of acclimation to putting (and seeing) it in install instructions, and I expected most customers to create a venv implicitly (and those who wouldn't to just get confused by one). But I like your writeup, especially its explanation of each step. We will have to be sure and hold people's hands w.r.t. uv throughout all our docs (e.g. always saying uv run fastly-compute-py), as pip is still the modal path in the community and will turn up in general "what the heck's broken?" searches.

@erikrose
Copy link
Copy Markdown
Member Author

erikrose commented Jun 2, 2026

Merging to get the fixes that aren't subsumed by #108.

@erikrose erikrose merged commit e013011 into main Jun 2, 2026
1 check passed
@erikrose erikrose deleted the erik/beta-readme-fixes branch June 2, 2026 13:58
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.

2 participants