Skip to content

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Migrate website to uv #359

wants to merge 4 commits into from

Conversation

ericholscher
Copy link
Member

@ericholscher ericholscher commented May 23, 2025

@ericholscher ericholscher requested a review from a team as a code owner May 23, 2025 17:55
@ericholscher ericholscher requested a review from agjohnson May 23, 2025 17:55
@@ -47,9 +47,15 @@ manually, you can install all package level dependencies with:

.. code-block:: console

$ poetry install
$ uv pip install -r requirements.txt
Copy link
Contributor

@agjohnson agjohnson May 27, 2025

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.
Copy link
Contributor

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.

Suggested change
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
Copy link
Contributor

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

Suggested change
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)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* 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)

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