[SERVER-58419] Mongodb 3.6.17 package asks for Python2 as dependency Created: 12/Jul/21  Updated: 26/Jul/21  Resolved: 26/Jul/21

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

Type: Question Priority: Minor - P4
Reporter: Azhar Yousuf Assignee: Edwin Zhou
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Problem Statement/Rationale

As per the heading in our environment we have Python3 deployed but when we tried to install mongo 3.6.17 it fails with the following error message

[root@vm01 ~]# yum install mongodb-org
Repository 'Custom-Repository' is missing name in configuration, using id.
Repository 'updates' is missing name in configuration, using id.
Custom-Repository 77 MB/s | 1.0 MB 00:00
Last metadata expiration check: 0:00:01 ago on Mon 12 Jul 2021 09:42:33 AM UTC.
Error:
Problem: package mongodb-org-3.6.17-1.el8.x86_64 requires mongodb-org-server = 3.6.17, but none of the providers can be installed

  • conflicting requests
  • nothing provides python2 needed by mongodb-org-server-3.6.17-1.el8.x86_64
    (try to add '-skip-broken' to skip uninstallable packages or '-nobest' to use not only best candidate packages)

Is there any specific reason why the mongo package is looking for python2 and not use Python3. We know that mongo 3.6 is EOL and we also verified that mongo works with 4.x on Python3 systems. This is a specific case where we need mongo 3.6 to work on Python3 systems , so please let us know if this version compatibility works properly

[root@vm01 ~]# python3 --version
Python 3.6.8

Thanks and Regards,
Azhar

Steps to Reproduce

Try to install mongo 3.6.17 on Python3 deployed systems

Expected Results

Mongo 3.6.17 should install properly on Python3 systems

Actual Results

Mongodb is not installing and its asking for Python2 as a dependency package

Additional Notes

Any additional information that may be useful to include.



 Comments   
Comment by Edwin Zhou [ 26/Jul/21 ]

Hi rizwiazhar@gmail.com,

Thanks for your report. At this time, we have no plans to backport python3 compatibility to MongoDB v3.6 given its EOL status. In order to introduce this compatibility, we would need to schedule another release for 3.6, which is very unlikely to occur in the future. I'll go ahead and close this ticket.

Best,
Edwin

Comment by Anna Henningsen [ 12/Jul/21 ]

rizwiazhar@gmail.com This JIRA project is about mongosh, a replacement for the old mongo shell, and not related to the database server’s packages.

Maybe this is a question better suited for https://developer.mongodb.com/community/forums/ ?

Generated at Thu Feb 08 05:44:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.