[Distutils] disable building wheel for a package

2018-09-12 Thread sashk
Hi, With latest version of pip, it now forces to build wheel for every package, which causes incompatibilities (due to use of data_files and copying into not standard path) . I've attempted to add --binary=:all: --no-binary mypackage to the pip command, but it did not help. Only solution I found i

[Distutils] Re: disable building wheel for a package

2018-09-12 Thread Nathaniel Smith
On Wed, Sep 12, 2018, 09:53 sashk wrote: > Hi, > > With latest version of pip, it now forces to build wheel for every > package, which causes incompatibilities (due to use of data_files and > copying into not standard path) . I've attempted to add --binary=:all: > --no-binary mypackage to the pip

[Distutils] SEC: Spectre variant 2: GCC: -mindirect-branch=thunk -mindirect-branch-register

2018-09-12 Thread Wes Turner
Should C extensions that compile all add `-mindirect-branch=thunk -mindirect-branch-register` [1] to mitigate the risk of Spectre variant 2 (which does indeed affect user space applications as well as kernels)? [1] https://github.com/speed47/spectre-meltdown-checker/issues/119#issuecomment-3614322

[Distutils] Re: disable building wheel for a package

2018-09-12 Thread Paul Moore
On Wed, 12 Sep 2018 at 18:33, Nathaniel Smith wrote: > > On Wed, Sep 12, 2018, 09:53 sashk wrote: >> >> Hi, >> >> With latest version of pip, it now forces to build wheel for every package, >> which causes incompatibilities (due to use of data_files and copying into >> not standard path) . I've

[Distutils] Re: SEC: Spectre variant 2: GCC: -mindirect-branch=thunk -mindirect-branch-register

2018-09-12 Thread Joni Orponen
On Wed, Sep 12, 2018 at 8:48 PM Wes Turner wrote: > Should C extensions that compile all add > `-mindirect-branch=thunk -mindirect-branch-register` [1] to mitigate the > risk of Spectre variant 2 (which does indeed affect user space applications > as well as kernels)? > Are those available on GC

[Distutils] Re: SEC: Spectre variant 2: GCC: -mindirect-branch=thunk -mindirect-branch-register

2018-09-12 Thread Wes Turner
On Wednesday, September 12, 2018, Joni Orponen wrote: > On Wed, Sep 12, 2018 at 8:48 PM Wes Turner wrote: > >> Should C extensions that compile all add >> `-mindirect-branch=thunk -mindirect-branch-register` [1] to mitigate the >> risk of Spectre variant 2 (which does indeed affect user space ap

[Distutils] Re: SEC: Spectre variant 2: GCC: -mindirect-branch=thunk -mindirect-branch-register

2018-09-12 Thread Wes Turner
"What is a retpoline and how does it work?" https://stackoverflow.com/questions/48089426/what-is-a-retpoline-and-how-does-it-work On Wednesday, September 12, 2018, Wes Turner wrote: > On Wednesday, September 12, 2018, Joni Orponen > wrote: > >> On Wed, Sep 12, 2018 at 8:48 PM Wes Turner wrote:

[Distutils] Re: disable building wheel for a package

2018-09-12 Thread sashk
  I agree with Nathaniel - the correct solution is to fix your packageso that can be built as a wheel which correctly installs as you wish.If that's not possible due to limitations in the wheel format or thewheel building process, please file issues explaining your use caseand the problems you're h