Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #842994

autogen.sh to work when 'python' is not available but 'python3' is

Added by Marko Lindqvist about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Bootstrap
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Debian based distributions are no longer installing python2 by default. It has been providing /usr/bin/python whereas python3 provides /usr/bin/python3. We should not require 'python' that is synonymous for python2, but should accept also python3.

History

#2 Updated by Marko Lindqvist about 1 year ago

  • Status changed from Resolved to In Progress

Then again autogen.sh check is there to make sure our python scripts will run when needed, and despite the fact that the scripts are python2/python3 agnostic, their shebang is #!/bin/python so in a way we do depend on python2.
A proper solution probably won't happen before 2.6.2.

#3 Updated by Marko Lindqvist about 1 year ago

Attached patches just require python3 in S3_0/master. There's no solution for S2_6 yet.

#4 Updated by Marko Lindqvist about 1 year ago

  • Status changed from Resolved to In Progress

master/S3_0 pushed, S2_6 remains open.

#5 Updated by Marko Lindqvist about 1 year ago

  • Status changed from In Progress to Resolved

Existing msys1 and msys2 environments for S2_6 have python3 available. Python2 is soon going completely EOL. At this point I'm for simply applying S3_0 patch to S2_6 too.

#6 Updated by Marko Lindqvist about 1 year ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF