Page MenuHomePhabricator

[docs] Remove Python 2 installation steps
ClosedPublic

Authored by atul on May 16 2022, 12:47 PM.
Tags
None
Referenced Files
F3274089: D4059.diff
Sat, Nov 16, 6:26 AM
Unknown Object (File)
Thu, Nov 14, 8:08 PM
Unknown Object (File)
Thu, Nov 14, 8:08 PM
Unknown Object (File)
Sat, Nov 9, 11:40 AM
Unknown Object (File)
Sat, Nov 9, 11:40 AM
Unknown Object (File)
Sat, Nov 9, 11:40 AM
Unknown Object (File)
Fri, Nov 8, 8:07 AM
Unknown Object (File)
Tue, Nov 5, 1:56 AM

Details

Summary

We were previously including Python2 because it was needed as part of the sqlite3 build process and Python2 was removed from macOS as of 12.3.0

However, the sqlite3 npm package has recently been updated and this issue has been resolved.


Depends on D4055

Test Plan
  1. Remove Python 2
  2. Ensure that Python 2 is uninstalled by running which python and where python (Python 3 is python3)
  3. Run yarn cleaninstall and see if it succeeds

Log output from above steps: https://gist.github.com/atulsmadhugiri/20ce9839b5b6f9fb142b02078e0f7b18#file-yarn-cleaninstall-sans-python2

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.May 16 2022, 12:47 PM
atul edited the summary of this revision. (Show Details)

Before landing, can you create two tasks:

  1. One to remove the Python2 requirement (and defaulting python to Python2) from Nix (assign to Jon or Varun)
  2. Another for the same thing, but for Docker (assign to me)
This revision is now accepted and ready to land.May 16 2022, 1:45 PM

Before landing, can you create two tasks

Yeah, will do tomorrow morning before landing

One to remove the Python2 requirement (and defaulting python to Python2) from Nix (assign to Jon or Varun)

https://linear.app/comm/issue/ENG-1156/remove-python2-requirement-from-nix

Another for the same thing, but for Docker (assign to me)

https://linear.app/comm/issue/ENG-1157/remove-python2-requirement-from-docker

This revision was automatically updated to reflect the committed changes.