Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
slapos.buildout
Commits
64ac43b1
Commit
64ac43b1
authored
May 08, 2020
by
Godefroid Chapelle
Committed by
Julien Muchembled
Sep 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shut up easy_install deprecation
parent
5985f242
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
testing.py
src/zc/buildout/testing.py
+5
-0
tests.py
src/zc/buildout/tests.py
+9
-0
tests.py
zc.recipe.egg_/src/zc/recipe/egg/tests.py
+3
-0
No files found.
src/zc/buildout/testing.py
View file @
64ac43b1
...
...
@@ -554,3 +554,8 @@ ignore_not_upgrading = (
re
.
compile
(
'Not upgrading because not running a local buildout command.
\n
'
),
''
)
easy_install_deprecated
=
(
re
.
compile
(
'WARNING: The easy_install command is deprecated and will be removed in a future version.
\n
'
),
''
)
src/zc/buildout/tests.py
View file @
64ac43b1
...
...
@@ -3567,6 +3567,7 @@ def test_suite():
zc
.
buildout
.
testing
.
normalize_script
,
zc
.
buildout
.
testing
.
normalize_egg_py
,
zc
.
buildout
.
testing
.
not_found
,
zc
.
buildout
.
testing
.
easy_install_deprecated
,
zc
.
buildout
.
testing
.
adding_find_link
,
# (re.compile(r"Installing 'zc.buildout >=\S+"), ''),
(
re
.
compile
(
r'__buildout_signature__ = recipes-\S+'
),
...
...
@@ -3610,6 +3611,7 @@ def test_suite():
zc
.
buildout
.
testing
.
normalize_script
,
zc
.
buildout
.
testing
.
normalize_egg_py
,
zc
.
buildout
.
testing
.
not_found
,
zc
.
buildout
.
testing
.
easy_install_deprecated
,
zc
.
buildout
.
testing
.
adding_find_link
,
# (re.compile(r"Installing 'zc.buildout >=\S+"), ''),
# (re.compile(r"Getting distribution for 'zc.buildout >=\S+"),
...
...
@@ -3647,6 +3649,7 @@ def test_suite():
zc
.
buildout
.
testing
.
normalize_endings
,
zc
.
buildout
.
testing
.
normalize_exception_type_for_python_2_and_3
,
zc
.
buildout
.
testing
.
not_found
,
zc
.
buildout
.
testing
.
easy_install_deprecated
,
zc
.
buildout
.
testing
.
adding_find_link
,
(
re
.
compile
(
'zc.buildout.buildout.MissingOption'
),
'MissingOption'
),
...
...
@@ -3670,6 +3673,7 @@ def test_suite():
zc
.
buildout
.
testing
.
normalize_script
,
zc
.
buildout
.
testing
.
normalize_egg_py
,
zc
.
buildout
.
testing
.
not_found
,
zc
.
buildout
.
testing
.
easy_install_deprecated
,
zc
.
buildout
.
testing
.
adding_find_link
,
normalize_bang
,
normalize_S
,
...
...
@@ -3700,6 +3704,7 @@ def test_suite():
zc
.
buildout
.
testing
.
normalize_open_in_generated_script
,
zc
.
buildout
.
testing
.
adding_find_link
,
zc
.
buildout
.
testing
.
not_found
,
zc
.
buildout
.
testing
.
easy_install_deprecated
,
normalize_bang
,
normalize_S
,
(
re
.
compile
(
r'[-d] setuptools-\S+[.]egg'
),
'setuptools.egg'
),
...
...
@@ -3723,6 +3728,7 @@ def test_suite():
checker
=
renormalizing
.
RENormalizing
([
zc
.
buildout
.
testing
.
normalize_exception_type_for_python_2_and_3
,
zc
.
buildout
.
testing
.
not_found
,
zc
.
buildout
.
testing
.
easy_install_deprecated
,
zc
.
buildout
.
testing
.
adding_find_link
,
(
re
.
compile
(
' at -?0x[^>]+'
),
'<MEM ADDRESS>'
),
(
re
.
compile
(
'http://localhost:[0-9]{4,5}/'
),
...
...
@@ -3743,6 +3749,7 @@ def test_suite():
zc
.
buildout
.
testing
.
normalize_egg_py
,
zc
.
buildout
.
testing
.
normalize___pycache__
,
zc
.
buildout
.
testing
.
not_found
,
zc
.
buildout
.
testing
.
easy_install_deprecated
,
zc
.
buildout
.
testing
.
normalize_exception_type_for_python_2_and_3
,
zc
.
buildout
.
testing
.
adding_find_link
,
normalize_bang
,
...
...
@@ -3791,6 +3798,7 @@ def test_suite():
zc
.
buildout
.
testing
.
normalize_script
,
zc
.
buildout
.
testing
.
normalize_egg_py
,
zc
.
buildout
.
testing
.
not_found
,
zc
.
buildout
.
testing
.
easy_install_deprecated
,
zc
.
buildout
.
testing
.
adding_find_link
,
(
re
.
compile
(
r'__buildout_signature__ = recipes-\S+'
),
'__buildout_signature__ = recipes-SSSSSSSSSSS'
),
...
...
@@ -3827,6 +3835,7 @@ def test_suite():
zc
.
buildout
.
testing
.
normalize_endings
,
zc
.
buildout
.
testing
.
normalize_script
,
zc
.
buildout
.
testing
.
not_found
,
zc
.
buildout
.
testing
.
easy_install_deprecated
,
normalize_bang
,
zc
.
buildout
.
testing
.
adding_find_link
,
(
re
.
compile
(
'Downloading.*setuptools.*egg
\n
'
),
''
),
...
...
zc.recipe.egg_/src/zc/recipe/egg/tests.py
View file @
64ac43b1
...
...
@@ -50,6 +50,7 @@ def test_suite():
zc
.
buildout
.
tests
.
normalize_bang
,
zc
.
buildout
.
tests
.
normalize_S
,
zc
.
buildout
.
testing
.
not_found
,
zc
.
buildout
.
testing
.
easy_install_deprecated
,
(
re
.
compile
(
r'[d-] zc.buildout(-\S+)?[.]egg(-link)?'
),
'zc.buildout.egg'
),
(
re
.
compile
(
r'[d-] setuptools-[^-]+-'
),
'setuptools-X-'
),
...
...
@@ -65,6 +66,7 @@ def test_suite():
zc
.
buildout
.
testing
.
normalize_path
,
zc
.
buildout
.
testing
.
normalize_endings
,
zc
.
buildout
.
testing
.
not_found
,
zc
.
buildout
.
testing
.
easy_install_deprecated
,
(
re
.
compile
(
'__buildout_signature__ = '
r'sample-\S+\s+'
r'zc.recipe.egg-\S+\s+'
...
...
@@ -86,6 +88,7 @@ def test_suite():
zc
.
buildout
.
testing
.
normalize_path
,
zc
.
buildout
.
testing
.
normalize_endings
,
zc
.
buildout
.
testing
.
not_found
,
zc
.
buildout
.
testing
.
easy_install_deprecated
,
(
re
.
compile
(
"(d ((ext)?demo(needed)?|other)"
r"-\d[.]\d-py)\d[.]\d(-\S+)?[.]egg"
),
'
\\
1V.V.egg'
),
...
...
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