Skip to content

Commit 3202911

Browse files
docs: add solution for version conflicts with mystmd (platformdirs~=4.2.2) when installing afterpython
1 parent e02b050 commit 3202911

File tree

5 files changed

+115
-1528
lines changed

5 files changed

+115
-1528
lines changed

afterpython/doc/quickstart.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ uv add --dev afterpython
1515
ap init
1616
```
1717

18+
:::{tip} Troubleshooting
19+
For some reason, `mystmd` uses restrictive version constraints `"platformdirs~=4.2.2"` and `"nodeenv~=1.9.1"`.
20+
If you are having issues installing `afterpython` because of these version constraints, you can override them by adding the following to your `pyproject.toml` file:
21+
```toml
22+
[tool.uv]
23+
override-dependencies = ["platformdirs>=4.5.0", "nodeenv>=1.9.1"]
24+
```
25+
:::
26+
1827
After running `ap init`, the `afterpython/` directory is created and you can start writing content right away.
1928

2029
The structure of `afterpython/` is as follows:

0 commit comments

Comments
 (0)