Re: SCons 3.0, sconsign files and Py2 vs Py3.. how to handle sconsign imcompatabilities
Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org>
| Newsgroups | gmane.comp.programming.tools.scons.devel |
|---|---|
| Message-ID | <CAEyG4CF2XU4ipPfPhdGPk8oepexahOO=-oECVB+ube8y6HcDqA@mail.gmail.com> |
One thought would be to allow annotating the function with a specified csig. and/or version #. This would help (at least) for internal action functions (built in to scons). On Mon, Sep 11, 2017 at 10:23 AM, Tim Jenness <[email protected]> wrote: > > > On Sep 11, 2017, at 06:24, Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> > wrote: > > > > Likely the rebuild py2 vs py3 is the action signature for functions now > uses the bytecode. The bytecode is different between py2 and py3. > > > > Previously it was either pickling the function (which didn't adequately > check for changes in the python functions), or dumping the string > representation : > > <function a at 0x10e88fc80> > > For example. > > > > > > Sounds like this can’t be solved then. Release v3.0 with pickle 2 and tell > people there will be rebuilding if you flit between versions. > > — > Tim Jenness _______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev