Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 589680 Details for
Bug 693836
sys-apps/portage: emerge attempts downgrade to www-client/firefox-68.0.2 with conflicting libvpx versions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
unit test demonstrating the undesirable firefox downgrade
test_firefox_downgrade.py (text/x-python), 1.94 KB, created by
Zac Medico
on 2019-09-11 05:22:07 UTC
(
hide
)
Description:
unit test demonstrating the undesirable firefox downgrade
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2019-09-11 05:22:07 UTC
Size:
1.94 KB
patch
obsolete
># Copyright 2019 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >from portage.tests import TestCase >from portage.tests.resolver.ResolverPlayground import (ResolverPlayground, > ResolverPlaygroundTestCase) > >class SlotConflictUpdateVirtTestCase(TestCase): > > def testSlotConflictUpdateVirt(self): > > ebuilds = { > "www-client/firefox-69.0" : { > "EAPI": "7", > "RDEPEND": "=media-libs/libvpx-1.7*:0=[postproc] media-video/ffmpeg" > }, > > "www-client/firefox-60.9.0" : { > "EAPI": "7", > "RDEPEND": "" > }, > > "media-libs/libvpx-1.8.0" : { > "EAPI": "7", > "SLOT" : "0/6", > "IUSE": "postproc", > }, > > "media-libs/libvpx-1.7.0" : { > "EAPI": "7", > "SLOT" : "0/5", > "IUSE": "+postproc", > }, > > "media-libs/libvpx-1.5.0" : { > "EAPI": "7", > "SLOT" : "0/4", > "IUSE": "postproc", > }, > > "media-video/ffmpeg-4.2" : { > "EAPI": "7", > "RDEPEND": "media-libs/libvpx:=", > }, > } > > installed = { > "www-client/firefox-69.0" : { > "EAPI": "7", > "RDEPEND": "=media-libs/libvpx-1.7*:0/5=[postproc] media-video/ffmpeg" > }, > > "media-libs/libvpx-1.7.0" : { > "EAPI": "7", > "SLOT" : "0/5", > "IUSE": "+postproc", > "USE": "postproc", > }, > > "media-video/ffmpeg-4.2" : { > "EAPI": "7", > "RDEPEND": "media-libs/libvpx:0/5=", > }, > } > > world = ["www-client/firefox"] > > test_cases = ( > # Demonstrate bug 693836, where firefox is downgraded after > # an attempt to upgrade libvpx triggers a slot conflict. > ResolverPlaygroundTestCase( > ['@world'], > options = {"--update": True, "--deep": True}, > success = True, > mergelist = ['www-client/firefox-60.9.0']), > ) > > playground = ResolverPlayground(ebuilds=ebuilds, > installed=installed, world=world, debug=True) > try: > for test_case in test_cases: > playground.run_TestCase(test_case) > self.assertEqual(test_case.test_success, True, test_case.fail_msg) > finally: > playground.debug = False > playground.cleanup()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 693836
: 589680