[SERVER-58817] Ubuntu 20.04 "python3.7-dev" package is no more. Created: 26/Jul/21  Updated: 29/Oct/23  Resolved: 18/Aug/21

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

Type: Improvement Priority: Major - P3
Reporter: Paran Lee Assignee: Ryan Egesdahl (Inactive)
Resolution: Fixed Votes: 0
Labels: docs, pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by DOCS-14682 Build in Ubuntu "python3.7-dev" packa... Closed
Backwards Compatibility: Fully Compatible
Sprint: Dev Platform 2021-08-23
Participants:

 Description   

In my ubuntu 20.04 WSL2.
As follow build manual, when install package.
apt talk to me.

myubuntu@paranlee:~mongo$ sudo apt install python3.7-dev
[sudo] password for paranlee:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3.7-dev
E: Couldn't find any package by glob 'python3.7-dev'

I can find

myubuntu@paranlee:~mongo$ apt search python-dev-is-python3
Sorting... Done
Full Text Search... Done
python-dev-is-python3/focal,now 3.8.2-4 all [installed]
symlinks /usr/bin/python-config to python3-config

 

https://github.com/mongodb/mongo/pull/1407

This pull request is solve this issue.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 17/Aug/21 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-58817 Restore older Ubuntu/Debian python-dev install instructions
Branch: master
https://github.com/mongodb/mongo/commit/9a3fcb5a162fafd90ff20637821460b22c4af537

Comment by Ryan Egesdahl (Inactive) [ 17/Aug/21 ]

acm Ah! I apparently missed something important. It looks like the change is only effective for all current non LTS releases, except for Hirsute. I looked in packages.ubuntu.com and saw it had been backported all the way to Groovy, but for some reason it looks like it was never put in some distros between (including Bionic) for some odd reason. I'll have to add a bit of clarification, I think.

Comment by Andrew Morrow (Inactive) [ 17/Aug/21 ]

ryan.egesdahl - Great, thanks for confirming. I wasn't sure.

Comment by Ryan Egesdahl (Inactive) [ 17/Aug/21 ]

acm It’s true for all supported Ubuntu versions still receiving updates. The older python*-dev package is still available on some of them, but all have python-dev-is-python3 as a replacement.

Comment by Githook User [ 17/Aug/21 ]

Author:

{'name': 'Paran Lee', 'email': 'paran.lee@opencores.org', 'username': 'paranlee'}

Message: SERVER-58817 Direct users to install python-dev-is-python3 on Ubuntu

The `python3.7-dev` package is no more.
```
$ sudo apt install python3.7-dev
...
E: Unable to locate package python3.7-dev
E: Couldn't find any package by glob 'python3.7-dev'
```

We should direct the user to install python-dev-is-python3 instead:
```
$ apt search python-dev-is-python3
Sorting... Done
Full Text Search... Done
python-dev-is-python3/focal,now 3.8.2-4 all [installed]
symlinks /usr/bin/python-config to python3-config
```

Closes #1407

Signed-off-by: Ryan Egesdahl <ryan.egesdahl@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/b5c79abccab139ff29194038dd67e493faa5a9ef

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