[Scons-users] SCons 3.0.0.alpha.20170614 available on testpypi

RW garlicbready at googlemail.com
Tue Jun 20 10:55:26 EDT 2017


At the moment they're not passing (At least on my machine). All tests that
use dir_fixture are currently breaking under windows for 3.0. I'll post a
test.log after I've finished running it


On 20 Jun 2017 15:08, "William Blevins" <wblevins001 at gmail.com> wrote:

Then how are the existing tests passing on Windows?

On Jun 20, 2017 5:57 AM, "RW via Scons-users" <scons-users at scons.org> wrote:

> Just to follow this looks like a windows only bug
> Linux doesn't seem to have this problem
>
> On 20 June 2017 at 10:20, RW <garlicbready at googlemail.com> wrote:
>
>> I think I've spotted another bug
>> I've recently tried to use fixtures in a test I'm working on (python27 /
>> win10)
>> This should use a sub directory of "image" relative to the test calling
>> it, but seems to fail
>> ```
>> test.dir_fixture('image')
>> ```
>>
>> Using a test already in the sources that uses test.dir_fixture to
>> demonstrate
>> Runs okay under 2.5.1, but fails under 3.0 alpha
>> ```
>> python runtest.py test\packaging\convenience-fun
>> ctions\convenience-functions.py
>> ```
>>
>> Failure message
>> ```
>> (testenv) D:\SourceControl\GitRepos\scons>python runtest.py
>> test\packaging\convenience-functions\convenience-functions.py
>> 1/1 (100.00%) D:\\SourceControl\\GitRepos\\s
>> cons\\testenv\\Scripts\\python.exe -tt test\packaging\convenience-fun
>> ctions\convenience-functions.py
>> Traceback (most recent call last):
>>   File "test\packaging\convenience-functions\convenience-functions.py",
>> line 36, in <module>
>>     test.dir_fixture( "image" )
>>   File "D:\SourceControl\GitRepos\scons\QMTest\TestCmd.py", line 1325,
>> in dir_fixture
>>     for entry in os.listdir(spath):
>> WindowsError: [Error 3] The system cannot find the path specified:
>> '\\SourceControl\\GitRepos\\scons\\test\\fixture\\image/*.*'
>> ```
>>
>> If I use a absolute directory path within the call to test.dir_fixture
>> then this seems to work okay
>>
>> Many Thanks
>> Richard
>>
>> On 14 June 2017 at 21:49, Bill Deegan <bill at baddogconsulting.com> wrote:
>>
>>> Greetings,
>>>
>>> This is an alpha quality release.
>>> It's the first version to support both python 3.5+, 2.7.x, and pypy.
>>> There have been 701 commits since the 2.5.1 release.
>>>
>>> Please report any issues to the scons-users mailing list.
>>> (See: http://scons.org/lists.html )
>>>
>>>
>>> You can download via:
>>> pip install -i https://testpypi.python.org/pypi scons
>>>
>>> Please do so in a virtualenv and not in your python distro.
>>>
>>> RELEASE 3.0.0.alpha.20170614 - Mon, 14 Jun 2017 12:23:56 -0400
>>>
>>>   Please consult the RELEASE.txt file for a summary of changes since the
>>> last
>>>   release and consult the CHANGES.txt file for complete a list of changes
>>>   since last release.  This announcement highlights only the important
>>>   changes.
>>>     Please note the following important changes since release 2.5.1:
>>>        *IT IS NOT READY FOR PRODUCTION USE*
>>>
>>>        This is the initial release supporting both python 3.5+ and 2.7.x
>>> and pypy
>>>        There are some important changes:
>>>
>>>        - Any print statements must now use python 3 syntax of "print()"
>>>        - All node content should be in bytes. This is the default in
>>> python 2.7.x,
>>>          in Python 3 all strings are by default unicode. byte and/or
>>> bytearray
>>>          should be used if you construct content for return by a custom
>>> node type's
>>>          get_content() method.
>>>        - This is some (as yet unresolved issue) using Literal()'s in
>>> some context with
>>>          Python 3
>>>        - pypy should be supported, please report any issues to the
>>> user's mailing list.
>>>        - Currently if you switch back and forth between python 2.7.x and
>>> 3.5+ you will
>>>          need to remove your sconsign file.  This should be resolves
>>> shortly, but
>>>          regardless switching between python 2.7.x and 3.5+ will not use
>>> compatible
>>>          sconsigns and as such incremental builds should be expected to
>>> rebuild
>>>          anything changed since the previous scons run with the same
>>> version of python.
>>>        - It is likely that migrating from 2.5.1 -> 3.0.0 alpha will
>>> cause rebuilds due
>>>          to the significant number of changes in the codebase.
>>>
>>>        - Removed deprecated tools CVS, Perforce, BitKeeper, RCS, SCCS,
>>> Subversion.
>>>        - Removed deprecated module SCons.Sig
>>>        - See CHANGES.txt for more details on other changes
>>>        - 3.0.0 should be slightly faster than 2.5.1.  Changes yielded a
>>> 15% speed up for
>>>          null incremental builds.
>>>        - Updated D language scanner support to latest: 2.071.1.
>>>        - python -m SCons should now run SCons if it's installed
>>> PYTHONPATH
>>>
>>>
>>>
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>
>>>
>>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
https://pairlist4.pair.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170620/9df4ecf8/attachment.html>


More information about the Scons-users mailing list