[CDRIVER-3437] drop python-git from debian-package-build task Created: 21/Nov/19  Updated: 28/Oct/23  Resolved: 23/Nov/19

Status: Closed
Project: C Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 1.16.0

Type: Task Priority: Major - P3
Reporter: Roberto Sanchez Assignee: Roberto Sanchez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The debian-package-build task is now failing with this error:

E: Couldn't find these debs: python-git

Since python-git upstream has dropped support for Python 2 the Debian maintainers have dropped the python-git binary package. The solution is to switch to the python3-git package. This should most likely work by changing the package that installed and changing the python invocations in .evergreen/debian_package_build.sh over to python3.



 Comments   
Comment by Githook User [ 23/Nov/19 ]

Author:

{'name': 'Roberto C. Sánchez', 'username': 'rcsanchez97', 'email': 'roberto@connexer.com'}

Message: CDRIVER-3437 drop python-git from debian-package-build task
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/7f295f803b1ca8f832833ccd61ff90a6e57e6062

Comment by Roberto Sanchez [ 22/Nov/19 ]

I just realized that we removed the need for python-git (and python3-git, for that matter) when calling calc_release_version.py. The solution, then, is to just remove python-git from the apt-get install command.

Generated at Wed Feb 07 21:18:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.