[SERVER-84684] some pip modules do not define correct requirements Created: 09/Jan/24  Updated: 02/Feb/24

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Daniel Moody Assignee: Udita Bose
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Build
Backwards Compatibility: Fully Compatible
Sprint: Build and Correctness OnDeck
Participants:

 Description   

Poetry installs packages assuming the underlying packages correctly list all of there dependencies, however in some cases these packages assume things about the installation tools being used to install and do not list them as a dependency. This means poetry will not consider the underlying install tools in is dependency graph resolver and will install things out of order. This can be worked around on our side by update the installation tools before installing poetry.

This is mostly an issue on windows environments.

 

python3 -m pip install -U pip setuptools wheel virtualenv
python3 -m pip install poetry==1.5.1
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
python3 -m poetry install --no-root --sync

 


Generated at Thu Feb 08 06:55:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.