Patchwork D6415: rust-python3: useless python2 specific import

login
register
mail settings
Submitter phabricator
Date May 21, 2019, 6:09 p.m.
Message ID <differential-rev-PHID-DREV-pudgudugmmupqmmo55d4-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/40166/
State Superseded
Headers show

Comments

phabricator - May 21, 2019, 6:09 p.m.
gracinet created this revision.
Herald added subscribers: mercurial-devel, kevincox, durin42.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  This python27_sys import prevents building with python3,
  it had been previously removed in https://phab.mercurial-scm.org/rHGa5fa9140ce4c48f9b852bb88e0e11ef9b00267df, but that
  has been since pruned

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6415

AFFECTED FILES
  rust/hg-cpython/src/lib.rs

CHANGE DETAILS




To: gracinet, #hg-reviewers
Cc: durin42, kevincox, mercurial-devel

Patch

diff --git a/rust/hg-cpython/src/lib.rs b/rust/hg-cpython/src/lib.rs
--- a/rust/hg-cpython/src/lib.rs
+++ b/rust/hg-cpython/src/lib.rs
@@ -23,7 +23,6 @@ 
 extern crate cpython;
 extern crate hg;
 extern crate libc;
-extern crate python27_sys;
 
 pub mod ancestors;
 mod cindex;