You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think mtools and mtools[mlaunch] should have the same acceptable dependency versions?
Actual/current behavior
I can install mtools+pymongo 4.1:
serene2% pip install mtools==1.7 pymongo==4.1
Defaulting to user installation because normal site-packages is not writeable
Collecting mtools==1.7
Downloading mtools-1.7.0-py3-none-any.whl (2.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 20.4 MB/s eta 0:00:00
Collecting pymongo==4.1
Downloading pymongo-4.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (469 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 469.9/469.9 KB 27.9 MB/s eta 0:00:00
Installing collected packages: mtools, pymongo
Attempting uninstall: pymongo
Found existing installation: pymongo 3.12.0
Uninstalling pymongo-3.12.0:
Successfully uninstalled pymongo-3.12.0
Successfully installed mtools-1.7.0 pymongo-4.1.0
However if I request mtools[mlaunch] + pymongo 4.1 I get an error:
serene2% pip install mtools'[mlaunch]'==1.7 pymongo==4.1
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: mtools[mlaunch]==1.7 in /home/w/.local/lib/python3.9/site-packages (1.7.0)
Requirement already satisfied: pymongo==4.1 in /home/w/.local/lib/python3.9/site-packages (4.1.0)
ERROR: Cannot install mtools[mlaunch]==1.7.0 and pymongo==4.1 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested pymongo==4.1
mtools[mlaunch] 1.7.0 depends on pymongo<4.0.0 and >=3.12.2; extra == "mlaunch"
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Steps to reproduce the actual/current behavior
pip install as per the above command
Environment
Debian Linux
Software
Version
mtools
1.7.0
Python
3.9.12
MongoDB server
n/a
Operating system
Debian Linux testing
The text was updated successfully, but these errors were encountered:
Expected behavior
I think mtools and mtools[mlaunch] should have the same acceptable dependency versions?
Actual/current behavior
I can install mtools+pymongo 4.1:
However if I request mtools[mlaunch] + pymongo 4.1 I get an error:
Steps to reproduce the actual/current behavior
pip install
as per the above commandEnvironment
Debian Linux
The text was updated successfully, but these errors were encountered: