Skip to content

Copy config from latest utils before compiling requirements files - #4923

Merged
quis merged 1 commit into
mainfrom
copy-config-latest-utils
Jul 30, 2026
Merged

Copy config from latest utils before compiling requirements files#4923
quis merged 1 commit into
mainfrom
copy-config-latest-utils

Conversation

@quis

@quis quis commented Jul 24, 2026

Copy link
Copy Markdown
Member

We compile 2 different requirements files:

  • requirements.txt
  • requirements_for_test.txt

In order to know how to resolve dependencies when compiling these files we need to look at uv.toml, which is copied from utils.

In order to get utils we:

  1. compiled requirements.in into requirements.txt
  2. installed the dependencies (including utils) from requirements.txt

This means that at step 1 we were using whatever version of uv.toml was in the working dir. We then go on to compile
requirements_for_test.txt with (potentially) a different version of uv.toml.

This commit makes it so that installing the specified version of utils is the first step, before doing any compiling.

We compile 2 different requirements files:
- `requirements.txt`
- `requirements_for_test.txt`

In order to know how to resolve dependencies when compiling these files
we need to look at `uv.toml`, which is copied from utils.

In order to get utils we:
1. compiled `requirements.in` into `requirements.txt`
2. installed the dependencies (including utils) from `requirements.txt`

This means that at step 1 we were using whatever version of `uv.toml`
was in the working dir. We then go on to compile
`requirements_for_test.txt` with (potentially) a different version of
`uv.toml`.

This commit makes it so that installing the specified version of utils
is the first step, before doing any compiling.
@quis
quis merged commit 8983cc7 into main Jul 30, 2026
10 checks passed
@quis
quis deleted the copy-config-latest-utils branch July 30, 2026 13:23
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