Add Pipenv configuration allowing installation of pre-releases #104825

Closed
opened 2024-06-12 14:05:48 +02:00 by Bart van der Braak · 2 comments

Currently there is an issue with Pipenv dependency resolution for pre-releases (see build #1717). Pipenv lockfile creation process prevents the installation of pre-release versions specified in the requirements file, which is default behavior (see docs). Since we added a new package sphinx-basic-ng in commit 4ec2c02, which only has pre-release versions, we need to be able to install it with Pipenv in our CI.

By setting allow_prereleases = true in the Pipfile or by added the --pre flag to pipenv install commands, pre-release versions can be installed successfully.

This issue is tracking that change for BuildBot.

Currently there is an issue with Pipenv dependency resolution for pre-releases (see [build #1717](https://builder.blender.org/admin/#/builders/32/builds/1717/steps/3/logs/stdio)). Pipenv lockfile creation process prevents the installation of pre-release versions specified in the requirements file, which is default behavior (see [docs](https://pipenv.pypa.io/en/latest/diagnose.html#your-dependencies-could-not-be-resolved)). Since we added a new package `sphinx-basic-ng` in commit [4ec2c02](https://projects.blender.org/blender/blender-manual/commit/4ec2c02cf3ec2190304032e356efce058683d069), which only has pre-release versions, we need to be able to install it with Pipenv in our CI. By setting `allow_prereleases = true` in the Pipfile or by added the `--pre` flag to `pipenv install` commands, pre-release versions can be installed successfully. This issue is tracking that change for BuildBot.
Author
Member

I have added --pre to the pipenv install specifically for doc-manual pipelines.

I have added `--pre` to the `pipenv install` specifically for doc-manual pipelines.
Author
Member

I deployed this change to the workers and successfully did a rebuild of #1720.

I deployed this change to the workers and successfully did a rebuild of [#1720](https://builder.blender.org/admin/#/builders/32/builds/1720).
Blender Bot added the
Status
Archived
label 2024-06-12 14:39:31 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-manual#104825
No description provided.