-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: migrate from Poetry to uv #4822
Conversation
Thank you very much for working on this! As I mentioned in #4815 (comment) , I think this is the way to go. I'm not sure when I'll try this out and look at the details, but hopefully it won't take too long. Also, I'm curious if others decide to try it out in the meantime and see how well it works for them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docs: migrate from poetry to uv
Could you include a rationale in the commit message so the reader doesn't have to find the context somewhere else? (I haven't followed the discussion enough to know what the rationale is.)
Done |
It just links to our actual docs and repeats the passage from README. This should cause GitHub to have a "Contributing" tab on https://github.com/martinvonz/jj, which will make these instrictions a lot easier to find. This will also hopefully mean that more people read the instructions on our website rather than GitHub, which will be a somewhat nicer experience after #4822.
It just links to our actual docs and repeats the passage from README. This should cause GitHub to have a "Contributing" tab on https://github.com/martinvonz/jj, which will make these instrictions a lot easier to find. This will also hopefully mean that more people read the instructions on our website rather than GitHub, which will be a somewhat nicer experience after #4822.
It just links to our actual docs and repeats the passage from README. This should cause GitHub to have a "Contributing" tab on https://github.com/martinvonz/jj, which will make these instrictions a lot easier to find. This will also hopefully mean that more people read the instructions on our website rather than GitHub, which will be a somewhat nicer experience after #4822.
It just links to our actual docs and repeats the passage from README. This should cause GitHub to have a "Contributing" tab on https://github.com/martinvonz/jj, which will make these instrictions a lot easier to find. This will also hopefully mean that more people read the instructions on our website rather than GitHub, which will be a somewhat nicer experience after #4822.
It just links to our actual docs and repeats the passage from README. This should cause GitHub to have a "Contributing" tab on https://github.com/martinvonz/jj, which will make these instrictions a lot easier to find. This will also hopefully mean that more people read the instructions on our website rather than GitHub, which will be a somewhat nicer experience after #4822.
It just links to our actual docs and repeats the passage from README. This should cause GitHub to have a "Contributing" tab on https://github.com/martinvonz/jj, which will make these instrictions a lot easier to find. This will also hopefully mean that more people read the instructions on our website rather than GitHub, which will be a somewhat nicer experience after #4822.
It just links to our actual docs and repeats the passage from README. I find that I often automatically scan for a `CONTRIBUTING.md` file in the repo and get annoyed when it's hard to find. This should be helped by the previus commit, but this will hopefully go further in putting everyone on a road leading to Rome as quickly as possible. This will also hopefully mean that more people read the instructions on our website rather than GitHub, which will be a somewhat nicer experience after #4822.
It just links to our actual docs and repeats the passage from README. I find that I often automatically scan for a `CONTRIBUTING.md` file in the repo and get annoyed when it's hard to find. This should be helped by the previus commit, but this will hopefully go further in putting everyone on a road leading to Rome as quickly as possible. This will also hopefully mean that more people read the instructions on our website rather than GitHub, which will be a somewhat nicer experience after #4822.
It just links to our actual docs and repeats the passage from README. I find that I often automatically scan for a `CONTRIBUTING.md` file in the repo and get annoyed when it's hard to find. This should be helped by the previus commit, but this will hopefully go further in putting everyone on a road leading to Rome as quickly as possible. This will also hopefully mean that more people read the instructions on our website rather than GitHub, which will be a somewhat nicer experience after #4822.
People will often look for contributing instructions from https://github.com/martinvonz/jj, this makes it easier to find. It will also lead more people to read the contributing docs on the website as opposed to GitHub. This is becoming desireable, see the discussion at #4822 (comment)
523d85e
to
fce057d
Compare
Our docs are built with MkDocs, which requires Python and several deps. Previously those deps were managed with Poetry, which is also written in Python. This commit replaces Poetry with `uv`, a Rust-based Python project/package manager, and thus removes several steps from the docs build process. Before: <install Python> <install pipx> pipx install poetry poetry install poetry run -- mkdocs serve After: <install uv> uv run mkdocs serve
@ilyagr I addressed everything, please check again |
LG, I like the restructuring. |
Do you need any more help from my GitHub admin role? |
For this PR — no.For the “publish docs preview” PR — please create a new environment, eg “preview” or “site-preview” or smth, and move DOCS_DEPLOY_KEY into that environment. You can create a new key if you don’t have it anymore. This is so that only the docs workflow has access to the key.On 19 Nov 2024, at 18:09, Martin von Zweigbergk ***@***.***> wrote:
Do you need any more help from my GitHub admin role?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you very much!
Checklist
If applicable:
CHANGELOG.md
uv
is a fast Python project manager written in Rust. It can automatically install Python, or use a global version if it satisfies the projects requirements.After the switch, contributors don't need to install Python to build the docs. The single command
uv run mkdocs serve
will work.I also removed the Poetry-specific keyring workarounds. if someone uses the keyring to build the docs, I'd like them to try out this PR and report any issues.