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
Xavier Thompson
slapos.buildout
Commits
1a75bb53
Commit
1a75bb53
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
7b8fd04c
Changes
1
Hide 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 @
1a75bb53
...
@@ -2872,7 +2872,7 @@ def wont_downgrade_due_to_prefer_final():
...
@@ -2872,7 +2872,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',
... '''
... '''
...
@@ -2885,7 +2885,7 @@ def wont_downgrade_due_to_prefer_final():
...
@@ -2885,7 +2885,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