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
6
Merge Requests
6
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
slapos.buildout
Commits
e5df1377
Commit
e5df1377
authored
Mar 14, 2024
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] Fix tests after local version label support
parent
badedb8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/zc/buildout/tests/test_all.py
src/zc/buildout/tests/test_all.py
+2
-2
No files found.
src/zc/buildout/tests/test_all.py
View file @
e5df1377
...
@@ -2810,7 +2810,7 @@ def wont_downgrade_due_to_prefer_final():
...
@@ -2810,7 +2810,7 @@ def wont_downgrade_due_to_prefer_final():
If we install a non-final buildout version, we don't want to
If we install a non-final buildout version, we don't want to
downgrade just because we prefer-final. If a buildout version
downgrade just because we prefer-final. If a buildout version
isn't specified using a versions entry, then buildout's version
isn't specified using a versions entry, then buildout's version
requirement gets set to >=CURRENT_VERSION.
requirement gets set to >=
PUBLIC_PART_OF_
CURRENT_VERSION.
>>> write('buildout.cfg',
>>> write('buildout.cfg',
... '''
... '''
...
@@ -2823,7 +2823,7 @@ def wont_downgrade_due_to_prefer_final():
...
@@ -2823,7 +2823,7 @@ def wont_downgrade_due_to_prefer_final():
... if l.startswith('zc.buildout = >=')]
... if l.startswith('zc.buildout = >=')]
>>> v == pkg_resources.working_set.find(
>>> v == pkg_resources.working_set.find(
... pkg_resources.Requirement.parse('zc.buildout')
... pkg_resources.Requirement.parse('zc.buildout')
... ).
version
... ).
parsed_version.public
True
True
>>> write('buildout.cfg',
>>> write('buildout.cfg',
...
...
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