-
Notifications
You must be signed in to change notification settings - Fork 7
Migrate website to uv #359
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
base: main
Are you sure you want to change the base?
Conversation
@@ -47,9 +47,15 @@ manually, you can install all package level dependencies with: | |||
|
|||
.. code-block:: console | |||
|
|||
$ poetry install | |||
$ uv pip install -r requirements.txt |
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.
The two updates in this section seem incorrect. The lockfile is checked in so always will be available, and we don't use the requirements file pattern here either way. Lockfiles are a better solution than requirements files anyways, so I think this can just always be uv sync
.
|
||
Using ``asdf`` is recommended but optional. The ``asdf`` commands below will | ||
install all system level dependencies for you, including Poetry. | ||
install all system level dependencies for you, including Python and Node.js. |
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.
asdf supports uv as well, so no need to special case that here.
install all system level dependencies for you, including Python and Node.js. | |
install all system level dependencies for you. |
@@ -1,3 +1,2 @@ | |||
nodejs 14.21.1 | |||
python 3.10.8 |
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.
uv
is supported by asdf
python 3.10.8 | |
python 3.10.8 | |
uv 0.7.8 |
built using a number of Node dependencies. | ||
|
||
You will need the following requirements: | ||
|
||
* Node.js version ``14`` | ||
* Python version ``3.10`` (any release ``>=3.6`` works) | ||
* Poetry version ``1.2`` (any release ``>=1.1`` works) | ||
* uv (see https://github.com/astral-sh/uv for installation instructions) |
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.
* uv (see https://github.com/astral-sh/uv for installation instructions) | |
* uv (Use ``asdf`` or see https://github.com/astral-sh/uv for installation instructions) |
📚 Documentation preview 📚: https://readthedocs-about--359.org.readthedocs.build/