Skip to content

Fix requirements#26

Merged
suutari-ai merged 2 commits intomainfrom
fix-requirements
Mar 6, 2025
Merged

Fix requirements#26
suutari-ai merged 2 commits intomainfrom
fix-requirements

Conversation

@suutari-ai
Copy link
Member

Fix requirements to be compilable again and improve absolute path removal
in compile-requirements script.

Improve the path mangling part of compile-requirements so that it
doesn't leave absolute paths even to comments.  Regenerate the
requirements-dev.txt and requirements-siptools.txt files with this
change.
After the dpres-mets-builder and dpres-siptools-ng were added as
dependencies to passari pip-compile didn't know where to find them and
therefore wasn't able to recompile the requirements*.txt files.

Fix this issue by adding a "-c siptools-deps.txt" line to the
requirements.in where the siptools-deps.txt contains the all of the
siptools dependencies and their download locations.

Also modify the requirements-siptools.in to use that siptools-deps.txt
so that the same deps don't have to be specified in two places.

Additionally, regenerate the requirements*.txt with these changes.
@suutari-ai suutari-ai merged commit 109a985 into main Mar 6, 2025
1 check passed
@suutari-ai suutari-ai deleted the fix-requirements branch March 6, 2025 07:18
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

Comments