Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/install-aiida-core/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
version: 0.7.6
version: 0.9.8
python-version: ${{ inputs.python-version }}
activate-environment: true

Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ build:
# https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-uv
pre_create_environment:
- asdf plugin add uv
- asdf install uv 0.7.6
- asdf global uv 0.7.6
- asdf install uv 0.9.8
- asdf global uv 0.9.8
create_environment:
# Create a virtual environment in '.venv/' folder
# which is picked up automatically by `uv sync` and `uv run` commands below
Expand Down
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,12 @@ commands = molecule {posargs:test}
"""

[tool.uv]
# NOTE: When you bump the minimum uv version, you also need to change it in:
# We specify a minimum uv version so that the format of uv.lock file
# does not change depending on uv version that a particular developer has installed.
# The uv.lock format is versioned, using the "version" and "revision" fields in uv.lock,
# and the minimum version here should be the first one that introduced a given version/revision.
# NOTE: When you bump the minimum uv version, you might also need to change it in:
# .pre-commit-config.yaml
# .github/actions/install-aiida-core/action.yml
# .readthedocs.yml
required-version = ">=0.7.0"
required-version = ">=0.8.4"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Different from 0.9.7 used in the other places? Why this minimum required version here?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I added the following comment, let me know if it makes things clearer:

# We specify a minimum uv version so that the format of uv.lock file
# does not change depending on uv version that a particular developer has installed.
# The uv.lock format is versioned, using the "version" and "revision" fields in uv.lock,
# and the minimum version here should be the first one that introduced a given version/revision.

Loading
Loading