Skip to content

Commit

Permalink
net/cjdns: Unbreak build with python3.8+
Browse files Browse the repository at this point in the history
PR:		253815
Approved by:	python
  • Loading branch information
fluffykhv committed Mar 3, 2021
1 parent 5cd0391 commit 2f40ea7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions net/cjdns/files/patch-node__build_FindPython.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- node_build/FindPython.js.orig 2020-10-05 21:46:19 UTC
+++ node_build/FindPython.js
@@ -23,7 +23,7 @@ var Fs = require('fs');
// de-prioritize because the testing script accepts ANY python3 version
// (as of this writing, we don't know what python3 versions actually work)
// whereas we know that python2.7 is the only working python2 version.
-var PYTHONS = ["python3.7", "python3", "python2.7", "python2", "python"];
+var PYTHONS = ["python3.9", "python3.8", "python3.7", "python3", "python2.7", "python2", "python"];

var SCRIPT = [
'import sys',

0 comments on commit 2f40ea7

Please sign in to comment.