Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos.buildout
Commits
a154fe74
Commit
a154fe74
authored
Jan 29, 2017
by
Jim Fulton
Committed by
GitHub
Jan 29, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #324 from buildout/python-3.6
Python 3.6
parents
6f9fb57a
a704f719
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
17 deletions
+20
-17
.travis.yml
.travis.yml
+1
-0
CHANGES.rst
CHANGES.rst
+2
-0
setup.py
setup.py
+1
-0
src/zc/buildout/bootstrap.txt
src/zc/buildout/bootstrap.txt
+11
-11
src/zc/buildout/testing_bugfix.txt
src/zc/buildout/testing_bugfix.txt
+3
-4
zc.recipe.egg_/src/zc/recipe/egg/README.rst
zc.recipe.egg_/src/zc/recipe/egg/README.rst
+1
-1
zc.recipe.egg_/src/zc/recipe/egg/tests.py
zc.recipe.egg_/src/zc/recipe/egg/tests.py
+1
-1
No files found.
.travis.yml
View file @
a154fe74
...
@@ -3,6 +3,7 @@ env:
...
@@ -3,6 +3,7 @@ env:
-
PYTHON_VER=2.7
-
PYTHON_VER=2.7
-
PYTHON_VER=3.4
-
PYTHON_VER=3.4
-
PYTHON_VER=3.5
-
PYTHON_VER=3.5
-
PYTHON_VER=3.6
sudo
:
false
sudo
:
false
cache
:
cache
:
...
...
CHANGES.rst
View file @
a154fe74
...
@@ -6,6 +6,8 @@ Change History
...
@@ -6,6 +6,8 @@ Change History
-
Updated
to
work
with
the
latest
setuptools
.
-
Updated
to
work
with
the
latest
setuptools
.
-
Added
(
verified
)
Python
3.6
support
.
2.5.3
(
2016
-
09
-
05
)
2.5.3
(
2016
-
09
-
05
)
==================
==================
...
...
setup.py
View file @
a154fe74
...
@@ -103,6 +103,7 @@ setup(
...
@@ -103,6 +103,7 @@ setup(
'Programming Language :: Python :: 3'
,
'Programming Language :: Python :: 3'
,
'Programming Language :: Python :: 3.4'
,
'Programming Language :: Python :: 3.4'
,
'Programming Language :: Python :: 3.5'
,
'Programming Language :: Python :: 3.5'
,
'Programming Language :: Python :: 3.6'
,
'Topic :: Software Development :: Build Tools'
,
'Topic :: Software Development :: Build Tools'
,
'Topic :: Software Development :: Libraries :: Python Modules'
,
'Topic :: Software Development :: Libraries :: Python Modules'
,
],
],
...
...
src/zc/buildout/bootstrap.txt
View file @
a154fe74
...
@@ -93,11 +93,11 @@ Let's make sure the generated ``buildout`` script uses it::
...
@@ -93,11 +93,11 @@ Let's make sure the generated ``buildout`` script uses it::
Now trying the ``--setuptools-version`` option, that lets you define a version
Now trying the ``--setuptools-version`` option, that lets you define a version
for ``setuptools``.
for ``setuptools``.
Now let's try with ``3
3.1.1
``, which happens to exist::
Now let's try with ``3
1.0.0
``, which happens to exist::
>>> print_('X'); print_(system(
>>> print_('X'); print_(system(
... zc.buildout.easy_install._safe_arg(sys.executable)+' '+
... zc.buildout.easy_install._safe_arg(sys.executable)+' '+
... 'bootstrap.py --setuptools-version 3
3.1.1
')); print_('X')
... 'bootstrap.py --setuptools-version 3
1.0.0
')); print_('X')
... # doctest: +ELLIPSIS
... # doctest: +ELLIPSIS
X...Generated script '/sample/bin/buildout'...X
X...Generated script '/sample/bin/buildout'...X
...
@@ -107,7 +107,7 @@ Let's make sure the generated ``buildout`` script uses it::
...
@@ -107,7 +107,7 @@ Let's make sure the generated ``buildout`` script uses it::
#...
#...
sys.path[0:0] = [
sys.path[0:0] = [
'/sample/eggs/zc.buildout-...egg',
'/sample/eggs/zc.buildout-...egg',
'/sample/eggs/setuptools-3
3.1.1
...egg'...
'/sample/eggs/setuptools-3
1.0.0
...egg'...
]...
]...
Now let's try specifying both ``zc.buildout`` and ``setuptools`` to versions
Now let's try specifying both ``zc.buildout`` and ``setuptools`` to versions
...
@@ -115,7 +115,7 @@ which happens to exist::
...
@@ -115,7 +115,7 @@ which happens to exist::
>>> print_('X'); print_(system(
>>> print_('X'); print_(system(
... zc.buildout.easy_install._safe_arg(sys.executable)+' '+
... zc.buildout.easy_install._safe_arg(sys.executable)+' '+
... 'bootstrap.py --setuptools-version 3
3.1.1
--buildout-version 2.0.0')); print_('X')
... 'bootstrap.py --setuptools-version 3
1.0.0
--buildout-version 2.0.0')); print_('X')
... # doctest: +ELLIPSIS
... # doctest: +ELLIPSIS
X...Generated script '/sample/bin/buildout'...X
X...Generated script '/sample/bin/buildout'...X
...
@@ -125,7 +125,7 @@ Let's make sure the generated ``buildout`` script uses it::
...
@@ -125,7 +125,7 @@ Let's make sure the generated ``buildout`` script uses it::
#...
#...
sys.path[0:0] = [
sys.path[0:0] = [
'/sample/eggs/zc.buildout-2.0.0...egg',
'/sample/eggs/zc.buildout-2.0.0...egg',
'/sample/eggs/setuptools-3
3.1.1
...egg'...
'/sample/eggs/setuptools-3
1.0.0
...egg'...
]...
]...
For a completely offline install we want to avoid downloading ``ez_setup.py``,
For a completely offline install we want to avoid downloading ``ez_setup.py``,
...
@@ -140,24 +140,24 @@ specify the setuptools version, and to reuse the setuptools zipfile::
...
@@ -140,24 +140,24 @@ specify the setuptools version, and to reuse the setuptools zipfile::
... '''print("Using local ez_setup.py")
... '''print("Using local ez_setup.py")
... ''' + ez_setup.decode('ascii'))
... ''' + ez_setup.decode('ascii'))
>>> os.path.exists('setuptools-
14.3
.zip')
>>> os.path.exists('setuptools-
32.1.0
.zip')
False
False
>>> print_('X'); print_(system(
>>> print_('X'); print_(system(
...
zc.buildout.easy_install._safe_arg(sys.executable)+' '+
... zc.buildout.easy_install._safe_arg(sys.executable)+' '+
...
'bootstrap.py --setuptools-version 14.3
--buildout-version 2.0.0 '+
...
'bootstrap.py --setuptools-version 32.1.0
--buildout-version 2.0.0 '+
...
'--setuptools-to-dir .')); print_('X')
... '--setuptools-to-dir .')); print_('X')
... # doctest: +ELLIPSIS
... # doctest: +ELLIPSIS
X...Using local ez_setup.py...Generated script '/sample/bin/buildout'...X
X...Using local ez_setup.py...Generated script '/sample/bin/buildout'...X
>>> os.path.exists('setuptools-
14.3
.zip')
>>> os.path.exists('setuptools-
32.1.0
.zip')
True
True
>>> print_(open(buildout_script).read()) # doctest: +ELLIPSIS
>>> print_(open(buildout_script).read()) # doctest: +ELLIPSIS
#...
#...
sys.path[0:0] = [
sys.path[0:0] = [
'/sample/eggs/zc.buildout-2.0.0...egg',
'/sample/eggs/zc.buildout-2.0.0...egg',
'/sample/eggs/setuptools-
14.3
...egg'...
'/sample/eggs/setuptools-
32.1.0
...egg'...
]...
]...
You can ask ``bootstrap.py`` for its version. This is really the day the last
You can ask ``bootstrap.py`` for its version. This is really the day the last
...
...
src/zc/buildout/testing_bugfix.txt
View file @
a154fe74
...
@@ -15,7 +15,7 @@ The handers before calling set up are:
...
@@ -15,7 +15,7 @@ The handers before calling set up are:
>>> len(logging.getLogger().handlers)
>>> len(logging.getLogger().handlers)
1
1
>>> logging.getLogger().handlers # doctest: +ELLIPSIS
>>> logging.getLogger().handlers # doctest: +ELLIPSIS
[<
zope...testrunner.logsupport.NullHandler ... at
...>]
[<
...NullHandler
...>]
After calling it, a ``logging.StreamHandler`` was added:
After calling it, a ``logging.StreamHandler`` was added:
...
@@ -27,8 +27,7 @@ After calling it, a ``logging.StreamHandler`` was added:
...
@@ -27,8 +27,7 @@ After calling it, a ``logging.StreamHandler`` was added:
>>> len(logging.getLogger().handlers)
>>> len(logging.getLogger().handlers)
2
2
>>> logging.getLogger().handlers # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
>>> logging.getLogger().handlers # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
[<zope...testrunner.logsupport.NullHandler ... at ...>,
[<...NullHandler...StreamHandler...>]
<logging.StreamHandler ... at ...>]
But tear down removes the new logging handler:
But tear down removes the new logging handler:
...
@@ -36,4 +35,4 @@ But tear down removes the new logging handler:
...
@@ -36,4 +35,4 @@ But tear down removes the new logging handler:
>>> len(logging.getLogger().handlers)
>>> len(logging.getLogger().handlers)
1
1
>>> logging.getLogger().handlers # doctest: +ELLIPSIS
>>> logging.getLogger().handlers # doctest: +ELLIPSIS
[<
zope...testrunner.logsupport.NullHandler ... at
...>]
[<
...NullHandler
...>]
zc.recipe.egg_/src/zc/recipe/egg/README.rst
View file @
a154fe74
...
@@ -224,7 +224,7 @@ the bits if the path added to reflect the eggs:
...
@@ -224,7 +224,7 @@ the bits if the path added to reflect the eggs:
... """).replace('>>> ', '').replace('... ', ''), end='')
... """).replace('>>> ', '').replace('... ', ''), end='')
... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
demo-0.2-py2.4.egg
demo-0.2-py2.4.egg
demoneeded-1.1-py2.4.egg
demoneeded-1.1-py2.4.egg
...
Egg updating
Egg updating
------------
------------
...
...
zc.recipe.egg_/src/zc/recipe/egg/tests.py
View file @
a154fe74
...
@@ -89,7 +89,7 @@ def test_suite():
...
@@ -89,7 +89,7 @@ def test_suite():
(re.compile("(d ((ext)?demo(needed)?|other)"
(re.compile("(d ((ext)?demo(needed)?|other)"
"-
\
d[.]
\
d-py)
\
d[.]
\
d(-
\
S+)?[.]egg
"
),
"-
\
d[.]
\
d-py)
\
d[.]
\
d(-
\
S+)?[.]egg
"
),
'
\\
1
V
.
V
.
egg
'),
'
\\
1
V
.
V
.
egg
'),
(re.compile('
extdemo
.
c
\
n
.
+
\\
extdemo
.
exp
\
n
'), ''),
(re.compile('
extdemo
.
c
\
n
.
+
\\
\\
extdemo
.
exp
\
n
'), ''),
(re.compile(
(re.compile(
r'
zip_safe
flag
not
set
;
analyzing
archive
contents
.
*
\
n
'),
r'
zip_safe
flag
not
set
;
analyzing
archive
contents
.
*
\
n
'),
''),
''),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment