Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399655 - www-client/pybugz should RDEPEND on dev-lang/python[ssl]
Summary: www-client/pybugz should RDEPEND on dev-lang/python[ssl]
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-22 00:25 UTC by Matthew Millar
Modified: 2012-04-25 17:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
bugz search bugz + traceback (bugz-search,1006 bytes, text/plain)
2012-01-22 00:30 UTC, Matthew Millar
Details
bugz -b http://bugs.gentoo.org search bugz + traceback (bugz-search-b,1.50 KB, text/plain)
2012-01-22 00:33 UTC, Matthew Millar
Details
bugz -b http://bugs.gentoo.org --skip-auth search bugz + traceback (bugz-search-b-skip_auth,1.42 KB, text/plain)
2012-01-22 00:36 UTC, Matthew Millar
Details
pybugz ebuild inc. RDEPEND python[ssl] (pybugz-0.9.3-r1.ebuild,1.28 KB, patch)
2012-01-22 00:45 UTC, Matthew Millar
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Millar 2012-01-22 00:25:00 UTC
pybugz ebuild currently doesn't require python[ssl], but bugz is unable to perform a search, or estabilish a connection to https://bugs.gentoo.org, without python:2.7[ssl] support. - see bugz-search attachment

I have attempted to override the https default with -b http://bugs.gentoo.org, but a 302 is returned, causing python to request the original https address - see bugz-search-b

Using the --skip-auth, with the hope that the 302 would be avoided also fails to evade the problem - see bugz-search-b-skip_auth

Please can you add python:2.7[ssl] RDEPEND to any pybugz ebuilds

Thanks

Reproducible: Always

Steps to Reproduce:
1.USE="-ssl" emerge python:2.7
2.emerge pybugz
3.bugz search bugz

Actual Results:  
ensure python:2.7 is emerged without ssl support.

execute "bugz search bugz"

python fails to handle the https request, and a traceback is generated

Expected Results:  
HTTP is used where possible, e.g. search, and features which require python:2.7[ssl] e.g. logining in, creating bugs?, etc, return an error stating that python needs to be recompiled with ssl support.

or a temporary fix:
python is required to have ssl support, and bugz runs over https for all features, without bother.

Bugz functionality should be seperated, http or https dependant features, and a "minimal" IUSE should be added to the ebuild, with RDEPEND !minimal python:2.7[ssl].

Gentoo bugzilla shouldn't require https when it's not necessary or beneficial.
Comment 1 Matthew Millar 2012-01-22 00:30:15 UTC
Created attachment 299473 [details]
bugz search bugz + traceback
Comment 2 Matthew Millar 2012-01-22 00:33:53 UTC
Created attachment 299475 [details]
bugz -b http://bugs.gentoo.org search bugz + traceback
Comment 3 Matthew Millar 2012-01-22 00:36:08 UTC
Created attachment 299477 [details]
bugz -b http://bugs.gentoo.org --skip-auth search bugz + traceback
Comment 4 Matthew Millar 2012-01-22 00:45:40 UTC
Created attachment 299479 [details, diff]
pybugz ebuild inc. RDEPEND python[ssl]
Comment 5 William Hubbs gentoo-dev 2012-01-24 19:17:01 UTC
I'm not sure that requiring ssl is the fix we want, because that isn't
really accurate.

Gentoo's bugzilla forces ssl; pybugz doesn't require it to operate.
Comment 6 William Hubbs gentoo-dev 2012-04-25 17:34:40 UTC
The issue is not with the pybugz software. Gentoo's bugzilla forces ssl,
not pybugz, so I'm not comfortable with a hard requirement of ssl for
pybugz.